#110962List module shows empty MM relation columns (e.g. categories) for records modified in a workspace
Description
When a live record is modified in a workspace and an MM relation (e.g. `categories` of type category, or any `select`/`group` field with `MM`) is changed there, the List module shows the column empty (or with the live relations) in that workspace, although the record’s edit form shows the relations correctly.
## Steps to reproduce
1. Create a record with a `categories` field (e.g. a page/tt_content/news record) in LIVE without any categories and publish it.
2. Switch to a workspace and edit the record: assign a category and save.
3. Open the List module in the workspace and show the `categories` column (field selection / “Show columns”).
Expected: the column shows the category assigned in the workspace (as the edit form does).
**Actual:** the column is empty.
Records that are new in the workspace are displayed correctly; only modified (overlaid) live records are affected.
## Cause
In `DatabaseRecordList::renderListRow()` the processed value is fetched with
```php
BackendUtility::getProcessedValueExtra($table, $fCol, $row[$fCol], 100, $row[‘uid’], true, $pageId, $row);
```
After the workspace overlay, `$row[‘uid’]` is the uid of the live record, while the MM rows of the changed relation are stored with the uid of the workspace version (`$row[‘_ORIG_uid’]`). `getProcessedValueExtra()` → `getProcessedValue()` resolves MM relations via the passed uid, so it reads the live relations.
## Proposed fix
Pass the uid of the workspace version if there is one:
```php
$recordUid = $row[‘_ORIG_uid’] ?? $row[‘uid’];
```
(on main: `$record->getComputedProperties()->getVersionedUid() ?? $record->getUid()`).
A patch will follow on Gerrit.
## Related
The same “live uid vs. versioned MM relations” issue exists in Extbase: `$query->contains(‘categories’, X)` is turned into `uid IN (SELECT uid_foreign FROM sys_category_record_mm …)`, evaluated against the live uid, so in workspace previews category changes of modified records are not found (e.g. EXT:news category lists). That is a separate, larger topic and not part of this issue.
Found on TYPO3 13.4.35, PHP 8.3; code is the same on main.
Reviews 1
History 07
-
Gerrit Code Review pushed patch set 1 for main to change 96531 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-08T10:59:31+00:00" > 10/08/26, 10:59 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96531 <span data-processor="relativetime" data-value="2026-10-08T11:13:43+00:00" > 10/08/26, 11:13 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96531 <span data-processor="relativetime" data-value="2026-10-09T06:29:53+00:00" > 10/09/26, 06:29 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96531 <span data-processor="relativetime" data-value="2026-10-12T06:10:57+00:00" > 10/12/26, 06:10 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 96531 <span data-processor="relativetime" data-value="2026-10-12T19:24:23+00:00" > 10/12/26, 19:24 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 96531 <span data-processor="relativetime" data-value="2026-11-03T15:08:31+00:00" > 11/03/26, 15:08 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 96531 <span data-processor="relativetime" data-value="2026-11-16T07:55:48+00:00" > 11/16/26, 07:55 </span>