Issue Bug Closed

#28882Workspace module - diff-view should only show fields configured in TCA 'showRecordFieldList'

Simon Apold 08/10/11, 08:45 updated 10/02/18, 12:20

Description

Hi,

i found a bug in the detailed diff-view of the workspace module.
If a tt_news record (or another extension-record) is listed as a new version in the workspace module, the diff-view shows all modified DB fields (uid, pid, crdate, l18n_diffsource, etc.). The correct behaviour would be that it just shows the modified fields configured in $TCA[tablename][interface][showRecordFieldList].

There is such a query in the sources but it expects that the whole TCA Array for every table is loaded. You have to load the TCA for each table with t3lib_div::loadTCA(tablename).

I attached a patch file to fix this bug.

Regards,
Simon

Reviews 0

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