Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#1615 - Fix for recently migrated civicrm-setup #16621

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

totten
Copy link
Member

@totten totten commented Feb 24, 2020

Overview

Fix a recent (intra-alpha) regression from #16618

The search for civicrm-setup goes slightly awry because the migrated copy of civicrm-setup uses the core's classloader rather than its own classloader.

Steps to Reproduce

  • Create a site with WP and Civi(master).
  • Ensure Civi is uninstalled. (ex: cv core:uninstall -f)
  • In wp-content/plugins/civicrm/civicrm, touch the file .use-civicrm-setup.
    (This is supposed to activate the new UI.)
  • Go to the WP admin console. In the left navbar, choose "CiviCRM Installer".

Before

It fails to load the new UI -- the search finds .use-civicrm-setup but does not find civicrm-setup-autoload.php. It falls back to the old UI.

After

It opens the new UI.

Overview
--------

Fix a recent (intra-alpha) regression from civicrm#16618

The search for `civicrm-setup` goes slightly awry because the migrated copy of civicrm-setup uses
the core's classloader rather than its own classloader.

Steps to Reproduce
------------------

* Create a site with WP and Civi(master).
* Ensure Civi is uninstalled. (ex: `cv core:uninstall -f`)
* In `wp-content/plugins/civicrm/civicrm`, touch the file `.use-civicrm-setup`.
  (*This is supposed to activate the new UI.*)
* Go to the WP admin console. In the left navbar, choose "CiviCRM Installer".

Before
------

It fails to load the new UI -- the search finds `.use-civicrm-setup` but does not
find `civicrm-setup-autoload.php`. It falls back to the old UI.

After
-----

It opens the new UI.
@civibot
Copy link

civibot bot commented Feb 24, 2020

(Standard links)

@yashodha
Copy link
Contributor

test this please

@colemanw colemanw merged commit 71f84e0 into civicrm:master Feb 24, 2020
@totten totten deleted the master-setup-autoload branch February 24, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants