Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
Bug 961 - Wrong minor code in BAD_PARAM exception on retrieval of service contexts
Summary: Wrong minor code in BAD_PARAM exception on retrieval of service contexts
Status: RESOLVED FIXED
Alias: None
Product: JacORB
Classification: Unclassified
Component: ORB (show other bugs)
Version: 3.1
Hardware: PC All
: P5 critical
Assignee: Mailinglist to track bugs
URL:
Depends on:
Blocks:
 
Reported: 2013-08-08 12:46 UTC by Amadeu A. Barbosa Jr
Modified: 2013-09-13 13:20 UTC (History)
1 user (show)

See Also:


Attachments
Patch to JacORB-3.1 (906 bytes, patch)
2013-08-08 12:46 UTC, Amadeu A. Barbosa Jr
Details
Patch to JacORB master branch on github.com (999 bytes, patch)
2013-08-08 12:47 UTC, Amadeu A. Barbosa Jr
Details

Note You need to log in before you can comment on or make changes to this bug.
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