getgrav / grav-plugin-login

Grav Login Plugin
http://getgrav.org
MIT License
44 stars 54 forks source link

Multiple Select field bug #257

Open no10staples opened 4 years ago

no10staples commented 4 years ago

If I use a Select field with Multiple true on a Profile page, if I unselect everything, the field value in the user.yaml is not changed from its previous value. I believe the offending line is if (!isset($data[$field]) && isset($data_field)) { in login.php line 940.

mahagr commented 4 years ago

Are you on Grav 1.6 or Grav 1.7? IMHO this issue has been fixed in the new Flex Users if you upgrade to Grav 1.7 and Admin 1.10.

no10staples commented 4 years ago

1.6. I am a bit apprehensive at the thought of migrating over to 1.7 at the moment in case other things break :-).

mahagr commented 4 years ago

Grav 1.7 is pretty stable already and it would be nice if you could at least test it out and report back if you find any bugs. We just need more testing to find the last bugs and issues.