: Better error propogation from RT core to REST (3rd try ...)

[would you believe it … sent the wrong patch twice …]

[Sent the wrong patch file before …]

Patch for

/share/html/REST/1.0/Forms/ticket/default

against 3.6.3.

This patch passes through core API errors to the REST error reporting on
ticket creation. This is needed to allow error reporting when things
like validation/mandatory custom fields are moved into the core API. In
the REST interface, most error catching has been done in the REST code
but if some errors are caught in the core API, they need to be passed
back up so that there are visible.

PK

Philip Kime
NOPS Systems Architect
310 401 0407

default.patch (579 Bytes)

We don’t use upper case variables except for some CONSTANTS, please
convert $TID,$TRID,$TERR to the common style.On 2/13/07, Philip Kime pkime@shopzilla.com wrote:

[would you believe it … sent the wrong patch twice …]

[Sent the wrong patch file before …]

Patch for

/share/html/REST/1.0/Forms/ticket/default

against 3.6.3.

This patch passes through core API errors to the REST error reporting on
ticket creation. This is needed to allow error reporting when things like
validation/mandatory custom fields are moved into the core API. In the REST
interface, most error catching has been done in the REST code but if some
errors are caught in the core API, they need to be passed back up so that
there are visible.

PK


Philip Kime
NOPS Systems Architect
310 401 0407


List info:
The rt-devel Archives

Best regards, Ruslan.