Notes |
|
(0000220)
|
Dmitry
|
2009-08-03 15:38
|
|
|
|
(0000529)
|
alex
|
2009-09-23 13:13
|
|
Plan:
1. search for all calls of kApplication::ParseBlock method with second parameter passed.
2. for each found case try to remove 2-nd parameter and see how related functionality will react.
Usually $pass_params (2nd parameter) is not required because $block_params (1st parameter) already contains $params (main tag params, who called ParseBlock) added via $block_params = $this->prepareTagParams($params); call. |
|
|
(0000825)
|
alex
|
2009-10-06 13:49
|
|
Moving to 5.0.3 because of too much work. |
|
|
(0001562)
|
alex
|
2010-03-11 09:56
(edited on: 2010-03-11 10:04) |
|
1. Method kTagProcessor::processTagParams is used to pass, parameters given to the tag to kApplication::ParseBlock it calls from inside (like kDBTagProcessor::PrintList2 tag does).
2. $pass_params parameter of ParseBlock passes all parameters, from current deep level, like all parameters on current template or all parameters given to DefineElement, where our tag is located.
Our problem is with data_exists parameter, which is not passed directly to sub tags, but which is available globally, when $pass_params parameter of ParseBlock method is used.
|
|
|
(0001563)
|
alex
|
2010-03-11 10:26
|
|
Here is the patch, but it seems to have strange effect on "Comments" (Reviews) grid in admin - shows plain template from ajax response.
Please test all changed tags. On non-ajax grids and even in catalog all seems to work, but comments section seems to be broken. |
|
|
(0001566)
|
Dmitry
|
2010-03-11 23:37
|
|
Reminder sent to: alex Are we talking about regular Comments of Category Items? I also have Comments for Polls...
Thanks will test soon.
|
|
|
(0001577)
|
alex
|
2010-03-12 02:58
|
|
I specifically wrote that it's comments, that are former reviews section. Please read carefully next time. |
|
|
(0001652)
|
Dmitry
|
2010-03-15 19:13
|
|
Tested Okay everywhere but Comments as you pointed out. |
|
|
(0001674)
|
alex
|
2010-03-17 06:17
|
|
Several more issues found, that you haven't discovered during testing:
1. comments (reviews) grid was not working
2. catalog/advanced view was not working also
3. user editing (general tab) also gives fatal error
Please test all cases this time.
Also descriptive comments added to places, where $pass_params are used, so we don't accidentally remove them later. |
|
|
(0001685)
|
Dmitry
|
2010-03-18 14:36
|
|
Tested okay!
Review all places and basic others. |
|
|
(0001711)
|
alex
|
2010-03-20 14:41
|
|
Fix committed to 5.0.x branch. Commit Message:
Fixes 0000069: Issues with "MoreLink" tag and "Data_Exists" param |
|
|
(0001752)
|
alex
|
2010-03-27 18:22
|
|
When editing a language, previous/next/last/first buttons (in pagination bar) doesn't work, because they miss 1 parameter in the JS:
example for going to page number 2
buttons uses javascript:go_to_page('phrases', 2, )
page numbers uses javascript:go_to_page('phrases', 2, 0) |
|
|
(0001753)
|
alex
|
2010-03-27 18:23
|
|
|
|
(0001754)
|
alex
|
2010-03-27 18:37
|
|
Need to test "broken_pagination_fix.patch" patch only. See previous comment to understand what to test. |
|
|
(0001798)
|
Dmitry
|
2010-04-05 21:50
|
|
|
|
(0001801)
|
alex
|
2010-04-06 02:58
|
|
Fix committed to 5.0.x branch. Commit Message:
Fixes 0000069: Issues with "MoreLink" tag and "Data_Exists" param |
|
|
(0002105)
|
alex
|
2010-05-11 02:59
|
|
Closing all tasks from released versions. |
|