Details
-
Bug
-
Resolution: Obsolete
-
Neutral
-
None
-
6.2.1
-
None
-
None
Description
This bug materializes in two ways.
(Checked using the Teaser Row component, not sure if generic. A prerequisite: at least two items (tours) have to be linked to already.)
1) Deleting the first link listed deletes also the second one.
With
- Active
- Beach
present, and deleting Active, the Beach is also lost (see videograb):
twoLinksRemoved.mkv![]()
With
- Active
- Beach
- Cultural
present, and deleting the Active, the Beach is also lost, Cultural stays. The following error is logged:
ERROR o.magnolia.demo.travel.tours.model.TourTeaserModel: Could not retrieve linked tour.ERROR o.magnolia.demo.travel.tours.model.TourTeaserModel: Could not retrieve linked tour.javax.jcr.RepositoryException: invalid identifier: at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1140) ~[jackrabbit-core-2.20.0.jar:2.20.0] ... Caused by: java.lang.IllegalArgumentException: at org.apache.jackrabbit.core.id.NodeId.<init>(NodeId.java:128) ~[jackrabbit-core-2.20.0.jar:2.20.0] at org.apache.jackrabbit.core.id.NodeId.valueOf(NodeId.java:52) ~[jackrabbit-core-2.20.0.jar:2.20.0] at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1138) ~[jackrabbit-core-2.20.0.jar:2.20.0]
2) Deleting all linked content.
Going from the bottom to the top across the trashbins on the list, all is fine. However, if you start clicking the trashbins from the top, an IndexOutOfBoundsException is thrown when you then click Commit:
Checklists
Attachments
Issue Links
- relates to
-
MGNLUI-5829 Index Out Of Bounds Error When Deleting Segments In Choose Audience Dialog
-
- Closed
-