You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Gaetan Allart (JIRA)" <ji...@apache.org> on 2012/11/09 15:44:12 UTC

[jira] [Created] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

Gaetan Allart created CLOUDSTACK-465:
----------------------------------------

             Summary: French language file quotes are dropping javascript syntax errors
                 Key: CLOUDSTACK-465
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
             Project: CloudStack
          Issue Type: Bug
          Components: Website
    Affects Versions: 4.0.0
         Environment: Ubuntu Server
            Reporter: Gaetan Allart
            Priority: Critical


If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.

This is because of quotes in language files : 

'message.action.enable.physical.network': 'Confirmer l'activation de ce
réseau physique.',Uncaught SyntaxError: Unexpected identifier

This is due to french language. "quotes" are not protected.
(l'activation).

rm
/usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
s_fr_FR.properties

Did solve this issue. Page is not blank anymore. I think languages files
need reviewing.


--
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] [Commented] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

Posted by "Sudha Ponnaganti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505121#comment-13505121 ] 

Sudha Ponnaganti commented on CLOUDSTACK-465:
---------------------------------------------

I am OOO from 11/27 to 12/02

                
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Assignee: David Nalley
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Assigned] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

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

Jessica Wang reassigned CLOUDSTACK-465:
---------------------------------------

    Assignee: David Nalley  (was: Jessica Wang)

David,

The “messages_fr_FR.propreties” you added at 2012-10-08 crashes French-enabled browser.

It has invalid character(quote) inside.

Please remove “messages_fr_FR.propreties” or ask whoever provided “messages_fr_FR.propreties” to correct it(i.e. remove quote from “messages_fr_FR.propreties” ).

Jessica
                
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Assignee: David Nalley
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Updated] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

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

Sudha Ponnaganti updated CLOUDSTACK-465:
----------------------------------------

    Assignee: Jessica Wang
    
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Assignee: Jessica Wang
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Commented] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

Posted by "Joe Brockmeier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506024#comment-13506024 ] 

Joe Brockmeier commented on CLOUDSTACK-465:
-------------------------------------------

David fixed this in commit 0f3f356dc6dd1fcf52635c3e117a2540192b84b0 to master.

Cherry-picked to 4.0.1 with commit 032ac73e12b8e1b1fe5bc67711a9beaa8c7f455e.
                
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Assignee: David Nalley
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Updated] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

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

David Nalley updated CLOUDSTACK-465:
------------------------------------

    Component/s:     (was: Website)
                 UI
    
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Assignee: David Nalley
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Updated] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

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

David Nalley updated CLOUDSTACK-465:
------------------------------------

    Fix Version/s: 4.0.1
    
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Commented] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

Posted by "Sudha Ponnaganti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503617#comment-13503617 ] 

Sudha Ponnaganti commented on CLOUDSTACK-465:
---------------------------------------------

As Gaetan's id is nto available, I have assigned this to Jessica for time being as place holder. Gaetan, would you be able to check in the patch for this?? If not update defect so jessica can pick it up for 401
                
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Assignee: Jessica Wang
>            Priority: Critical
>              Labels: javascript, language
>             Fix For: 4.0.1
>
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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] [Commented] (CLOUDSTACK-465) French language file quotes are dropping javascript syntax errors

Posted by "Prasanna Santhanam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494706#comment-13494706 ] 

Prasanna Santhanam commented on CLOUDSTACK-465:
-----------------------------------------------

Gaetan, thanks for catching this. I'm not sure if we got time to test the translations. Are you able to submit a patch for review via reviews.apache.org for this? I'll be happy to merge that in.
                
> French language file quotes are dropping javascript syntax errors
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-465
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-465
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 4.0.0
>         Environment: Ubuntu Server
>            Reporter: Gaetan Allart
>            Priority: Critical
>              Labels: javascript, language
>
> If you have, for example, a French enabled browser, you get a blank page after login on ..:8080/client/.
> This is because of quotes in language files : 
> 'message.action.enable.physical.network': 'Confirmer l'activation de ce
> réseau physique.',Uncaught SyntaxError: Unexpected identifier
> This is due to french language. "quotes" are not protected.
> (l'activation).
> rm
> /usr/share/cloud/management/webapps/client/WEB-INF/classes/resource/message
> s_fr_FR.properties
> Did solve this issue. Page is not blank anymore. I think languages files
> need reviewing.

--
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