Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-695

Running a second migration wave export with additional apps errors out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 6.2.0
    • None
    • UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      Running a batch export of applications after some applications were already exported gives an error as the UI is trying to create tickets for apps that were already created. UI needs to have intelligence to only send new apps.

      https://github.com/konveyor/tackle2-ui/issues/952 

      Version-Release number of selected component (if applicable):

      upstream 

      How reproducible:

      100% 

      Steps to Reproduce:
      1. Add an application
      2. Run export for migration wave
      3. Add a second application
      4. Run export again

      Actual results:

       

      See this error in UI:

      {"error":"UNIQUE constraint failed: Ticket.ApplicationID, Ticket.TrackerID"}

       

      Expected results:

      No error 

      Additional info:

            rhn-engineering-gdubreui Gilles Dubreuil
            rhn-engineering-dymurray Dylan Murray
            Alejandro Brugarolas Alejandro Brugarolas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: