[daisy] [JIRA] Updated: (DSY-218) Request for improvement: showing docs/doctypes that cause integrity constraint violation

Bruno Dumon (JIRA) issues at cocoondev.org
Fri May 25 09:10:20 CDT 2007


     [ http://issues.cocoondev.org//browse/DSY-218?page=all ]

Bruno Dumon updated DSY-218:
----------------------------

    Component: Frontend - admin console

> Request for improvement: showing docs/doctypes that cause integrity constraint violation
> ----------------------------------------------------------------------------------------
>
>          Key: DSY-218
>          URL: http://issues.cocoondev.org//browse/DSY-218
>      Project: Daisy
>         Type: Improvement
>   Components: Frontend - admin console
>     Versions: 1.4
>  Environment: SVN 2394
>     Reporter: Andreas Deininger
>     Priority: Minor

>
> While trying to delete a fieldtype in the administration area, I often get an error like:
> Error
> Received exception from repository server.
> Error deleting field type 2
> Duplicate key or integrity constraint violation message from server: "Cannot delete or update a parent row: a foreign key constraint fails"
> The reason is obvious and is stated on the page that lists the field types: field types can only be deleted when they are not associated any more with any document type or not in use in any version of any document.
> Would be really nice if that exception could be caught and a more specific error message could be given, telling the user which doctypes and which documents are still refering to the field type, thus preventing the field type from being deleted.
> The same improvement could be helpful while trying to delete a part type or a document type, too.

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



More information about the daisy mailing list