#111514Workspaces module shows the language of all sites for moved records
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
-
Gerrit Code Review pushed patch set 1 for main to change 97855 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-20T08:55:35+00:00" > 11/20/26, 08:55 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97855 <span data-processor="relativetime" data-value="2026-11-20T16:42:33+00:00" > 11/20/26, 16:42 </span>