[
https://issues.apache.org/jira/browse/MYFACES-3751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Andraschko resolved MYFACES-3751.
----------------------------------------
Resolution: Fixed
Assignee: Thomas Andraschko
> Log exception on submitForm in Javascript
> -----------------------------------------
>
> Key: MYFACES-3751
> URL: https://issues.apache.org/jira/browse/MYFACES-3751
> Project: MyFaces Core
> Issue Type: Improvement
> Affects Versions: 2.1.12
> Reporter: dennis hoersch
> Assignee: Thomas Andraschko
> Priority: Major
> Fix For: 2.1.19, 2.2.13, 2.3.3, 3.0.0-SNAPSHOT
>
>
> I was looking for a bug in our scripts happening on submit of the form.
> Unfortunately the JSF-Javascript submitting the form
> (myfaces.oam.submitForm()) is swallowing exceptions that occur while
> submitting.
> try {
> form.submit();
> }
> catch(e) {
> }
> Maybe one could do some kind of logging there to help debugging.
> try {
> form.submit();
> }
> catch(e) {
> console.error(e); //?
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)