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

ZoneRefresh mixin should check for XHR requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:

      Description

      ZoneRefresh mixin returns always Block, even if the request is not a XHR request which leads to errors in the logfile.

      This happens when crawlers load the URL with normal http GET request:

      org.apache.tapestry5.ioc.util.UnknownValueException: A component event handler method returned the value <PlaceholderBlock>. Return type org.apache.tapestry5.internal.structure.ComponentPageElementImpl$PlaceholderBlock can not be handled.

      Going to attach patch soon!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                felixgonschorek Felix Gonschorek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: