Project

General

Profile

Actions

Bug #103610

closed

Ensure correct default value normalization for MySQL

Added by Stefan Bürk 28 days ago. Updated 23 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-04-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Default value support for TEXT, JSON and BLOB fields
has been added with #103578 by implementing the use
of default value expression for MySQL. That required
to add custom normalization on data schema reads to
be comparable.

MySQL requires to use a single-quote to quote a single
quote in a value string, and due to the expression way
this needs to be properly decoded now in two steps:

  • Revert escape sequences in the retrieved default value
  • Unquote the unescaped retrieved default value

JSON field defaults shows a similar issue for double
quotes in the json value and can be fixed in the same
way.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #103578: Add database default value support for TEXT, BLOB and JSON field typesResolvedStefan Bürk2024-04-09

Actions
Related to TYPO3 Core - Task #103730: Remove temporary bugfix from `PostgreSQLSchemaManager`ResolvedStefan Bürk2024-04-25

Actions
Actions #1

Updated by Stefan Bürk 28 days ago

  • Related to Feature #103578: Add database default value support for TEXT, BLOB and JSON field types added
Actions #2

Updated by Gerrit Code Review 28 days ago

  • Status changed from New to Under Review

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83745

Actions #3

Updated by Gerrit Code Review 28 days ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83745

Actions #4

Updated by Gerrit Code Review 28 days ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83745

Actions #5

Updated by Gerrit Code Review 23 days ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83745

Actions #6

Updated by Gerrit Code Review 23 days ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83745

Actions #7

Updated by Gerrit Code Review 23 days ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83745

Actions #8

Updated by Stefan Bürk 23 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Stefan Bürk 14 days ago

  • Related to Task #103730: Remove temporary bugfix from `PostgreSQLSchemaManager` added
Actions

Also available in: Atom PDF