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

Wrong enum in one of the rules causes all of the rules to fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.5.0.CR2
    • None
    • None
    • None

    Description

      I made a mistake and wrote severity="ooptional" (instead of optional). This caused all the ruleset tests to fail. For the tests, it may not be that bad but in the real execution, this should probably better stop execution and ask user to fix the input.

      Output:
      .................................
      Error with test: rules-reviewed/eap6/orion/tests/xml-orion.windup.test.xml
      Cause: Failed to parse XML configuration at: file:/home/mbriskar/workspace/windup/windup-rulesets/rules-reviewed/eap7/eap6/eap6.windup.xml due to: No enum constant org.jboss.windup.reporting.model.Severity.OOPTIONAL
      Error with test: rules-reviewed/eap6/jboss-eap5/tests/jboss-eap5-xml.windup.test.xml
      Cause: Failed to parse XML configuration at: file:/home/mbriskar/workspace/windup/windup-rulesets/rules-reviewed/eap7/eap6/eap6.windup.xml due to: No enum constant org.jboss.windup.reporting.model.Severity.OOPTIONAL
      Error with test: rules-reviewed/eap6/jboss-eap5/tests/jboss-eap5-java.windup.test.xml
      Cause: Failed to parse XML configuration at: file:/home/mbriskar/workspace/windup/windup-rulesets/rules-reviewed/eap7/eap6/eap6.windup.xml due to: No enum constant org.jboss.windup.reporting.model.Severity.OOPTIONAL
      Error with test: rules-reviewed/eap6/commonj/tests/commonj.windup.test.xml
      Cause: Failed to parse XML configuration at: file:/home/mbriskar/workspace/windup/windup-rulesets/rules-reviewed/eap7/eap6/eap6.windup.xml due to: No enum constant org.jboss.windup.reporting.model.Severity.OOPTIONAL

      Attachments

        Issue Links

          Activity

            People

              ozizka_jira Ondrej Zizka (Inactive)
              mbriskar_jira Matej Briskar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: