Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-206

POST /oai-pmh/set returns 500 when empty string is passed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P4
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Gulfstream Sprint 96
    • Story Points:
      1
    • Development Team:
      Gulfstream

      Description

      Steps to Reproduce:

      1. Request POST /oai-pmh/set with empty "setSpec" or "name" value (e.g. {"name": "", "description": "description", "setSpec":"setSpec"})
      2. See response

      Expected Results:
      HTTP 422 error
      Actual Results:
      HTTP 500 error

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                TotoroDev Illia Daliek
                Reporter:
                Anastasiia Zakharova Anastasiia Zakharova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases