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

migration issues can link to wrong source report when classifications are shared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.6.0.Final
    • 2.5.0.Final
    • None
    • None
    • Hide

      Analyze several apps together than each have app.ear/app.war/WEB-INF/web.xml.
      Select an app on App List, open Migration Issues, open "Web XML" issue row.
      Click through "WEB-INF/web.xml", can lead to source report for a file in another app.

      Show
      Analyze several apps together than each have app.ear/app.war/WEB-INF/web.xml. Select an app on App List, open Migration Issues, open "Web XML" issue row. Click through "WEB-INF/web.xml", can lead to source report for a file in another app.

      When multiple apps are analyzed together and the same classification triggers in 2 or more apps, the migration issues report for a single app can show an entry for the classification that refers to a source report for a different file in another app.

      In latest master (PR #950), there will be one instance of the link that leads to a source report for the wrong file. If you change the filename (from e.g. web_xml.2.html to web_xml.1.html) you can find the source report for the right file.

      In 2.5.0.Final, there are n instances of the link for all n apps where a file with the classification is present, even though this is the report for a single app.

      Happens because of how a single classification vertex can be shared across multiple apps, so the classification's ID isn't unique. Latest PR #953 should fix.

            jsightle@redhat.com Jess Sightler
            dansmit Dan Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: