[MGNLDAM-451] Deleting an asset works but results in an stack trace in the log Created: 20/May/14  Updated: 21/May/14  Resolved: 20/May/14

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.2.4
Fix Version/s: 1.2.5

Type: Bug Priority: Neutral
Reporter: Daniel Lipp Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLDAM-372 Filetype column missing in Assets tre... 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

 Description   

to reproduce:

  • open Assets app
  • select any asset
  • select "Delete asset" action
    -> Asset will be marked as deleted but in console you'll get a stack trace like:
[INFO] [talledLocalContainer] 2014-05-20 16:16:45,320 WARN  lia.dam.app.assets.column.AssetTypeColumnFormatter: Unable to get the file type of folder for column
[INFO] [talledLocalContainer] javax.jcr.PathNotFoundException: jcr:content
[INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2163)
[INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2157)
[INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
[INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
[INFO] [talledLocalContainer] 	at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2157)
[INFO] [talledLocalContainer] 	at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:197)
[INFO] [talledLocalContainer] 	at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:120)
[INFO] [talledLocalContainer] 	at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:197)
[INFO] [talledLocalContainer] 	at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:120)
[INFO] [talledLocalContainer] 	at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getNode(DelegateNodeWrapper.java:197)
[INFO] [talledLocalContainer] 	at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getNode(ContentDecoratorNodeWrapper.java:120)
[INFO] [talledLocalContainer] 	at info.magnolia.dam.app.assets.column.AssetTypeColumnFormatter.generateCell(AssetTypeColumnFormatter.java:76)
[INFO] [talledLocalContainer] 	at com.vaadin.ui.Table.parseItemIdToCells(Table.java:2312)
[INFO] [talledLocalContainer] 	at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:2173)
[INFO] [talledLocalContainer] 	at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1694)
[INFO] [talledLocalContainer] 	at com.vaadin.ui.Table.refreshRowCache(Table.java:2639)
[INFO] [talledLocalContainer] 	at com.vaadin.ui.Table.containerItemSetChange(Table.java:4445)
[INFO] [talledLocalContainer] 	at com.vaadin.ui.TreeTable.containerItemSetChange(TreeTable.java:612)
[INFO] [talledLocalContainer] 	at info.magnolia.ui.workbench.container.AbstractJcrContainer.fireItemSetChange(AbstractJcrContainer.java:197)

Generated at Mon Feb 12 04:59:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.