ICEfaces
  1. ICEfaces
  2. ICE-3304

Javascript Errors when inputRichText is used in a panelPopup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE7

      Description

      There seems to be a few Javascript errors that are thrown when a rich text component is included in a panelPopup component. The errors are only thrown in IE7 and most likely thrown in IE6 also. The first error is when the visibility of the popup is set by using rendered attribute. The error is not thrown when the popup is first displayed but happen every time after the popup is displayed. Attached is a screenshot of the error (ie7-rendered-error.jpg). The details of the error are:
      Line: 50
      Char:945
      Error:Unspecified Error
      Code:0
      URL:http://locathost:8084/Bug4942Example/block/resource/LTQ5MTYyMDg1Mw==/editor/fckeditor.html?InstanceName=_id10%3ArichTextTwo&Toolbar=Default

      This error could be caused by using the rendered attribute to show/hide the popup.

      The other error I noticed was when the visible attribute was used to show/hide the popup. The error code is 800a025e. This is a know issue with the FCKEditor api (http://www.fckeditor.net/forums/viewtopic.php?f=6&t=8700&p=22724&hilit=800a025e#p22724).

        Activity

        Hide
        yip.ng added a comment -

        Problem reproduced on my machine. See screenshot-1. The error is popped up by first clicking Show, then clicking Close, then clicking Show again.

        Show
        yip.ng added a comment - Problem reproduced on my machine. See screenshot-1. The error is popped up by first clicking Show, then clicking Close, then clicking Show again.
        Hide
        Arran Mccullough added a comment -

        This is the unspecified error. If you change how the popup is shown/removed to using visible instead of rendered it will through the 800a025e error which is a known issue with the FCKEditor. I have an example if you need one.

        Show
        Arran Mccullough added a comment - This is the unspecified error. If you change how the popup is shown/removed to using visible instead of rendered it will through the 800a025e error which is a known issue with the FCKEditor. I have an example if you need one.
        Hide
        yip.ng added a comment -

        Suggested fix applied to fix error 800a025e.
        Don't know how to fix the other (Unspecified) error. The error message is useless, and when I say Yes to Debug, the script debugger just comes up totally blank.

        Show
        yip.ng added a comment - Suggested fix applied to fix error 800a025e. Don't know how to fix the other (Unspecified) error. The error message is useless, and when I say Yes to Debug, the script debugger just comes up totally blank.
        Hide
        yip.ng added a comment -

        Finally got the error line to display in the Script Debugger. See screenshot-3. Now we need to figure out how to debug and fix this. The FCKeditor source code is actually scrambled and then zipped, so to debug and change it requires a few extra tedious steps.

        Show
        yip.ng added a comment - Finally got the error line to display in the Script Debugger. See screenshot-3. Now we need to figure out how to debug and fix this. The FCKeditor source code is actually scrambled and then zipped, so to debug and change it requires a few extra tedious steps.
        Hide
        yip.ng added a comment -

        Suggested fix applied for error 800a025e. Issue of "unspecified error" split into ICE-3572.

        Show
        yip.ng added a comment - Suggested fix applied for error 800a025e. Issue of "unspecified error" split into ICE-3572 .

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: