SmartGWT 3.0 FireFox 7.0
It appears with sgwt 3.0. and not with 2.4.
I see now with sgwt 3.0. the "WARN:RPCManager:Server returned FAILURE with no error message" in Eclipse Development Mode console and a warning popup window with "Server returned FAILURE with no error message" in the application UI.
The json-object that is returned from the server looks like that:
Earlier with sgwt2.4 I did not see the warning popup window. I do not need it because I process such responses in a custom HandleErrorHandler. To prevent this popup to appear I added the "errors" in a response :
But in vain. I see the same unwanted popup with the same message.
Could anybody help me to understand how I can prevent this popup appearing by adding a proper error message that is requested by the "with no error message" text? Which is the right format of the error message in a response?
It appears with sgwt 3.0. and not with 2.4.
I see now with sgwt 3.0. the "WARN:RPCManager:Server returned FAILURE with no error message" in Eclipse Development Mode console and a warning popup window with "Server returned FAILURE with no error message" in the application UI.
The json-object that is returned from the server looks like that:
Code:
{
"response" : {
"status" : -1,
"data" : [
{
"errorMessages" : {
"friendly_error" : "some error message text"
}
}
]
}
}
Code:
{
"response" : {
"status" : -1,
"errors":{"field1":{"errorMessage":"some error message text"}},
"data" : [
{
"errorMessages" : {
"friendly_error" : "some error message text"
}
}
]
}
}
Could anybody help me to understand how I can prevent this popup appearing by adding a proper error message that is requested by the "with no error message" text? Which is the right format of the error message in a response?
Comment