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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/28 11:37:31 UTC

[jira] [Created] (FELIX-3408) Web Console date chooser shows garbage text

Web Console date chooser shows garbage text
-------------------------------------------

                 Key: FELIX-3408
                 URL: https://issues.apache.org/jira/browse/FELIX-3408
             Project: Felix
          Issue Type: Bug
            Reporter: Valentin Valchev
            Assignee: Valentin Valchev


Steps to reproduce:
- clear cache
- restart browser
- set default browser locale to something different than english
- open web console in the browser
- use a plugin that uses the date chooser
- popup the date chooser and you will see some strange characters for the days


We tried to solve the same problem a long time ago, by adding the following code to support.js:
        var locale = getCookie("locale");
	if (locale) {
		if ( !$.datepicker.regional[locale] ) locale = '';
		$.datepicker.setDefaults($.datepicker.regional[locale]);
	}

The problem is when you open the web console for first time, the cookie is not set. It is set when you choose it using the flags on the top-right side of the window. 
Unfortunately from javascript we cannot read the browser locale (at least, that is not portable). So the only solution would be that the web console sets the language cookie with every request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3408) Web Console date chooser shows garbage text

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

Felix Meschberger updated FELIX-3408:
-------------------------------------

    Fix Version/s:     (was: webconsole-3.4.2)
                   webconsole-3.4.0
    
> Web Console date chooser shows garbage text
> -------------------------------------------
>
>                 Key: FELIX-3408
>                 URL: https://issues.apache.org/jira/browse/FELIX-3408
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.8
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>             Fix For: webconsole-3.4.0
>
>         Attachments: chinese.JPG
>
>
> Steps to reproduce:
> - clear cache
> - restart browser
> - set default browser locale to something different than english
> - open web console in the browser
> - use a plugin that uses the date chooser
> - popup the date chooser and you will see some strange characters for the days
> We tried to solve the same problem a long time ago, by adding the following code to support.js:
>         var locale = getCookie("locale");
> 	if (locale) {
> 		if ( !$.datepicker.regional[locale] ) locale = '';
> 		$.datepicker.setDefaults($.datepicker.regional[locale]);
> 	}
> The problem is when you open the web console for first time, the cookie is not set. It is set when you choose it using the flags on the top-right side of the window. 
> Unfortunately from javascript we cannot read the browser locale (at least, that is not portable). So the only solution would be that the web console sets the language cookie with every request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3408) Web Console date chooser shows garbage text

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

Valentin Valchev updated FELIX-3408:
------------------------------------

    Attachment: chinese.JPG

demonstration of the problem (bulgarian, not chinese is chosen)
                
> Web Console date chooser shows garbage text
> -------------------------------------------
>
>                 Key: FELIX-3408
>                 URL: https://issues.apache.org/jira/browse/FELIX-3408
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>         Attachments: chinese.JPG
>
>
> Steps to reproduce:
> - clear cache
> - restart browser
> - set default browser locale to something different than english
> - open web console in the browser
> - use a plugin that uses the date chooser
> - popup the date chooser and you will see some strange characters for the days
> We tried to solve the same problem a long time ago, by adding the following code to support.js:
>         var locale = getCookie("locale");
> 	if (locale) {
> 		if ( !$.datepicker.regional[locale] ) locale = '';
> 		$.datepicker.setDefaults($.datepicker.regional[locale]);
> 	}
> The problem is when you open the web console for first time, the cookie is not set. It is set when you choose it using the flags on the top-right side of the window. 
> Unfortunately from javascript we cannot read the browser locale (at least, that is not portable). So the only solution would be that the web console sets the language cookie with every request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3408) Web Console date chooser shows garbage text

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

Felix Meschberger updated FELIX-3408:
-------------------------------------

          Component/s: Web Console
    Affects Version/s: webconsole-3.1.8
        Fix Version/s: webconsole-3.2.2

This unfortunately missed the current release. Assigning to the next release.
                
> Web Console date chooser shows garbage text
> -------------------------------------------
>
>                 Key: FELIX-3408
>                 URL: https://issues.apache.org/jira/browse/FELIX-3408
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.8
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>             Fix For: webconsole-3.2.2
>
>         Attachments: chinese.JPG
>
>
> Steps to reproduce:
> - clear cache
> - restart browser
> - set default browser locale to something different than english
> - open web console in the browser
> - use a plugin that uses the date chooser
> - popup the date chooser and you will see some strange characters for the days
> We tried to solve the same problem a long time ago, by adding the following code to support.js:
>         var locale = getCookie("locale");
> 	if (locale) {
> 		if ( !$.datepicker.regional[locale] ) locale = '';
> 		$.datepicker.setDefaults($.datepicker.regional[locale]);
> 	}
> The problem is when you open the web console for first time, the cookie is not set. It is set when you choose it using the flags on the top-right side of the window. 
> Unfortunately from javascript we cannot read the browser locale (at least, that is not portable). So the only solution would be that the web console sets the language cookie with every request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (FELIX-3408) Web Console date chooser shows garbage text

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

Felix Meschberger closed FELIX-3408.
------------------------------------


Close after release
                
> Web Console date chooser shows garbage text
> -------------------------------------------
>
>                 Key: FELIX-3408
>                 URL: https://issues.apache.org/jira/browse/FELIX-3408
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.8
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>             Fix For: webconsole-4.0.0
>
>         Attachments: chinese.JPG
>
>
> Steps to reproduce:
> - clear cache
> - restart browser
> - set default browser locale to something different than english
> - open web console in the browser
> - use a plugin that uses the date chooser
> - popup the date chooser and you will see some strange characters for the days
> We tried to solve the same problem a long time ago, by adding the following code to support.js:
>         var locale = getCookie("locale");
> 	if (locale) {
> 		if ( !$.datepicker.regional[locale] ) locale = '';
> 		$.datepicker.setDefaults($.datepicker.regional[locale]);
> 	}
> The problem is when you open the web console for first time, the cookie is not set. It is set when you choose it using the flags on the top-right side of the window. 
> Unfortunately from javascript we cannot read the browser locale (at least, that is not portable). So the only solution would be that the web console sets the language cookie with every request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (FELIX-3408) Web Console date chooser shows garbage text

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

Valentin Valchev resolved FELIX-3408.
-------------------------------------

    Resolution: Fixed

Fixed in rev.1306227. Felix, please set the fix version.
                
> Web Console date chooser shows garbage text
> -------------------------------------------
>
>                 Key: FELIX-3408
>                 URL: https://issues.apache.org/jira/browse/FELIX-3408
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Valentin Valchev
>            Assignee: Valentin Valchev
>         Attachments: chinese.JPG
>
>
> Steps to reproduce:
> - clear cache
> - restart browser
> - set default browser locale to something different than english
> - open web console in the browser
> - use a plugin that uses the date chooser
> - popup the date chooser and you will see some strange characters for the days
> We tried to solve the same problem a long time ago, by adding the following code to support.js:
>         var locale = getCookie("locale");
> 	if (locale) {
> 		if ( !$.datepicker.regional[locale] ) locale = '';
> 		$.datepicker.setDefaults($.datepicker.regional[locale]);
> 	}
> The problem is when you open the web console for first time, the cookie is not set. It is set when you choose it using the flags on the top-right side of the window. 
> Unfortunately from javascript we cannot read the browser locale (at least, that is not portable). So the only solution would be that the web console sets the language cookie with every request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira