Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-12

Exception handling for deleting a metadata field - ID: 1606439

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.2
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuartlewis Stuart Lewis
              Reporter:
              kipkorir2008 Charles Kiplagat
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: