Bug #86092

Do not fetch type=none fields from db in list module

Added by Christian Kuhn over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-09-03
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Related issues

Related to TYPO3 Core - Bug #86167: Having a field in TCA but not in database makes the DatabaseIntegrityCheck crash Closed 2018-09-06
Related to TYPO3 Core - Bug #80660: TCA show userfunc columns New 2017-04-03

Associated revisions

Revision 7dc2e8af (diff)
Added by Christian Kuhn over 1 year ago

[BUGFIX] Do not fetch type=none fields from db in list module

A type=none TCA field is the only field type that is entirely ignored
by DataHandler. An incoming value for such a field is discarded in
checkValue_SW() method and not persisted to db.
The list and query modules should not try to fetch this field type
from database, and a type=none field should not be selectable in
list module single table view.
If a field exists in db and should just be formatted and displayed
readOnly, type=input with readOnly=true is a better option.

Resolves: #86092
Releases: master
Change-Id: Ie3b8e966de66bfd7820b6a17853d4ad591480502
Reviewed-on: https://review.typo3.org/58133
Reviewed-by: Andreas Fernandez <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58133

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58133

#3 Updated by Christian Kuhn over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Georg Ringer over 1 year ago

  • Related to Bug #86167: Having a field in TCA but not in database makes the DatabaseIntegrityCheck crash added

#5 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

#6 Updated by Georg Ringer over 1 year ago

  • Related to Bug #80660: TCA show userfunc columns added

Also available in: Atom PDF