In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
906 [In-Portal CMS] Front End bug report always 2010-10-25 15:37 2011-03-30 09:53
phil  
alex  
normal  
closed 5.1.1-B2  
fixed  
 
none 1.1.2-B1  
http://groups.google.com/group/in-portal-dev/browse_thread/thread/cd61947e2fa8ef52
Unified case-sensitive parameter processing of <inp2:Image* tags
0
0000906: Unable to display category image by name
I was unable to display category image other then primary by specifying it's name. Tag <inp2:c_ImageSrc Name="test" MaxWidth="75" /> was used.

It seems, that there is a bug in "ImageTagProcessor::LoadItemImage" method, that tries to process both "Name" and "name" parameters, but fails due complex logic of that method itself.

I propose to normalize parameter processing logic of this method, so all parameters names will be lowercased at first and then processed.
patch Unable-to-display-category-image-by-name.patch (2,459) 2010-12-02 12:56
http://tracker.in-portal.org/file_download.php?file_id=868&type=bug
Issue History
2011-03-30 09:53 Dmitry Note Added: 0003359
2011-03-30 09:53 Dmitry Status resolved => closed
2011-01-05 05:55 alex Changeset removed 1.1.x r14118
2011-01-05 05:55 alex Changeset attached 5.1.x r14116
2011-01-05 05:49 alex Changeset removed 5.1.x r14116
2011-01-05 05:48 alex Note Deleted: 0003158
2011-01-05 05:46 alex Note Added: 0003158
2011-01-05 05:46 alex Fixed in Version 5.1.2-B1 => 1.1.2-B1
2011-01-05 05:46 alex Changeset attached 1.1.x r14118
2011-01-05 05:41 alex Changeset attached 5.1.x r14116
2011-01-05 05:41 alex Note Added: 0003154
2011-01-05 05:41 alex Status reviewed and tested => resolved
2011-01-05 05:41 alex Fixed in Version => 5.1.2-B1
2011-01-05 05:41 alex Resolution open => fixed
2011-01-05 05:41 alex Assigned To !COMMUNITY => alex
2011-01-05 05:40 alex Note Added: 0003153
2011-01-05 05:40 alex Status needs testing => reviewed and tested
2010-12-02 12:57 Dmitry Note Added: 0003101
2010-12-02 12:57 Dmitry Assigned To Dmitry => !COMMUNITY
2010-12-02 12:57 Dmitry Developer => Dmitry
2010-12-02 12:57 Dmitry Status needs work => needs testing
2010-12-02 12:56 Dmitry File Added: Unable-to-display-category-image-by-name.patch
2010-12-01 14:29 Dmitry Assigned To => Dmitry
2010-12-01 14:29 Dmitry Status active => needs work
2010-11-30 12:51 Dmitry Target Version Icebox => 5.1.2
2010-10-25 15:38 alex Change Log Message => Unified case-sensitive parameter processing of <inp2:Image* tags
2010-10-25 15:37 alex Reporter alex => phil
2010-10-25 15:37 alex New Issue
2010-10-25 15:37 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/cd61947e2fa8ef52

Notes
(0003101)
Dmitry   
2010-12-02 12:57   
Please test the patch.
(0003153)
alex   
2011-01-05 05:40   
ok
(0003154)
alex   
2011-01-05 05:41   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000906: Unable to display category image by name
Commit on behalf of Dmitry
(0003359)
Dmitry   
2011-03-30 09:53   
Closing, since 5.1.2 release has been released.