ICEfaces
  1. ICEfaces
  2. ICE-7721

showcase application - ice:inputRichText language selection causing the component not to render on page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Component/s: ICE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces3.0.0 build 10
      Browser: Firefox9, Internet Explorer7 / 8, Chrome16
      Server: Tomcat7
      Showcase application ->ICE Components - > ice:inputRichText -> Language page
    • Affects:
      Sample App./Tutorial

      Description

      On the 'Language' page, the ice:inputRichText component fails to render on page when selecting language="English (United Kingdom)".
      Also:
      In FF9: an error occurs (1.png attached) .

      In IE7 & IE8 a JS error occurs (screenshot 2.png attached for IE7):
      Webpage error details
      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
      Timestamp: Tue, 31 Jan 2012 18:56:31 UTC

      Message: 'lang.contextmenu.options' is null or not an object
      Line: 47
      Char: 2544
      Code: 0
      URI: http://localhost:8080/showcase/javax.faces.resource/inputrichtext/ckeditor/ckeditor.js.jsf


      1. 1.png
        360 kB
      2. 2.png
        74 kB

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Attachment 1.png [ 14028 ]
        Attachment 2.png [ 14029 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.0.1 [ 10282 ]
        Affects [Sample App./Tutorial]
        Assignee Priority P2
        Assignee Evgheni Sadovoi [ evgheni.sadovoi ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28373 Fri Mar 16 10:56:03 MDT 2012 esadovoi Resolved ICE-7721
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/compat/richtext/RichTextLanguage.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28374 Fri Mar 16 10:57:35 MDT 2012 esadovoi Resolved ICE-7721
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/compat/richtext/RichTextLanguage.java
        Hide
        Evgheni Sadovoi added a comment - - edited

        Ok after digging deeper into this this is what I found.

        There was a typo in our RichTextLanguage bean the value for UK English was declared as: "en-ek"
        Then I found another typo at our own TLD (http://res.icesoft.org/docs/v3_latest/compat/comps/tld/). It states the following for UK English value: "en-uk"

        Finally demo of the multi-language interface on ckeditor website gave me the right answer which is : en-gb.

        I fixed the problem and assigning this back to Ken to make a correction in our TLD.

        Rev. numbers:
        28373 for IF3 trunk
        28374 for IF3 maintenance branch

        Show
        Evgheni Sadovoi added a comment - - edited Ok after digging deeper into this this is what I found. There was a typo in our RichTextLanguage bean the value for UK English was declared as: "en-ek" Then I found another typo at our own TLD ( http://res.icesoft.org/docs/v3_latest/compat/comps/tld/ ). It states the following for UK English value: "en-uk" Finally demo of the multi-language interface on ckeditor website gave me the right answer which is : en-gb. I fixed the problem and assigning this back to Ken to make a correction in our TLD. Rev. numbers: 28373 for IF3 trunk 28374 for IF3 maintenance branch
        Evgheni Sadovoi made changes -
        Salesforce Case []
        Assignee Evgheni Sadovoi [ evgheni.sadovoi ] Ken Fyten [ ken.fyten ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28430 Wed Mar 21 09:52:39 MDT 2012 ken.fyten ICE-7721 - Corrected localization code for United Kingdom.
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28434 Wed Mar 21 10:37:07 MDT 2012 ken.fyten ICE-7721 - Corrected localization code for United Kingdom.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        Hide
        Ken Fyten added a comment -

        Resolved.

        [10:00:55] - svn commit -m "ICE-7721 - Corrected localization code for United Kingdom." 1 item(s)
        [10:00:55] - Sending /svn/icefaces-3.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        [10:00:57] - Committed revision 28430

        [10:45:24] - svn commit -m "ICE-7721 - Corrected localization code for United Kingdom." 1 item(s)
        [10:45:24] - Sending /svn/icefaces3-trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        [10:45:25] - Committed revision 28434

        Show
        Ken Fyten added a comment - Resolved. [10:00:55] - svn commit -m " ICE-7721 - Corrected localization code for United Kingdom." 1 item(s) [10:00:55] - Sending /svn/icefaces-3.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml [10:00:57] - Committed revision 28430 [10:45:24] - svn commit -m " ICE-7721 - Corrected localization code for United Kingdom." 1 item(s) [10:45:24] - Sending /svn/icefaces3-trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml [10:45:25] - Committed revision 28434
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Security Private [ 10001 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: