ICEfaces
  1. ICEfaces
  2. ICE-6858

JavaScript error thrown when typing inside an inputText component used in a treeNode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P02, EE-1.8.2.GA_P03, 3.0, EE-3.0.0.BETA
    • Fix Version/s: EE-1.8.2.GA_P04, 3.1.0.BETA1, 3.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      When using an inputText component in the content section of a treeNode, a JavaScript error is thrown for every key press inside the inputText component.

      JavaScript error: G.firstChild is null

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment inputTreeNode-error.JPG [ 13219 ]
        Attachment InputTreeNode.war [ 13220 ]
        Hide
        Sebri Zouhaier added a comment -

        ICEfaces version : 1.8(.2)
        Use case : Using an input text as a node in tree to modify the display text, so I add a change value listener to submit the new value.
        It works fine but I get a JavaScript error : Object required (ice-extras.js) witch is caused by this instruction G&& G.firstChild.getAttribute and to avoid this js error I change it to BY G&&G.firstChild&&G.firstChild.getAttribute.

        Show
        Sebri Zouhaier added a comment - ICEfaces version : 1.8(.2) Use case : Using an input text as a node in tree to modify the display text, so I add a change value listener to submit the new value. It works fine but I get a JavaScript error : Object required (ice-extras.js) witch is caused by this instruction G&& G.firstChild.getAttribute and to avoid this js error I change it to BY G&&G.firstChild&&G.firstChild.getAttribute.
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
        Assignee Priority P2
        Assignee Mark Collette [ mark.collette ]
        Arran Mccullough made changes -
        Salesforce Case []
        Affects Version/s EE-3.0.0.BETA [ 10324 ]
        Affects Version/s 3.0 [ 10241 ]
        Affects Version/s EE-1.8.2.GA_P03 [ 10251 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.1 [ 10312 ]
        Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2 P1
        Assignee Mark Collette [ mark.collette ] Mircea Toma [ mircea.toma ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28624 Tue Apr 03 14:21:14 MDT 2012 mircea.toma ICE-6858 Add extra test to verify the existence of element's first child.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/treeNavigator.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28625 Tue Apr 03 14:22:56 MDT 2012 mircea.toma ICE-6858 Add extra test to verify the existence of element's first child before operating on this child.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
        Hide
        Mircea Toma added a comment -

        Added extra test to verify the existence of element's first child before operating on this child.

        Show
        Mircea Toma added a comment - Added extra test to verify the existence of element's first child before operating on this child.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 3.1.0.BETA1 [ 10335 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: