Issue Bug Closed

#110587Record history displays frontend users as backend users

Benni Mack 09/01/26, 19:26 updated 09/08/26, 10:03

Description

ElementHistoryController::displayHistory() resolves the author with $beUserArray[$entry['userid']], and Workspaces\Service\HistoryService::getHistoryEntry() with BackendUtility::getRecord('be_users', $entry['userid']). Neither evaluates the usertype column of sys_history.

Since #107289 (v14.2), ExtbaseHistoryTracker writes entries with usertype = 'FE' and a frontend user uid. A change made by frontend user 3 is
therefore attributed on screen to backend user 3.

ElementInformationController and Recycler\Service\RecyclerService already guard this with usertype === 'BE'; the history module and the workspaces panel do not.

Expected: resolve be_users only when usertype is BE, and render frontend and anonymous entries with their own label instead of a backend user name.

Reviews 2

History 36

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-02T11:00:10+00:00" > 09/02/26, 11:00 </span>

    Applied in changeset commit:48b9dec68c64c922dff312969a108a6e255568fb.

  2. Gerrit Code Review pushed patch set 2 for 14.3 to change 95557 status Resolved Under Review <span data-processor="relativetime" data-value="2026-09-02T11:20:57+00:00" > 09/02/26, 11:20 </span>

  3. Benni Mack commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-09-02T11:45:09+00:00" > 09/02/26, 11:45 </span>

    Applied in changeset commit:75963ca60dba7055d3785436f72186b0db8ac624.