Review 10.4 Abandoned

67140[BUGFIX] Fetch localized record uid from the current page only

Dmitry Dulepov CR 0 V 0 Easy +1 −1 updated 10/20/21, 01:27

Commit message

DataHandler typically adds a pid clause to all queries when fetching
localized records. However this clause is missing in one place. If
there are translated elements that are on a different page then the
parent element's page, getPreviousLocalizedRecordUid() function
will find them while other functions will not. Such behavior will
corrupt data. This change makes sure that the function behaves
in the same way as other calls to fetch localized records.

This fix is contributed by the University of Basel.

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 1