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

Breaks at Subissions page when some submission's title is empty (null)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: XMLUI
    • Labels:
      None
    • Environment:
      Debian 8
      Java Run Time 1.7.0_121
      PostgreSQL 9.4.10
    • Attachments:
      1
    • Comments:
      2
    • Documentation Status:
      In Description

      Description

      We are upgrading from 3.4 to 6.0 and after database migration when you enter to submissions page (no to all users) throws a NullPointerException on Submissions.java line 362.

      I've added a null verification for the title and this cleared the exception on:

      https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/workflow/Submissions.java#L362

      to read: 

      if (title != null && title.length() > 0)

       

      Regards,

      Enrique Martínez

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              enriqe Enrique Martínez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: