[MAGNOLIA-5414] Error is shown when deleting contact or asset Created: 23/Oct/13  Updated: 17/Dec/13  Resolved: 23/Oct/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.1.1
Fix Version/s: 5.1.1

Type: Bug Priority: Blocker
Reporter: Jozef Chocholacek Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2013-10-23 at 11.32.38 AM.png    
Issue Links:
Relates
relates to MGNLUI-2314 Failure message shows ??? around the ... Closed
causality
caused by MAGNOLIA-5337 MarkNodeAsDeletedCommand mark only ch... Closed
relation
is related to MAGNOLIA-5558 MarkNodeAsDeletedCommand is not flexi... 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:
Sprint: 5.1.1

 Description   

Steps to reproduce:

  1. open Contacts App
  2. select a contact, click "Delete contact" in actionbar, confirm

An error message appears (see screenshot) and contact seems to be not deleted - but it actually is, it is enough to refresh the workbench (e.g. by editing some other contact).

Log says: ERROR info.magnolia.cms.core.version.BaseVersionManager : failed to copy versionable node to version store, reverting all changes made in this session
(There is no stack trace)

Error in popop is: javax.jcr.nodetype.ConstraintViolationException No child node definition for mgnl:versionMetaData found in node



 Comments   
Comment by Jozef Chocholacek [ 23/Oct/13 ]

E.g. Categorization & Configuration apps work fine, probably related to the contact node type.

Comment by Jozef Chocholacek [ 23/Oct/13 ]

Probably related to the bootstrap files, as when a new contact is created (and published), the deletion works without any error.

Comment by Jozef Chocholacek [ 23/Oct/13 ]

Moved from CNCTSAPP to MAGNOLIA, as the error appears also in Assets App.

Comment by Christopher Zimmermann [ 23/Oct/13 ]

It's strange that the ??? shows up around the heading of the error.
The key exists and is used in ui-framework properties file:
actions.delete.failureMessage=Deletion has failed.

Comment by Jaroslav Simak [ 17/Dec/13 ]

Reverted as part of MAGNOLIA-5558 fix.

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