Closed mstudio-dev closed 9 years ago
@qzminski could be a time-filler for you? :-)
Fixed in 26e4fca.
The problem lied in the below line of registration module. The username is obviously empty in this case and the only way we can alter it is through the model that is already in the model registry.
https://github.com/contao/core/blob/master/system/modules/core/modules/ModuleRegistration.php#L450
Looks good, but:
null
on the findByPk()
method?Can you fix both then please? Coding style for old code and the null-check?
Both fixed in 677308f and a34d17e. It now uses the Model::refresh()
method instead of overidding the username value.
Funzt. Thank You!
Ich bekomme bei C 3.5.0 einen Error: "Column 'username' cannot be null". Liegt vielleicht daran, dass sich bei 3.5 das Feld geändert hat: 'sql' => "varchar(64) COLLATE utf8_bin NULL" (3.4.5: 'sql' => "varchar(64) COLLATE utf8_bin NOT NULL default ''")