-
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
resultbut witherrorelement added to return stanza. Thiserrorelement contains error description. REST scripts processing this result will return onlyerrorelement 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.