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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0.16
    • tapestry-core
    • 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.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: