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

Radu Cotescu updated SLING-6620:
--------------------------------
    Fix Version/s: Scripting HTL Engine 1.0.34

> HTL integration tests do not honor locale format
> ------------------------------------------------
>
>                 Key: SLING-6620
>                 URL: https://issues.apache.org/jira/browse/SLING-6620
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting HTL Engine 1.0.32
>         Environment: user.country = US
> user.country.format = DE
> user.language = en
> user.language.format = de
>            Reporter: Oliver Lietz
>            Assignee: Radu Cotescu
>             Fix For: Scripting HTL Engine 1.0.34
>
>
> {noformat}
> Failed tests: 
>   TestBuilder$1.runTest:146 Expected value '01 December '18 12:00 AM; day in 
> year: 335; week in year: 49' for selector '#format-date-11'. Instead we got 
> '01 Dezember '18 12:00 AM; day in year: 335; week in year: 48'. Please check 
> the expected markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value 'December' for selector 
> '#format-date-3'. Instead we got 'Dezember'. Please check the expected markup 
> from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '1,000.00' for selector 
> '#format-number-6'. Instead we got '1.000,00'. Please check the expected 
> markup from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '-3.14' for selector 
> '#format-number-7'. Instead we got '-3,14'. Please check the expected markup 
> from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '(3.14)' for selector 
> '#format-number-8'. Instead we got '(3,14)'. Please check the expected markup 
> from /testfiles/output/exprlang/filters.html.
>   TestBuilder$1.runTest:146 Expected value '-.314E01' for selector 
> '#format-number-9'. Instead we got '-,314E01'. Please check the expected 
> markup from /testfiles/output/exprlang/filters.html.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to