You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Marcel Huber <ma...@fashionfriends.ch> on 2014/09/08 11:17:04 UTC

Forms require that the request method be POST and that the t:formdata query parameter have values

Hi,

We use Tapestry 5.2.6 and we have this Exception quite often in our logs:
[2014-09-07 21:18:27,951][ERROR] AppModuleBase.FFRequestExceptionHandler
[qe-shop] Processing of request failed with uncaught exception: Forms
require that the request method be POST and that the t:formdata query
parameter have values.
org.apache.tapestry5.ioc.internal.OperationException: Forms require that
the request method be POST and that the t:formdata query parameter have
values. [at
classpath:ch/fashionfriends/client/http/pages/checkout/CheckoutBasket.tml,
line 11]
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:102)…
…
[2014-09-07 21:18:27,955][ERROR] layout.ExceptionReportHandler [qe-shop]
ffReportException: [org.apache.tapestry5.ioc.internal.OperationException:
Forms require that the request method be POST and that the t:formdata query
parameter have values. [at
classpath:ch/fashionfriends/client/http/pages/checkout/CheckoutBasket.tml,
line 11]] caused by uri [/de/checkout/basket.basketform] [MUser [@7ada6333]
<userId=MUserId <persistenceId=0,
artificialId=2efaf248-1f54-4b2e-afe5-dbcdcc3c1609,
instanceId=ClientID[748], lastInstanceUpdate=1410116735467>, firstName=,
middleName=, lastName=, roles=null, loggedIn=false>] User-Agent
[Mozilla/5.0 (Linux; U; Android 4.1.2; de-de; GT-I8190N Build/JZO54K)
AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30]
Referer [null]

We can't explain, where this exception is comming from and how to fix it.
All we know is, there are mostly Safari user and it happens on all forms
and it's not bot problem.

Does anybody have a idee what that is and what we can do to fix it?

thx

-- 
Marcel
owns his style.

Application Engineer

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

Posted by Lance Java <la...@googlemail.com>.
Most likely a bot crawling your site. You may choose to suppress this
logging for crawlers. This can be done by maintaining a list of crawler
user agents and checking the user agent request header before logging.

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

Posted by Dmitry Gusev <dm...@gmail.com>.
Hi,

That could be an autocomplete feature of browser's address bar -- which
autocompletes form's submission URL.

Or it could be that user submits a form and it takes too long to process
it, and during that time user clicks to browser's address bar and hits
Enter (which issues HTTP GET request).


On Mon, Sep 8, 2014 at 1:17 PM, Marcel Huber <marcel.huber@fashionfriends.ch
> wrote:

> Hi,
>
> We use Tapestry 5.2.6 and we have this Exception quite often in our logs:
> [2014-09-07 21:18:27,951][ERROR] AppModuleBase.FFRequestExceptionHandler
> [qe-shop] Processing of request failed with uncaught exception: Forms
> require that the request method be POST and that the t:formdata query
> parameter have values.
> org.apache.tapestry5.ioc.internal.OperationException: Forms require that
> the request method be POST and that the t:formdata query parameter have
> values. [at
> classpath:ch/fashionfriends/client/http/pages/checkout/CheckoutBasket.tml,
> line 11]
> at
>
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:102)…
> …
> [2014-09-07 21:18:27,955][ERROR] layout.ExceptionReportHandler [qe-shop]
> ffReportException: [org.apache.tapestry5.ioc.internal.OperationException:
> Forms require that the request method be POST and that the t:formdata query
> parameter have values. [at
> classpath:ch/fashionfriends/client/http/pages/checkout/CheckoutBasket.tml,
> line 11]] caused by uri [/de/checkout/basket.basketform] [MUser [@7ada6333]
> <userId=MUserId <persistenceId=0,
> artificialId=2efaf248-1f54-4b2e-afe5-dbcdcc3c1609,
> instanceId=ClientID[748], lastInstanceUpdate=1410116735467>, firstName=,
> middleName=, lastName=, roles=null, loggedIn=false>] User-Agent
> [Mozilla/5.0 (Linux; U; Android 4.1.2; de-de; GT-I8190N Build/JZO54K)
> AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30]
> Referer [null]
>
> We can't explain, where this exception is comming from and how to fix it.
> All we know is, there are mostly Safari user and it happens on all forms
> and it's not bot problem.
>
> Does anybody have a idee what that is and what we can do to fix it?
>
> thx
>
> --
> Marcel
> owns his style.
>
> Application Engineer
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com