ICEfaces
  1. ICEfaces
  2. ICE-10477

ace:richTextEntry inside ace:dialog with visible=false cannot save text

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.0.0.GA
    • Fix Version/s: EE-4.0.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk rev. 44022
      Browsers: all
      Server: Tomcat7.0.42
    • Assignee Priority:
      P2

      Description

      Text can be input/edited/saved into the richTextEntry only if specifying visible="true" on the ace:dialog. Otherwise, the text input area of the richTextEntry appears to be disabled.

      QA test application: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/richTextEntry
      Test page: /richTextEntryDialog.jsf

      The test has a dialog with visible=false, that uses a JS .show() function to dynamically display the dialog on the page.

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44034 Mon Feb 09 17:32:24 MST 2015 art.zambrano ICE-10477 fix to recreate ace:richTextEditor's when showing an ace:dialog
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/richtextentry/RichTextEntryRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/richtextentry/richtextentry.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/dialog/dialog.js
        Hide
        Arturo Zambrano added a comment -

        r44034: fix to recreate ace:richTextEditor's when showing an ace:dialog.

        Show
        Arturo Zambrano added a comment - r44034: fix to recreate ace:richTextEditor's when showing an ace:dialog.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Carmen Cristurean added a comment - - edited

        Verified with ICEfaces4 trunk r44056/ IE11, Chrome40, FF34.
        First time when saving text in the richTextEntry inside dialog, the dialog closes up (visible="false" specific, Chrome40). This issue is very similar to the ones described in ICE-10481.

        If visible="true", the dialog opens up on page load, however it is empty, without the richTextEntry component inside.
        Also, a JS error occurs on page load:
        Uncaught TypeError: Cannot read property '$' of undefined

        ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:896 CKEDITOR.plugins.add.initckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:235 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:234 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 CKEDITOR.resourceManager.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:221 hckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:233 nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:232 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:434 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.sckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.rckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:216 (anonymous function)

        Show
        Carmen Cristurean added a comment - - edited Verified with ICEfaces4 trunk r44056/ IE11, Chrome40, FF34. First time when saving text in the richTextEntry inside dialog, the dialog closes up (visible="false" specific, Chrome40). This issue is very similar to the ones described in ICE-10481. If visible="true", the dialog opens up on page load, however it is empty, without the richTextEntry component inside. Also, a JS error occurs on page load: Uncaught TypeError: Cannot read property '$' of undefined ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:896 CKEDITOR.plugins.add.initckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:235 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:234 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 CKEDITOR.resourceManager.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:221 hckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:233 nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:232 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:434 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.sckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.rckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:216 (anonymous function)
        Hide
        Arturo Zambrano added a comment -

        The dialog closing the first time the text is saved is caused by the same issue reported in ICE-10481. More details were added in that JIRA.

        Show
        Arturo Zambrano added a comment - The dialog closing the first time the text is saved is caused by the same issue reported in ICE-10481. More details were added in that JIRA.
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: