[ 
https://issues.apache.org/jira/browse/TRINIDAD-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf updated TRINIDAD-873:
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.5-core
                   1.0.5-core
           Status: Resolved  (was: Patch Available)

applied the patch to both trunks;

> JavaScriptError in Core.js _formatErrorString
> ---------------------------------------------
>
>                 Key: TRINIDAD-873
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-873
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.5-core
>            Reporter: Thomas Spiegl
>            Assignee: Matthias Weßendorf
>             Fix For: 1.0.5-core, 1.2.5-core
>
>         Attachments: Core.js.patch
>
>
> currValue in defined in function _formatErrorString line 2807 may be a 
> function (eg. removeDuplicates)
> currValue.replace will then cause a JavaScript error
> adding a typeof fixes the problem
>     // if the token has no value or !typeof string, replace it with the empty 
> string
>     if (!currValue || !(typeof currValue == "string"))
>     {
>       currValue = "";
>     }

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

Reply via email to