Skip to content
Snippets Groups Projects
  1. Mar 17, 2017
  2. Mar 16, 2017
  3. Mar 15, 2017
  4. Mar 14, 2017
  5. Mar 13, 2017
  6. Mar 12, 2017
  7. Mar 11, 2017
    • Oliver Hader's avatar
      [BUGFIX] Add allowLanguageSynchronization chain resolving · e7217da4
      Oliver Hader authored
      Currently the localization behavior does not consider localization
      chains concerning field values to be synchronized over multiple
      localization hops that use the relative l10n_state "source".
      
      Imagine the following scenario of content elements:
      * { uid:10, sys_language_uid:0, l18n_parent:0, l10n_source:0,
          header:Value, l10n_state:null }
      * { uid:11, sys_language_uid:1, l18n_parent:10, l10n_source:10,
          header:Value, l10n_state:{header:parent} }
      * { uid:12, sys_language_uid:2, l18n_parent:10, l10n_source:11,
          header:Value, l10n_state:{header:source} }
      
      Now if the record of the default language (uid:10) will be updated and
      the header value set to "Modified", only direct dependents would be
      synchronized. The automated update of the direct-child localization
      record (uid:11) does not trigger another update for the grand-child
      localization (uid:12).
      To achieve this, the data-map processor has been extended to collect
      new modifications to the data-map caused by synchronization processes
      - as long as modifications could be determined, another synchronization
      round is triggered for the modified items.
      This way the localization chain is completely synchronized if required,
      depending on the according l10n_state settings.
      
      Change-Id: Ic08460f3ed0071f3dca6c6d1666031895bc3d832
      Resolves: #80141
      Releases: master
      Reviewed-on: https://review.typo3.org/51952
      
      
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
      Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
      Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
      Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
      e7217da4
  8. Mar 10, 2017