Issue Feature Closed

#35273l10n_mode option mergeIfNotBlank should handle empty ids correctly

Christopher Hlubek 03/27/12, 13:25 updated 05/10/17, 20:51

Description

In t3lib_pageSelect->getRecordOverlay the 10n_mode option mergeIfNotBlank disables an overlay for a field of a record if the value is the empty string. For records with relations and a 0 as default value this causes problems when translating these records. Using exclude as l10n_mode is not always possible since this disables the fields in backend forms.

We should introduce a new option that allows to skip the overlay of a field if the value is 0.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.