-
I modified adhoc command scripts and REST scripts to return errors also in format described in XMPP specification. Only difference in adhoc scripts errors is that they return stanza with type
result
but witherror
element added to return stanza. Thiserror
element contains error description. REST scripts processing this result will return onlyerror
element in case of error in following format:<error type="cancel"> <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Node test-123 needs to be created before an item can be published.</item-not-found> </error>
Type |
Task
|
Priority |
Major
|
Assignee | |
RedmineID |
1668
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
We need to make sure we get a clearly distinct error if the PubSub node does not exist on publish item, so the application can discover this and create a new node for example.