User tests: Successful: Unsuccessful:
Pull Request for Issue #18289
Do not call MenuRules::preprocess
twice per query link if SEO settings Search Engine Friendly URLs
is off.
See issue #18289
After line 63 add debug to see difference after patch:
static $i=0;$i++;$this->router->app->enqueueMessage("$i: " . print_r($query, 1));
Method is called only once per query link.
Method is called twice.
No
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
Due to lack of interest, I close it.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-02 12:02:10 |
Closed_By | ⇒ | csthomas | |
Labels |
Added:
?
|
If you re-open it, I will test it on tomorrow.
OK, one more chance:)
Status | Closed | ⇒ | New |
Closed_Date | 2018-09-02 12:02:10 | ⇒ | |
Closed_By | csthomas | ⇒ |
Status | New | ⇒ | Pending |
Any news?
@csthomas Just so you know, I looked at the PR but could not understand why it's called twice and don't know if it's safe to remove one call yet, will try to spend time to look at it later (just leave the PR opens here, even if I don't understand, I will just test it as an end-user and report the test result back)
I will just test it as an end-user and report the test result back
@joomdonation any news?
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-17 08:52:17 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Some things take longer... thanks
@csthomas I don't think this is needed in J4 with the way SiteRouter has been reworked and therefore didn't port it over with the merge conflicts. But if you disagree please can you set up a fresh pull request with info and I'll be happy to merge it with the tests from here. I'm not 100% on this as I'm not 100% where the duplicate call comes from in the current code
In j4 we don't have the buildRawRoute()
anymore so the check can be removed.
I have tested this item✅ successfully on 3d12c95
Before:
After: