[ 
https://issues.apache.org/jira/browse/UNOMI-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Serge Huber reassigned UNOMI-1042:
----------------------------------

    Assignee: Serge Huber

> Tracker: a tracked form is submitted without the button that was clicked
> ------------------------------------------------------------------------
>
>                 Key: UNOMI-1042
>                 URL: https://issues.apache.org/jira/browse/UNOMI-1042
>             Project: Apache Unomi
>          Issue Type: Sub-task
>          Components: unomi-tracker
>            Reporter: Serge Huber
>            Assignee: Serge Huber
>            Priority: Major
>             Fix For: unomi-tracker-1.6.0, unomi-tracker-2.0.0
>
>
> On a form that Unomi tracks, the server no longer receives which submit 
> button was used (for example "Save" or "Delete"), so forms with several 
> buttons can do the wrong thing.
> Cause: once the form event is sent, the tracker submits the form with 
> form.submit(), which leaves out the button, and its copy of the submit event 
> has no submitter.
> Fix: the button's name and value are sent with the form, as a native submit 
> does, and the copy of the event keeps the submitter. Covered by browser tests 
> against each Unomi server.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to