Issue Bug Closed

#80396list module: Strange behavior with special fields

Alexander Opitz 03/22/17, 15:01 updated 09/29/20, 15:07

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

Reviews 2