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

        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)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: