Problem/Motivation

Translatable fields that are hidden from an entity’s default display may get sorted (and sent to Lingotek) before visible fields, due to the fact that they don’t have an explicit weight in the display mode.

Steps to reproduce

Proposed resolution

Use SortArray::sortByWeightElement() (with a default weight for hidden fields) instead of SortArray::sortByKeyString() in LingotekContentTranslationService::getSourceData().

Remaining tasks

User interface changes

API changes

Data model changes

Comments

antiorario created an issue. See original summary.

  • antiorario committed e459e7c on 3285837-proper-sorting-of
    Issue #3285837: Proper sorting of translatable fields by weight

  • antiorario committed 372a8be on 3.8.x
    Issue #3285837: Proper sorting of translatable fields by weight
antiorario’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.