Issue Bug Under Review

#111514Workspaces module shows the language of all sites for moved records

Ingo Hollmann 11/20/26, 08:50 updated 11/20/26, 16:42

Description

In the workspaces module, a record that was moved inside the workspace is listed with the language label of every site, e.g. “Albania [Site: albania], Albania [Site: albania_la…]”, instead of the language of its site.

WorkspaceService::selectMoveVersionsInWorkspace() selects wspid and livepid but no pid. GridDataService::generateDataArray() takes $pageId = (int)($record['pid'] ?? null), which is 0 for these rows, and TranslationConfigurationProvider::getSystemLanguages(0) returns the languages of all sites.

Reproduce:
two sites, move a content element in a workspace, open the workspaces module.

Affected:
13.4.40, 14.3, main.

Fix:
use $record['wspid'] when pid is missing.

Reviews 1

History 02