Tapestry 5
  1. Tapestry 5
  2. TAP5-1612

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development