Skip to content
Snippets Groups Projects
Commit 7a205224 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[TASK] Allow NULL for TCA type "json" fields

When using TCA type "json", corresponding database
column is automatically generated - if not already
defined. This column is now configured as nullable
to prevent SQL errors in case no default value has
been defined.

Resolves: #100156
Related: #100154
Related: #100101
Related: #100088
Releases: main
Change-Id: Ib9f6f17d33ed2af8f5b2128a68cb16d438feb22b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78109


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
parent 008a7af0
Branches
Tags
No related merge requests found
......@@ -517,7 +517,7 @@ class DefaultTcaSchema
$this->quote($fieldName),
'json',
[
'notnull' => true,
'notnull' => false,
]
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment