Uploaded image for project: 'Apache Unomi'
  1. Apache Unomi
  2. UNOMI-502

Do not validate segment that are disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • unomi-2.0.0, unomi-1.6.0
    • unomi-2.0.0, unomi-1.6.0
    • unomi(-core)
    • 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)

      Attachments

        Activity

          People

            jkevan Kevan Jahanshahi
            jkevan Kevan Jahanshahi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m