Page MenuHomePhabricator

Log server-side validation failure of form submits
Closed, ResolvedPublic3 Estimated Story Points

Description

Currently, the donation and membership forms don't handle a server roundtrip with invalid data well. We rely on the client-side code to be so good that server-side validation errors don't occur. However, we have no idea if the client always sends valid data. As a first step of rectifying this, we need to log server-side validation failure of form submits.

AC:

  • Whenever the input validation in the controller of donation/add or apply-for-membership fails, log the validation error and the posted data as a WARNING

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Vvjjkkii renamed this task from Log server-side validation failure of form submits to p8daaaaaaa.Jul 1 2018, 1:14 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
Mainframe98 renamed this task from p8daaaaaaa to Log server-side validation failure of form submits.Jul 1 2018, 7:59 AM
Mainframe98 raised the priority of this task from High to Needs Triage.
Mainframe98 updated the task description. (Show Details)
Mainframe98 added a subscriber: Aklapper.
kai.nissen set the point value for this task to 3.
Tim_WMDE moved this task from Doing to Review on the WMDE-Fun-Sprint-2018-10-01 board.
Tim_WMDE added a subscriber: Tim_WMDE.
Tim_WMDE moved this task from Doing to Review on the WMDE-Fun-Sprint-2018-10-01 board.