Mailinglist Archive: opensuse-buildservice (284 mails)

< Previous Next >
[opensuse-buildservice] duplicate repositories problem
  • From: Petr Cerny <pcerny@xxxxxxx>
  • Date: Wed, 03 Oct 2007 18:54:40 +0200
  • Message-id: <4703C950.4050708@xxxxxxx>
Hi,

when trying to add repository, *all* repositories are offered - i.e.
including those which I have already added. Selecting such repository
yields an error:

-------------------------------------
OpenSUSE Frontend Error:

Error Details:
Errorcode: uncaught_exception
Message: Mysql::Error: Duplicate entry '912-openSUSE_10.3' for key 2:
INSERT INTO repositories (`name`, `db_project_id`)
VALUES('openSUSE_10.3', 912)

Exception from API:
ActiveRecord::StatementInvalid: Mysql::Error: Duplicate entry
'912-openSUSE_10.3' for key 2: INSERT INTO repositories (`name`,
`db_project_id`) VALUES('openSUSE_10.3', 912)

Stack Trace:
-------------------------------------

<stack trace available, yet it should be easily reproducible>

Either the system should check already selected repositories and not
offer them for adding or redesign of the according storage structures
("SET" columns come to mind) is in place to prevent such things from
happening.

Best regards
        Petr
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages