Review main Abandoned Breaking

54649[WIP][!!!][TASK] Remove sys_language_uid=-1 support

Benni Mack CR 0 V 0 Hard +78 −205 updated 12/06/17, 10:09

Commit message

The "All Languages" functionality is removed for TYPO3, thus, not evaluated
nor selectable in TYPO3 Frontend or Backend.

Instead, an upgrade wizard ensures that the the existing "-1" records
are migrated towards "0" and localized records are translated.

This solves a couple of issues:
- Paves the way for going further with "non-overlaid" record fetching in FE
- Current issues with free/connected mode in page module
- Inconsistent query handling
- Permission settings for editors trying to edit "their" language

This also means that:
- If a new sys_language gets added, the previous "-1" records must be translated
manually
- An editor limit to a language/translation could see but also disable/enable this
element because it is in "his/her" language.

@TODO
- upgrade wizard: move all lang=-1 records to default language
  & localized (clone) into according sys_language.uid languages
- consider nested IRRE structures when localizing, e.g. introduce aggregate resolver
- TCA migration for language field (sys_language_uid) to remove -1 item
- TCA migration for foreign_table_where if only sys_language_uid=-1 is requested

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.

Files 42

Show 22 more files