ICEfaces
  1. ICEfaces
  2. ICE-11370

ace:gMapEvent scriptToUse attribute renders 'null' instead of an empty string

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2, EE-3.3.0.GA_P05
    • Fix Version/s: EE-3.3.0.GA_P06
    • Component/s: None
    • Labels:
      None
    • Environment:
      Any

      Description

      When the 'scriptToUse' attribute in ace:gMapEvent is null it renders the string 'null' in the client-side callback function for which it was designed, instead of rendering an empty string. This causes Javascript errors because the null keyword appears out of context, making the function have incorrect syntax.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s 4.3 [ 13096 ]
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Hide
        Arturo Zambrano added a comment -

        r52022, r52023: added check for null value to render the empty string instead (4.0 trunk and 3.3 EE maintenance branch)

        Show
        Arturo Zambrano added a comment - r52022, r52023: added check for null value to render the empty string instead (4.0 trunk and 3.3 EE maintenance branch)
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52022 Thu Oct 19 15:48:58 MDT 2017 art.zambrano ICE-11370 added check for null value to render the empty string instead
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapEventRenderer.java
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
        Fix Version/s 4.3 [ 13096 ]
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: