Bug #80396

list module: Strange behavior with special fields

Added by Alexander Opitz over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2017-03-22
Due date:
% Done:

100%

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

Description

There are multiple issues with the special fields "_REF_", "_CONTROL_", "_CLIPBOARD_", ...

  • in DatabaseRecordList::fieldSelectBox there are special fields defined, but your selection can't be respected as AbstractDatabaseRecordList::generateList only respects 2 of them.
  • The special CONTROL do not need to be in the list as DatabaseRecordList::getTable add it anyway (and is maybe later removed if noControlPanels)
  • The special REF is only added if "dontShowClipControlPanels" is not true, which makes no sense (this attribute is true if you select something else then normal clipboard)
    • In 6.2 it also depended on MOD_SETTINGS['bigControlPanel'] why it was more or less always on unlike in v7/8
  • The special CLIPBOARD is automaticaly set if schowClipboard is true, so also do not need to be in the list of DatabaseRecordList::fieldSelectBox

Related issues

Related to TYPO3 Core - Epic #90676: Clipboard related bugs and featuresAccepted2020-03-07

Actions
Related to TYPO3 Core - Story #82206: list module enhancements/bugfixesNew2005-07-21

Actions

Also available in: Atom PDF