[MGNLDATA-89] dialog don't display Icon properly Created: 16/Nov/09 Updated: 16/Sep/15 Resolved: 19/Nov/09 |
|
| Status: | Closed |
| Project: | Magnolia Data Module (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Boris Kraft | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OSX, Safari 4 |
||
| Attachments: |
|
| Template: |
|
| Patch included: |
Yes
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
The Magnolia dialogs for data module "types" allows you to select an icon that represents a data type. This icon is not rendered in the dialog. It seems as if only a border is rendered but not the icon itself. See attached screenshot |
| Comments |
| Comment by Bert Leunis [ 17/Nov/09 ] |
|
The src for the image is something like: /contextPath/modules/data/config/types/animal/mammal/cow/image.png. See:
The controlType in the dataType dialog of this field should not be "file" but "dataFile". The patch for the bootstrap file is attached. Please make sure that for the next version of the Data Module the file config.modules.data.dialogs.dataType.xml is bootstrapped. |
| Comment by Philipp Bärfuss [ 19/Nov/09 ] |
|
I will not change the DataFileControl but but have an other subclass of it for the type icon. The code is otherwise hard to understand as it adds special treatment of a corner case |
| Comment by Michael Mühlebach [ 16/Sep/15 ] |
|
This ticket was closed because former resolved tickets are deemed to be closed now. If this assumption is untrue in this particular case please feel free to reopen the ticket again. |