atk4 / ui

Robust and easy to use PHP Framework for Web Apps
https://atk4-ui.readthedocs.io
MIT License
440 stars 105 forks source link

Always emit an exception when some expected POST param is not set #2059

Closed mvorisek closed 1 year ago

mvorisek commented 1 year ago

$_POST[$k] ?? null fallback is unwanted as it can signal some POST params not passed correctly.

(a php notice is emit and it is converted to exception by our error handler)

When form is generated using Form or other atk4/ui components, the params should be always set and no BC break should be implied.