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

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #580 (See https://builds.apache.org/job/tapestry-trunk-freestyle/580/)
        TAP5-1612: Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found

        hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185415
        Files :

        • /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #580 (See https://builds.apache.org/job/tapestry-trunk-freestyle/580/ ) TAP5-1612 : Tapestry.updateZoneOnEvent() has a poorly formatted message when the element is not found hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185415 Files : /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js

          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