Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2100

Unable to import data that includes installations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.3.1, 1.3.1 (Alpha)
    • 1.3.3 (Beta)
    • Data Management
    • None

    Description

      When importing builds.xml data into 1.3.1, I get the following error:

      ERROR 23505: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'INSTALLATION_PK' defined on 'INSTALLATION'.

      To reproduce, create a 'backups' directory, save the attached builds.xml file into it, and execute:

      java -Xmx512m -jar data-management-cli-1.3.1-app.jar -buildsJdbcUrl jdbc:derby:/path/to/apache-continuum-1.3.1/data/databases/continuum/ -mode IMPORT -directory backups

      The attached builds.xml was exported from a Continuum 1.2 instance using data-management 1.2.3.1.

      If you edit builds.xml and delete the <installations> ... </installations> then the import will complete without error.

      Attachments

        1. builds.xml
          7 kB
          Wendy Smoak
        2. CONTINUUM-2100.patch
          8 kB
          Jose Morales Martinez

        Issue Links

          Activity

            People

              ctan Maria Catherine R. Tan
              wsmoak Wendy Smoak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: