Return 500/400, not 201, on upgrade failure

Description

See bug reports in https://folio-org.atlassian.net/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.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Julian Ladisch August 20, 2020 at 8:03 AM

Obsoleted by https://folio-org.atlassian.net/browse/RMB-687 shipped with RMB 30.2.5.

Duplicate

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Core: Platform

Fix versions

Release

Q2 2020 Hot Fix #1

Affected Institution

GBV
OTHER

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 30, 2020 at 12:32 PM
Updated August 20, 2020 at 8:04 AM
Resolved August 20, 2020 at 8:03 AM
TestRail: Cases
TestRail: Runs