Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1470

Web Console: Cannot remove custom rules used in an Analysis context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Final
    • None
    • MTR Web UI
    • None
    • Sprint 32
    • None

      If the custom ruleset is used in an Analysis Context it cannot be removed on Rules Configuration page. There is a referenced foreign key.

      Caused by: org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FK5DHDKYR4G47R4U2943YDW4BD1: PUBLIC.ANALYSISCONTEXT_RULESPATH FOREIGN KEY(RULESPATHS_RULES_PATH_ID) REFERENCES PUBLIC.RULESPATH(RULES_PATH_ID) (16352)"; SQL statement:
      delete from RulesPath where rules_path_id=? and version=? [23503-173]
      

      And even if the analysis execution is deleted it still stays in the DB and custom rulesets cannot be removed.

              mnovotny@redhat.com Marek Novotny
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: