[MGNLDAM-327] Dam: Duplicating asset throws exception Created: 23/Oct/13  Updated: 24/Oct/13  Resolved: 24/Oct/13

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

Type: Bug Priority: Critical
Reporter: Christopher Zimmermann Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-5351 Moved or deleted items (pages, compon... 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
Sprint: 5.1.1

 Description   

Sometimes, duplicating an asset throws exception:

fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [createVariant]
info.magnolia.ui.api.action.ActionExecutionException: Can't execute repository operation.
property /coop-pronto-52/mgnl:lastModified: the property cannot be saved because it has been modified externally.
at info.magnolia.ui.framework.action.AbstractRepositoryAction.execute(AbstractRepositoryAction.java:104)

Caused by: javax.jcr.InvalidItemStateException: property /coop-pronto-52/mgnl:lastModified: the property cannot be saved because it has been modified externally.

A visible error banner is displayed.

This happens:

  • usually - sometimes it does not, not sure why.
  • always happens on asset that ive just uploaded.

Note: Ive confirmed that this was working fine in 5.1 EE


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