Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update an admin - image can't be set #39

Closed
noxify opened this issue Apr 24, 2017 · 1 comment
Closed

Unable to update an admin - image can't be set #39

noxify opened this issue Apr 24, 2017 · 1 comment
Assignees

Comments

@noxify
Copy link
Contributor

noxify commented Apr 24, 2017

Hi,

with a fresh laravel project i see always the following error message even when iI try to update my own admin user (e.g. change firstname from "A" to "B")

 Validation error: The field in conflict is highlighted below. Your submission was not saved.

It seems that there is something wrong in the validation :)

  • OSX with MAMP (PHP7.1 and mysql5.6 (but same with pgsql)
  • Laravel 5.4.19
  • Decoy dev-master
@weotch weotch self-assigned this Apr 25, 2017
@noxify
Copy link
Contributor Author

noxify commented Apr 25, 2017

I'm not sure if it's just a "user handling" or if there is something wrong while highlighting the fields...

Anyway... i have added the debugbar and modified the ModelValidator

array:1 [ 0 => "The image must be an image." ]

After adding a valid image i assumed that it should be possible to save the record.
But it seems that the image isn't uploaded.

@noxify noxify changed the title Unable to update my own admin account Unable to update an admin - image can't be set Apr 25, 2017
@weotch weotch closed this as completed in 0d8c95c Apr 26, 2017
weotch added a commit that referenced this issue Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants