You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Luca (JIRA)" <ji...@codehaus.org> on 2009/11/18 14:47:55 UTC

[jira] Commented: (CONTINUUM-2100) Unable to import data that includes installations

    [ http://jira.codehaus.org/browse/CONTINUUM-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198615#action_198615 ] 

Luca commented on CONTINUUM-2100:
---------------------------------

ok, CONTINUUM-2408
thanks

> Unable to import data that includes installations
> -------------------------------------------------
>
>                 Key: CONTINUUM-2100
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2100
>             Project: Continuum
>          Issue Type: Bug
>          Components: Data Management
>    Affects Versions: 1.2.3.1, 1.3.1
>            Reporter: Wendy Smoak
>            Assignee: Maria Catherine Tan
>             Fix For: 1.3.3
>
>         Attachments: builds.xml, CONTINUUM-2100.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira