Unable to display category image by name

Components

Labels

Description

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.

Context Information

None

Additional information (do not use)

None

Attachments

1

Activity

Show:

Dmitry Andrejev March 30, 2011 at 2:53 PM

Closing, since 5.1.2 release has been released.

Alex January 5, 2011 at 11:41 AM

Fix committed to [b]5.1.x branch/b. Commit Message:

Fixes #0000906: Unable to display category image by name
Commit on behalf of Dmitry

Alex January 5, 2011 at 11:40 AM

ok

Dmitry Andrejev December 2, 2010 at 6:57 PM

Please test the patch.

Fixed

Priority

Assignee

Alex

Reporter

Developer

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

Fix versions

Affects versions

Created October 25, 2010 at 8:37 PM
Updated December 29, 2024 at 9:15 PM
Resolved March 30, 2011 at 2:53 PM