crs-tools / tracker

CRS Ticket Tracker
Apache License 2.0
18 stars 11 forks source link

XMLRPC: use error code of exceptions created in XMLRPC handler instead of fixed value for faultCode #143

Closed a-tze closed 7 years ago

a-tze commented 7 years ago

Issue migrated from trac ticket # 143

component: rpc | priority: major | resolution: fixed

2017-07-12 01:36:23: @pegro created the issue


If the error code of a exception thrown is >= 0, use this code as XML-RPC faultCode. Otherwise use fixed value of -32600 as before.

XML-RPC error codes can be defined by the application, only a small range is reserved. See http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php

Proposed patch see changeset [6dc2bea53ef0744bb015bef40d00a4416a930c0b]

a-tze commented 7 years ago

2017-07-12 01:36:45: @pegro set owner to pegro

a-tze commented 7 years ago

2017-07-12 01:36:45: @pegro changed type from defect to enhancement

a-tze commented 7 years ago

2017-07-12 01:36:45: @pegro changed component from unknown to rpc

a-tze commented 7 years ago

2017-07-12 01:36:45: @pegro

a-tze commented 7 years ago

2017-07-12 21:15:42: @jjeising commented


Looks good to me.

a-tze commented 7 years ago

2017-07-12 23:06:10: @pegro set resolution to fixed

a-tze commented 7 years ago

2017-07-12 23:06:10: @pegro changed status from new to closed