Review main Abandoned

81019[BUGFIX] Fix CKEditor5 migration for contentsCss with query strings

Benjamin Franzke CR 0 V 0 Easy +47 −2 updated 10/02/23, 10:46

Commit message

In TYPO3 v11 a query string needed to be appended to RTE contentCss
resource configuration in order to enforce browser cache busting when
the CSS file was changed by an integrator.

Since TYPO3 v12 the resource is preprocessed which means the query
string must be stripped as it will not be found in the filesystem.

The migrator is adapted to automatically remove query strings.
It is expected that manually migrated configurations (those that
already switched to the newer array notation) do not need this
workaround, as they have already been migrated, and needed to
remove the query string anyway.

Still, to prevent a similar PHP warning, a logged warning is
emitted instead of assuming the configured file always exists.
This way invalid filepaths are now explicitly ignored instead
of implicitly (happened because their delegated resource request
failed due to the mentioned query string).

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3