You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Yee-Wah Lee (JIRA)" <de...@myfaces.apache.org> on 2009/12/09 20:46:18 UTC

[jira] Created: (TRINIDAD-1657) Client date time converter does not properly handle quote escaping

Client date time converter does not properly handle quote escaping
------------------------------------------------------------------

                 Key: TRINIDAD-1657
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1657
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions:  1.2.12-core
            Reporter: Yee-Wah Lee
            Priority: Minor


1. Create a test page with the following:
<tr:inputDate label="Label 1" id="id1">
            <tr:convertDateTime type="both" dateStyle="long"
timeStyle="full"/>
          </tr:inputDate>

2. Add the following to faces-config.xml
      <supported-locale>en_GB</supported-locale>

3. Run the page with browser language/country set to EN_GB. It should display some initial value like "22-Nov-2009 23:33:34 o' clock" 

4. Open the date picker, and pick a value. Notice the new value appears something like 22-Nov-2009 23:33:34 oclock, the o'clock has lost its single quote. 

5. Try to submit, it gives an error about invalid format. 

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


[jira] Resolved: (TRINIDAD-1657) Client date time converter does not properly handle quote escaping

Posted by "Gabrielle Crawford (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabrielle Crawford resolved TRINIDAD-1657.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0.3-core

> Client date time converter does not properly handle quote escaping
> ------------------------------------------------------------------
>
>                 Key: TRINIDAD-1657
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1657
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.12-core
>            Reporter: Yee-Wah Lee
>            Priority: Minor
>             Fix For: 2.0.0.3-core
>
>
> 1. Create a test page with the following:
> <tr:inputDate label="Label 1" id="id1">
>             <tr:convertDateTime type="both" dateStyle="long"
> timeStyle="full"/>
>           </tr:inputDate>
> 2. Add the following to faces-config.xml
>       <supported-locale>en_GB</supported-locale>
> 3. Run the page with browser language/country set to EN_GB. It should display some initial value like "22-Nov-2009 23:33:34 o' clock" 
> 4. Open the date picker, and pick a value. Notice the new value appears something like 22-Nov-2009 23:33:34 oclock, the o'clock has lost its single quote. 
> 5. Try to submit, it gives an error about invalid format. 

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