[#422] signUpClient error "Integrity constraint violation: 1048 Column 'phone' cannot be null"

Migrated from Redmine #422 | Author: Guillaume Cambon
Status: New | Priority: Normal | Created: 2019-09-02


Hello,
after making the phone field optional, via the adminstrative UI, I am trying to register a new user via the API.

With request:
{“method”:“signUpClient”,“params”:[{“name”:“jambon”,“email”:“test@qwd.qwd”,“password”:“awd”}],“id”:1}

I then get the following error:
{“error”:{“code”:-32000,“message”:“SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘phone’ cannot be null”,“data”:null},“id”:“1”}

Redmine Admin wrote:

hi, you still need to pass some placeholder value, e.g. 0000