You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Kevan Jahanshahi (Jira)" <ji...@apache.org> on 2021/08/10 09:46:00 UTC
[jira] [Created] (UNOMI-502) Do not validate segment that are
disabled
Kevan Jahanshahi created UNOMI-502:
--------------------------------------
Summary: Do not validate segment that are disabled
Key: UNOMI-502
URL: https://issues.apache.org/jira/browse/UNOMI-502
Project: Apache Unomi
Issue Type: Bug
Components: core
Affects Versions: 2.0.0, 1.6.0
Reporter: Kevan Jahanshahi
Fix For: 2.0.0, 1.6.0
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: link
to not validate Segments that are disabled.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)