[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:
relation
is related to MGNLDATA-157 Mark as deleted don't work for data Closed
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.
As workaround

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 ]

Git commit https://git.magnolia-cms.com/gitweb/?p=magnolia_main.git;a=commit;h=0664193951a5f456bc012d50db99ede8dac9d3c9

Generated at Mon Feb 12 03:56:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.