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

Can not login, if be_users table is extended #2

Open
scheibome opened this issue Apr 23, 2018 · 4 comments
Open

Can not login, if be_users table is extended #2

scheibome opened this issue Apr 23, 2018 · 4 comments
Assignees
Milestone

Comments

@scheibome
Copy link
Contributor

Can not login, if be_users table is extended.
Reason: If a column is edit with no default value, the insert statement in 't3am/Classes/UserRepository.php' in line 82 fails with Errormessage 'Field 'tx_mydashboard_config' doesn't have a default value'.

The field tx_mydashboard_config is in this case of type text wich can't have a default value.

@sbusemann
Copy link
Contributor

sbusemann commented Apr 23, 2018

@sbusemann sbusemann added this to the 2.0 milestone Feb 1, 2019
@sbusemann sbusemann self-assigned this Feb 1, 2019
@sbusemann
Copy link
Contributor

@scheibome which side was extended, client or server. I tested to extend the client side and it worked.

@Huaba
Copy link

Huaba commented Feb 2, 2019

  1. it's important to have mysql running in strict mode
  2. client side has to be extended

@sbusemann sbusemann modified the milestones: 2.0, Backlog May 24, 2019
@IchHabRecht
Copy link

IchHabRecht commented Jun 4, 2019

Maybe it would be better to use the DataHandler to create new users as the TCA and default values are handled automatically.

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

4 participants