PCRUD returns osrfMethodException after "Request Complete"

Bug #1808016 reported by Bill Erickson on 2018-12-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Evergreen 3.2

Steps to reproduce detailed in:


An exception is raised in PCRUD as a result of attempting to create an object with a NULL value for the context org unit. However, before the exception message is returned to the client, a Request Complete message is returned. The client sees the Request Complete messages, assumes the conversation is done, and ignores the exception message.

Sample logs, trimmed to only show the highlights:

2018-12-11 14:03:27 localhost open-ils.pcrud: [INFO:6477:osrf_application.c:1075:154455500464953]
CALL: open-ils.pcrud open-ils.pcrud.create.acqclt "<AUTHTOKEN>",{"__c":"acqclt","__p":[null,null,"asdf","asdf"]}

2018-12-11 14:03:27 localhost open-ils.pcrud: [DEBG:6477:osrf_app_session.c:1180:154455500464953] Sent: [{"__c":"osrfMessage","__p":{"threadTrace":"2","locale":"en-US","api_level":1,"type":"STATUS","payload":{"__c":"osrfConnectStatus","__p":{"status":"Request Complete","statusCode":"205"}}}}]

2018-12-11 14:03:27 localhost open-ils.pcrud: [WARN:6477:osrf_application.c:855:154455500464953] Returning method exception with message: An unknown server error occurred

2018-12-11 14:03:27 localhost open-ils.pcrud: [DEBG:6477:osrf_app_session.c:1180:154455500464953] Sent: [{"__c":"osrfMessage","__p":{"threadTrace":"2","locale":"en-US","api_level":1,"type":"STATUS","payload":{"__c":"osrfMethodException","__p":{"status":"An unknown server error occurred","statusCode":"404"}}}}]

The client should only receive the osrfMethodException message and not the osrfConnectStatus ("Request Complete") message.

Jane Sandberg (sandbej) on 2019-01-20
tags: added: silentfailure
Bill Erickson (berick) wrote :

Noting this is also the underlying cause for bug #1693580 and bug #1716765.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers