Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 46835 invoked from network); 27 Mar 2009 01:52:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 01:52:41 -0000 Received: (qmail 81508 invoked by uid 500); 27 Mar 2009 01:52:41 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 81467 invoked by uid 500); 27 Mar 2009 01:52:41 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 81457 invoked by uid 99); 27 Mar 2009 01:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 01:52:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 01:52:33 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id E8A0F14A816A for ; Thu, 26 Mar 2009 20:52:12 -0500 (CDT) Message-ID: <32720146.1238118732923.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 26 Mar 2009 20:52:12 -0500 (CDT) From: "Jose Morales Martinez (JIRA)" To: issues@continuum.apache.org Subject: [jira] Updated: (CONTINUUM-2100) Unable to import data that includes installations In-Reply-To: <477045.1235765300442.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jose Morales Martinez updated CONTINUUM-2100: --------------------------------------------- Attachment: CONTINUUM-2100.patch The error is generated when insert the profile. This patch correct the bug. It repaces the installations associated to installations for persisted intallations. > 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 > Fix For: 1.3.x > > 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 ... 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