Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1612

Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:

      Description

      updateZoneOnEvent : function(eventName, element, zoneId, url) {
      element = $(element);

      $T(element).zoneUpdater = true;

      var zoneElement = zoneId == '^' ? $(element).up('.t-zone')
      : $(zoneId);

      if (!zoneElement) {
      Tapestry
      .error(
      "Could not find zone element '#

      {zoneId}

      ' to update on #

      {eventName}

      of element '#

      {elementId}

      ",

      { zoneId : zoneId, eventName : eventName, elementId : element.id }

      );
      return;
      }

      There's a missing trailing apostrophe.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: