Inherit Itemid from current URL if option matches#19498
Inherit Itemid from current URL if option matches#19498OctavianC wants to merge 1 commit intojoomla:stagingfrom
Conversation
|
Imho, that PR #19099 was wrong to begin with and tried to fix an "issue" which actually is a misconfigured site. From my understanding it allows URLs to be generated without any Itemid, which is plain wrong. So while this PR here tries to fix an issue, reverting the original PR likely still is better. |
|
+1 for reverting the original PR |
|
@goncatin please mark your Test as successfully:
|
|
I have tested this item ✅ successfully on e4a5bc6 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19498. |
|
I have tested this item ✅ successfully on e4a5bc6 AFTER APPLY PATCH PHP Version 7.1.9 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19498. |
|
Ready to Commit after two successful tests. |
|
I am going to remove the RTC for the moment as it is not yet clear is the entire original pr needs to be reverted and not just this part |
|
I have tested this item 🔴 unsuccessfully on e4a5bc6 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19498. |
|
@OctavianC perhaps you could update your PR and add all changes to revert? |
|
I'd love to but it's not up to me at this point - see #19504 |
|
can you provide more information on your unsuccessful test ? |
|
rreset to pending depending on revert #19512 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19498. |
|
Closed as the routing changes have been reverted for 3.8.5 with #19512 |
Pull Request for Issue #19497 .
Summary of Changes
Due to #19099 URLs no longer inherit Itemid. They SHOULD if the option matches, otherwise that PR introduced a B/C change and all URLs should be passed to
JRoute::_()without specifyingoptionto keep this compatible (eg.index.php?view=testinstead ofindex.php?option=com_test&view=test)Testing Instructions
See #19497