namelesscoder/inline-fal-fix

There is no license information available for the latest version (1.1.1) of this package.

Installs: 240

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.1.1 2017-09-18 17:01 UTC

This package is auto-updated.

Last update: 2024-12-12 04:49:10 UTC


README

This TYPO3 extension exists for a sole purpose: to fix the bug reported on https://forge.typo3.org/issues/82221

Strategy

The workaround is implemented by hooking into DataHandler to perform the following logic when in a draft workspace:

  1. Catching copies of records that contain flex type fields in tables that are workspaces enabled
  2. Parsing the DataSource for each field to detect any inline field types
  3. Copying the flex column value from the record that has the correct value to the one that doesn't (see issue)
  4. Reading the related records for the draft version of the parent record
  5. Updating all relation-specific column values from the record that has the right values to the other (see issue)

The result is a corrected database record structure for both the draft and placeholder records, which prevents the described duplication issue when the workspace is published.

Installation

The extension is available through Packagist:

composer require namelesscoder/inline-fal-fix

The extension can also be downloaded manually from GitHub and installed on non-composer enabled TYPO3 sites.

Rationale

The reason this extension exists is the rather long perspective of solving this problem in the TYPO3 core itself. This could take a significant amount of time - meanwhile, this extension is provided to work around the specific issue until an official fix can be released.