Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
unomi-2.0.0, unomi-1.6.0
-
None
Description
Currently we have an issue with dependant segments due to the validation recently implemented for: https://issues.apache.org/jira/browse/UNOMI-419
When a segment A is depending on a segment B.
and you want to delete segment B.
There is an internal logic that trigger the automatic update of the segment A, to remove the references of the deleted segment B.
But in case segment A doesnt have any condition anymore at the end, due to segment B removed.
Then the segment A become invalid and cannot be saved again, even if this one have been disabled.
So I propose this PR: https://github.com/apache/unomi/pull/330
to not validate Segments that are disabled. (new integration have been added to cover this case in the PR)