5.2.20
10/23/2019

[#285] RegistrationHandler does not have access to Error from registration result
Summary RegistrationHandler does not have access to Error from registration result
Queue gloox
Queue Version SVN
Type Enhancement
State Unconfirmed
Priority 1. Low
Owners
Requester pulkomandy (at) pulkomandy (dot) tk
Created 09/29/2019 (24 days ago)
Due
Updated 09/29/2019 (24 days ago)
Assigned
Resolved

History
09/29/2019 01:33:55 PM pulkomandy (at) pulkomandy (dot) tk Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ RegistrationHandler does not have access to Error from registration result
Queue ⇒ gloox
Reply to this comment
I'm adding in-band registration to my client and would like to display 
a descriptive error message to the user when a registration error 
happens. The server provides an error message in the Error tag, but 
this is not passed to the RegistrationHandler, so I can't use this 
text. As a result I have to guess myself what is wrong.
I would also like to access the error type, if it's "modify" I know I 
can highlight invalid fields and submit the form again, but if it's 
something else, I will probably suggest the user to try another server.