thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

500 (Internal Server Error) whenever the Add/Edit User form is not completely filled #4979

Closed nuhu-ibrahim closed 4 years ago

nuhu-ibrahim commented 4 years ago

Version information

Description

Whenever an attempt to create or edit a user is made without filling the entire form, the application throws a 500 (Internal Server Error) because of null values. Apparently, that is because no server-side validation is performed for user input and client-side (HTML) validation is also not enforced.

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Install Voyager and Login
  2. Click on Users
  3. Click on Add New
  4. Partially fill the form and Click Save
  5. You will see a 500 (Internal Server Error)

Expected behaviour

Performs both client-side and server-side validation

Screenshots

image

MrCrayon commented 4 years ago

Duplicate of #3153

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.