[
http://jira.dspace.org/jira/browse/DS-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Donohue updated DS-12:
--------------------------
Comment: was deleted
(was: As said, Fixed in 1.5.2 (see attached patch). If the exception is thrown,
the user
is returned to the confirmation page, but the submit button is replaced
with the error message and a hint.
File Added: http://www.voucher-code-discount.co.uk/skybet
Fix_for_SF_bug_[1606439]_Exception_handling_for_deleting_a_metadata_field.patch
)
> Exception handling for deleting a metadata field - ID: 1606439
> --------------------------------------------------------------
>
> Key: DS-12
> URL: http://jira.dspace.org/jira/browse/DS-12
> Project: DSpace 1.x
> Issue Type: Bug
> Components: DSpace API
> Reporter: Charles Kiplagat
> Assignee: Stuart Lewis
> Fix For: 1.5.2
>
>
> Trying to delete a metadatafield with associated values leads to an
> "java.sql.SQLException: ERROR: update or delete on "metadatafieldregistry"
> violates foreign key constraint "metadatavalue_metadata_field_id_fkey" on
> "metadatavalue"" error.
> This is indicated in the delete confirm page, but the error should be
> caught properly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel