Tapestry 5
  1. Tapestry 5
  2. TAP5-326

Class org.apache.tapestry5.internal.structure.BlockImpl should implement toString()

    Details

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

      Description

      This class does appear in some exception messages and a useful toString() would make debugging errors (in this case, an Ajax request exception) much easier.

      A component event handler method returned the value org.apache.tapestry5.internal.structure.BlockImpl@160ba2e7. Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. Configured return types are java.lang.Class, java.lang.String, java.net.URL, org.apache.tapestry5.Link, org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Component.

      There are a couple of other implementions of Block that should also implement toString() for the same reason.

        Activity

        There are no comments yet 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