In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
641 [In-Portal CMS] Data Management bug report always 2010-03-26 02:51 2010-05-11 02:59
alex  
alex  
normal  
closed 4.3.9  
fixed  
 
none 5.0.3-B2  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a1340ab59ab6259d
0
0000641: MultiLanguage formatter incorrectly processes translatable virtual fields
MultiLanguage formatter incorrectly processes translatable virtual fields. For example it doesn't create l1_, l2_ and so on fields for it. Also when "PopulateMlFields" option in unit config is used, then it ignores translatable virtual fields at all.
related to 0000640closed  (5.0.3)alex Current language is not replaced inside calculated fields, when "%2$s" is used 
parent of 0000680closed  (5.0.3)alex SQL error during clean Installation of In-News module 
related to 0000655closed  (5.0.3)alex "Sections" tab doesn't work in "Show All" mode with "simple" interface preset on 
patch multilanguage_formatter_works_with_virtual_fields.patch (9,370) 2010-03-26 02:51
http://tracker.in-portal.org/file_download.php?file_id=406&type=bug
jpg MultiLanguage-formatter-incorrectly-processes-translatable-virtualfields.jpg (212,428) 2010-04-04 22:02
http://tracker.in-portal.org/file_download.php?file_id=435&type=bug
jpg

patch multilanguage_formatter_works_with_virtual_fields_v2.patch (9,417) 2010-04-06 07:32
http://tracker.in-portal.org/file_download.php?file_id=443&type=bug
Issue History
2010-05-11 02:59 alex Note Added: 0002092
2010-05-11 02:59 alex Status resolved => closed
2010-04-06 11:08 alex Relationship added parent of 0000680
2010-04-06 07:44 alex Note Added: 0001826
2010-04-06 07:44 alex Status reviewed and tested => resolved
2010-04-06 07:44 alex Fixed in Version => 5.0.3-B2
2010-04-06 07:44 alex Resolution open => fixed
2010-04-06 07:44 alex Assigned To !COMMUNITY => alex
2010-04-06 07:44 alex Changeset attached 5.0.x r13349
2010-04-06 07:43 Dmitry Note Added: 0001825
2010-04-06 07:43 Dmitry Status needs testing => reviewed and tested
2010-04-06 07:38 alex Note Added: 0001823
2010-04-06 07:38 alex Target Version 5.0.4 => 5.0.3
2010-04-06 07:33 alex Note Added: 0001821
2010-04-06 07:33 alex Assigned To alex => !COMMUNITY
2010-04-06 07:33 alex Status needs work => needs testing
2010-04-06 07:32 alex File Added: multilanguage_formatter_works_with_virtual_fields_v2.patch
2010-04-06 07:31 Dmitry Note Added: 0001820
2010-04-06 07:07 Dmitry Status reviewed and tested => needs work
2010-04-06 07:07 Dmitry Note Added: 0001819
2010-04-06 07:07 Dmitry Assigned To !COMMUNITY => alex
2010-04-06 07:07 Dmitry Status needs testing => reviewed and tested
2010-04-06 04:58 alex Note Added: 0001817
2010-04-06 04:58 alex Assigned To alex => !COMMUNITY
2010-04-06 04:58 alex Status needs work => needs testing
2010-04-06 04:57 alex Relationship added related to 0000655
2010-04-04 22:03 Dmitry Note Added: 0001781
2010-04-04 22:03 Dmitry Assigned To !COMMUNITY => alex
2010-04-04 22:03 Dmitry Status needs testing => needs work
2010-04-04 22:02 Dmitry File Added: MultiLanguage-formatter-incorrectly-processes-translatable-virtualfields.jpg
2010-03-26 02:52 alex Assigned To => !COMMUNITY
2010-03-26 02:52 alex Developer => alex
2010-03-26 02:52 alex Status active => needs testing
2010-03-26 02:52 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/a1340ab59ab6259d
2010-03-26 02:51 alex Relationship added related to 0000640
2010-03-26 02:51 alex New Issue
2010-03-26 02:51 alex File Added: multilanguage_formatter_works_with_virtual_fields.patch

Notes
(0001781)
Dmitry   
2010-04-04 22:03   
Patch has some issues, please see attachment.

In particular issue is in MultiLanguage formatter (worked of when reverted back).
(0001817)
alex   
2010-04-06 04:58   
This patch doesn't have errors, but it clearly demonstrates error, that is fixed in 0000655 (just created it). So please test 0000655, then don't revert it and test this task afterwards.
(0001819)
Dmitry   
2010-04-06 07:07   
Well did exactly as was told with no luck - still see the same broken Grid output.

Tried clearing the Templates Cache - no luck either.

Please review again.
(0001820)
Dmitry   
2010-04-06 07:31   
Note - issue can be seen when you have at least 1 Link in a grid.
(0001821)
alex   
2010-04-06 07:33   
Now I see it. There was

Fatal error: Call to a member function replacePageIds() on a non-object in /home/alex/web/in-portal.bf/core/kernel/utility/formatters/formatter.php on line 46


in the end of links grid html.

Please test fixed version.
(0001823)
alex   
2010-04-06 07:38   
Moving to 5.0.3 since we are starting to use virtual fields with ML formatter a lot.
(0001825)
Dmitry   
2010-04-06 07:43   
2nd patch tested good - thx.
(0001826)
alex   
2010-04-06 07:44   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000641: MultiLanguage formatter incorrectly processes translatable virtual fields
(0002092)
alex   
2010-05-11 02:59   
Closing all tasks from released versions.