[MAGNOLIA-4496] Nodes "marked deleted" have no icons in templates workspace Created: 30/Jul/12 Updated: 22/Jan/13 Resolved: 11/Sep/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface |
| Affects Version/s: | 4.4.8 |
| Fix Version/s: | 4.5.5 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Richard Unger | Assignee: | Jaroslav Simak |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | admininterface, tree | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
4.4.8 EE |
||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
If you configure the "MarkNodeAsDeletedCommand" for the templates workspace, things generally work as expected, but the marked deleted nodes are displayed without an icon. It seems to me that this problem could be solved generally by adding an icon for the node-type "mgnl:deleted" in the constructor for info.magnolia.cms.gui.control.Tree |
| Comments |
| Comment by Ondrej Chytil [ 30/Jul/12 ] |
|
Added to changelog. tree.addIcon(ItemType.DELETED_NODE_MIXIN, "/path/to/document_deleted.gif"); can be added to info.magnolia.module.inplacetemplating.InplaceTemplatingAdminTreeConfig.prepareTree() or any other AbstractTreeConfiguration based class. |
| Comment by Jaroslav Simak [ 11/Sep/12 ] |