You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2010/03/09 11:43:27 UTC

[jira] Created: (FELIX-2183) Global AJAX error handler can be improved

Global AJAX error handler can be improved
-----------------------------------------

                 Key: FELIX-2183
                 URL: https://issues.apache.org/jira/browse/FELIX-2183
             Project: Felix
          Issue Type: Bug
          Components: Web Console
            Reporter: Valentin Valchev
         Attachments: supportjs-ajax-error.patch

Currently, the global AJAX error handler shows only the error message. However, the user might provide it's own error page generation, which displays the whole cause of the error, and in this case the error will not look like
500 Internal Server Error

but (as example)
500 The request failed, because parameter 'abc' is missing.

The current code in support.js will always show '500 Internal Server Error'. It should be modified to allow display of more user-friendly messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2183) Global AJAX error handler can be improved

Posted by "Valentin Valchev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Valchev updated FELIX-2183:
------------------------------------

    Attachment: supportjs-ajax-error.patch

and fix for the problem ;)

> Global AJAX error handler can be improved
> -----------------------------------------
>
>                 Key: FELIX-2183
>                 URL: https://issues.apache.org/jira/browse/FELIX-2183
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Valentin Valchev
>         Attachments: supportjs-ajax-error.patch
>
>
> Currently, the global AJAX error handler shows only the error message. However, the user might provide it's own error page generation, which displays the whole cause of the error, and in this case the error will not look like
> 500 Internal Server Error
> but (as example)
> 500 The request failed, because parameter 'abc' is missing.
> The current code in support.js will always show '500 Internal Server Error'. It should be modified to allow display of more user-friendly messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-2183) Global AJAX error handler can be improved

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2183.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-3.0.0
         Assignee: Felix Meschberger

Thanks for providing the patch. I have applied it in Rev. 922575.

> Global AJAX error handler can be improved
> -----------------------------------------
>
>                 Key: FELIX-2183
>                 URL: https://issues.apache.org/jira/browse/FELIX-2183
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Valentin Valchev
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>         Attachments: supportjs-ajax-error.patch
>
>
> Currently, the global AJAX error handler shows only the error message. However, the user might provide it's own error page generation, which displays the whole cause of the error, and in this case the error will not look like
> 500 Internal Server Error
> but (as example)
> 500 The request failed, because parameter 'abc' is missing.
> The current code in support.js will always show '500 Internal Server Error'. It should be modified to allow display of more user-friendly messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-2183) Global AJAX error handler can be improved

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-2183.
-----------------------------------


> Global AJAX error handler can be improved
> -----------------------------------------
>
>                 Key: FELIX-2183
>                 URL: https://issues.apache.org/jira/browse/FELIX-2183
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Valentin Valchev
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>         Attachments: supportjs-ajax-error.patch
>
>
> Currently, the global AJAX error handler shows only the error message. However, the user might provide it's own error page generation, which displays the whole cause of the error, and in this case the error will not look like
> 500 Internal Server Error
> but (as example)
> 500 The request failed, because parameter 'abc' is missing.
> The current code in support.js will always show '500 Internal Server Error'. It should be modified to allow display of more user-friendly messages.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.