Uploaded image for project: 'Copy Handler'
  1. Copy Handler
  2. CH-159

Importing same task the second time crashes CH

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.40beta-svn629
    • 1.40beta-svn655
    • engine, gui
    • None

    Description

      When importing task definition xml for the first time CH works normally. However if the same task is imported for the second time, the CH instance that executes that task crashes.
      This is related to the fact, that CH uses the task ID from the imported task. And because the task already exists, the new task tries to use the same database for storage which conflicts with the other task.

      There are 2 problems here:
      1. Re-using the task ID - CH should either reject such import with a message, or change the ID (possibly by asking user if that's what he want to do).
      2. Unhandled exception related to serialization. It should be caught by default and a message should be displayed with the appropriate information.

      Attachments

        Activity

          People

            admin ixen
            admin ixen
            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 - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h