ReferentialIntegrityException when deleting a feed

Description

Cannot remove some nodes because they are still strongly referred by existing nodes: {/{}metadata/{}feeds/{}mycat/{}myfeed=/{}metadata/{}templates/{}Data_Ingest}

Looking for a reproducible case. If this can't be fixed in 1 day then it may need to be removed to the backlog.

Environment

None

Activity

Show:
Greg Hart
May 17, 2017, 6:28 PM
Greg Hart
February 2, 2018, 12:15 AM

Regression in 0.9.0.

Greg Hart
February 3, 2018, 1:43 AM

I was able to work around it by attaching a debugger at WritableSessionCache:1410 and calling strongReferrers.clear().

https://github.com/ModeShape/modeshape/blob/modeshape-5.4.1.Final/modeshape-jcr/src/main/java/org/modeshape/jcr/cache/document/WritableSessionCache.java#L1410

Greg Hart
February 5, 2018, 7:09 PM
Edited

Looking for reproducible case. Try running kylo-ui and kylo-services in sandbox and IDE at the same time, then running integration tests.

Sean Felten
March 28, 2018, 3:37 PM

Made references between feeds and templates weak.

Done

Assignee

Sean Felten

Reporter

Greg Hart

Labels

None

Reviewer

None

Story point estimate

None

Time tracking

0m

Time remaining

0m

Sprint

None

Fix versions

Priority

Medium