User tests: Successful: Unsuccessful:
It's not possible to create a module in J4. An error is displayed:
Save failed with the following error: Field 'content' doesn't have a default value
I guess it is not required to have a content for the module, so we can remove it from the table structure.
@alikon can you help me out with the update script of postgres?
Status | New | ⇒ | Pending |
Category | ⇒ | SQL Administration com_admin Installation Postgresql |
Labels |
Added:
?
|
There is an update file. Only the one for postgres is missing.
I guess we are here fine.
You need to use Alter Column in the mysql change please otherwise the schema checker (https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Schema/ChangeItem/MysqlChangeItem.php) won't pick it up
There is no Alter Column
or do I miss something here?
OK I'm just being dumb. We also have support for change https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Schema/ChangeItem/MysqlChangeItem.php#L168
But looks like currently it's only going to work for changing column types. Not for swapping things to not null. In fact the "kludge" for integer unsigned is going to trigger with TEXT NULL
tho right? https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Schema/ChangeItem/MysqlChangeItem.php#L170-L176
Where do we stay here? I think it would be not bad when we release the next alpha to be able to create modules.
But looks like currently it's only going to work for changing column types. Not for swapping things to not null. In fact the "kludge" for integer unsigned is going to trigger with TEXT NULL tho right?
After PR and database fix, the modules table stayed the same.
Tested with 5.5.5-10.1.29-MariaDB
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-05-30 22:51:29 |
Closed_By | ⇒ | wilsonge |
Looks good to me. Can you do some update files as well please - I want to start gearing up for a 3.9 alpha 1 where you can upgrade to 4.0