Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-548

Return 500/400, not 201, on upgrade failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 19.3.0
    • Fix Version/s: 19.3.1
    • Labels:
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      CP: sprint 94
    • Story Points:
      1
    • Development Team:
      Core: Platform
    • Release:
      Q2 2020 Hot Fix #1
    • Affected Institution:
      GBV, OTHER

      Description

      See bug reports in https://issues.folio.org/browse/MODINVSTOR-547 where an SQL failure results in rollback but mod-inventory-storage incorrectly returns 201 HTTP status with empty body indicating success. It should return the HTTP status and error message provided by RMB TenantAPI.postTenant, for example 500 or 400 HTTP status code.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                julianladisch Julian Ladisch
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases