-
-
Notifications
You must be signed in to change notification settings - Fork 825
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#1637 regression fix on WP urls #16713
Conversation
…ests." This is currently causing breakage on wordpress sites where clean urls are not enabled. Compare the 2 urls below - the top one has an extra (breaking) slash added by this PR. I propose a quick revert & patch release followed by 'the right' fix at a slower pace /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext This reverts commit 232fdd3.
(Standard links)
|
@eileenmcnaughton I did an Looks good to merge edit: just noticed the failing tests. I am not sure how username could be related, but the prevnext may be. It does not correct https://lab.civicrm.org/dev/core/issues/1637 |
PR @eileenmcnaughton civicrm/civicrm-core#16713 Overview Reverts a change in 5.23 that is causing url breakage on WP when clean urls are not enabled (https://lab.civicrm.org/dev/core/issues/1637) and possibly Joomla but still checking that (https://lab.civicrm.org/dev/financial/issues/120) Before Generated url is /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext After Generated url is /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext Technical Details Revert "Make $civicrm_paths less sensitive to trailing slashes. Add t…ests." This is currently causing breakage on wordpress sites where clean urls are not enabled. Compare the 2 urls below - the top one has an extra (breaking) slash added by this PR. I propose a quick revert & patch release followed by 'the right' fix at a slower pace /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext This reverts commit 232fdd3. This is the relevant line https://github.com/civicrm/civicrm-core/pull/16404/files#diff-1544096e8e60bfe9fe73eeca2844804eR223
PR @eileenmcnaughton civicrm/civicrm-core#16713 Overview Reverts a change in 5.23 that is causing url breakage on WP when clean urls are not enabled (https://lab.civicrm.org/dev/core/issues/1637) and possibly Joomla but still checking that (https://lab.civicrm.org/dev/financial/issues/120) Before Generated url is /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext After Generated url is /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext Technical Details Revert "Make $civicrm_paths less sensitive to trailing slashes. Add t…ests." This is currently causing breakage on wordpress sites where clean urls are not enabled. Compare the 2 urls below - the top one has an extra (breaking) slash added by this PR. I propose a quick revert & patch release followed by 'the right' fix at a slower pace /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext This reverts commit 232fdd3. This is the relevant line https://github.com/civicrm/civicrm-core/pull/16404/files#diff-1544096e8e60bfe9fe73eeca2844804eR223
PR @eileenmcnaughton civicrm/civicrm-core#16713 Overview Reverts a change in 5.23 that is causing url breakage on WP when clean urls are not enabled (https://lab.civicrm.org/dev/core/issues/1637) and possibly Joomla but still checking that (https://lab.civicrm.org/dev/financial/issues/120) Before Generated url is /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext After Generated url is /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext Technical Details Revert "Make $civicrm_paths less sensitive to trailing slashes. Add t…ests." This is currently causing breakage on wordpress sites where clean urls are not enabled. Compare the 2 urls below - the top one has an extra (breaking) slash added by this PR. I propose a quick revert & patch release followed by 'the right' fix at a slower pace /wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext This reverts commit 232fdd3. This is the relevant line https://github.com/civicrm/civicrm-core/pull/16404/files#diff-1544096e8e60bfe9fe73eeca2844804eR223
I've just cleared caches and this may fix https://lab.civicrm.org/dev/core/issues/1637 Would appreciate another person testing |
Also when Clean URLs are enabled. |
Patch works after CiviCRM caches cleared as @kcristiano says. |
Unrelated test fails. Merging per review comments. |
Overview
Reverts a change in 5.23 that is causing url breakage on WP when clean urls are not enabled (https://lab.civicrm.org/dev/core/issues/1637) and possibly Joomla but
still checking that (https://lab.civicrm.org/dev/financial/issues/120)
Before
Generated url is
/wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext
After
Generated url is /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext
Technical Details
Revert "Make $civicrm_paths less sensitive to trailing slashes. Add t…ests."
This is currently causing breakage on wordpress sites where clean urls are not enabled.
Compare the 2 urls below - the top one has an extra (breaking) slash added by this PR.
I propose a quick revert & patch release followed by 'the right' fix at a slower pace
/wp-admin/admin.php/?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext
/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fupgrade%2Fqueue%2Fajax%2FrunNext
This reverts commit 232fdd3.
This is the relevant line https://github.com/civicrm/civicrm-core/pull/16404/files#diff-1544096e8e60bfe9fe73eeca2844804eR223
Comments