Uploaded image for project: 'DSpace (LEGACY)'
  1. DSpace (LEGACY)
  2. DS-1707

Advanced Embargo "Name" field errors out if more than 30 characters are entered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.1, 3.2
    • Fix Version/s: 4.0
    • Component/s: XMLUI
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      With the "Advanced Embargo" functionality enabled, if you enter in an Embargo "Name" of more than 30 characters (on the "Access" page) you get an error:

      org.postgresql.util.PSQLException: ERROR: value too long for type character varying(30)

      This can be reproduced on http://demo.dspace.org/xmlui/

      We should either limit the max-length of this field, or provide some better way to catch this error before it occurs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              schweer Andrea Schweer
              Reporter:
              tdonohue Tim Donohue
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: