Project

General

Profile

Actions

Bug #28882

closed

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

Added by Simon Apold over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2011-08-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Files

patch.diff (563 Bytes) patch.diff Simon Apold, 2011-08-10 08:45
Actions

Also available in: Atom PDF