Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues

Bug 961

Summary: Wrong minor code in BAD_PARAM exception on retrieval of service contexts
Product: JacORB Reporter: Amadeu A. Barbosa Jr <amadeu>
Component: ORBAssignee: Mailinglist to track bugs <jacorb-bugs>
Status: RESOLVED FIXED    
Severity: critical CC: jacorb
Priority: P5    
Version: 3.1   
Hardware: PC   
OS: All   
Attachments: Patch to JacORB-3.1
Patch to JacORB master branch on github.com

Description Amadeu A. Barbosa Jr 2013-08-08 12:46:00 UTC
Created attachment 423 [details]
Patch to JacORB-3.1

Both get_reply_service_context and get_request_service_context methods of org.jacorb.orb.portableInterceptor.RequestInfoImpl class raises the exception BAD_PARAM when no service context is found. But they create the BAD_PARAM with wrong minor code. It should be 26 instead of 23.

In CORBA 2.6.1 spec had an ambiguous text on page 779 of formal-02-05-15 pdf. But since CORBA 3.0 the text was corrected and define to minor code 26 on pages 813 and 1119 of formal-02-06-33 document.

Discussion on jacorb-developer mailing list's: http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-developer/2013-August/000313.html
Comment 1 Amadeu A. Barbosa Jr 2013-08-08 12:47:29 UTC
Created attachment 424 [details]
Patch to JacORB master branch on github.com
Comment 2 Nick Cross 2013-09-13 13:20:52 UTC
Fixed in e7d5861fd8e225f29f51fdb4d64c58727e9a18c8