User tests: Successful: Unsuccessful:
the same query is executed once
no duplicated queries
duplicate queries one of them is this one
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_categories |
Labels |
Added:
?
|
from my personal pov is explained in declaration Cached array of the category item id.
but if you feel that renaming is better .... the pr branch is public....
The return values are different.
Before PR:
array(2) {
["fr-FR"]=>
string(18) "11:categorie-fr-fr"
["es-ES"]=>
string(18) "12:categoria-es-es"
}
After PR:
array(2) {
["fr-FR"]=>
string(2) "11"
["es-ES"]=>
string(2) "12"
}
I have tested this item
Notice: Undefined variable: assocId in /Applications/MAMP/htdocs/installmulti/trunkgitnew/administrator/components/com_categories/helpers/categories.php on line 135
Warning: implode(): Invalid arguments passed in /Applications/MAMP/htdocs/installmulti/trunkgitnew/administrator/components/com_categories/helpers/categories.php on line 135
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND published
= 1 AND access
IN (1,1,5)' at line 3
Test instructions should be updated.
This PR (after last correction) is checking duplicate queries of associated categories, NOT category menu items.
We can indeed associate category menu items without ever associating the categories concerned.
Therefore, to test, one should not associate the menu items, only the categories concerned.
Needs totally new tests.
updated
Needs totally new tests.
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Title |
|
@HLeithner please a final response
1 year old rtc pr
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-10 12:49:38 |
Closed_By | ⇒ | HLeithner | |
Labels |
Removed:
J3 Issue
|
What do you think about renaming
$filters
to something like$cachedAssociations
? Perhaps, it will be clearer, what is stored inside.