digitalfondue / lavagna

Lavagna: issue tracker/project management tool
http://lavagna.io
GNU General Public License v3.0
636 stars 110 forks source link

Profile notification parameters does not saved #59

Closed ejouvin closed 7 years ago

ejouvin commented 7 years ago

On my instance, in the "My Profile" page, both notification parameters are not correctly saved. Even if checkbox are selected, options are not enabled.

The saving request payload is something like :{"email":"MY EMAIL","displayName":"MY NAME","emailNotification":true,"skipOwnNotifications":true}

And then the GET request on /api/self contains the following: "userMetadata":{"showArchivedProjects":false,"showArchivedBoards":false},"id":2,"provider":"ldap","username":"MY LOGIN","email":"MY EMAIL","displayName":"MY NAME","emailNotification":false,"memberSince":"2017-01-12T23:07:44.000Z","skipOwnNotifications":false}

I checked on the database, value stored are false.

syjer commented 7 years ago

Hi @ejouvin , you are right, we will fix it asap!

syjer commented 7 years ago

pushed the fix, thank you!

ejouvin commented 7 years ago

👍