Project

General

Profile

Actions

Task #73699

closed

#1443706103: TCA of table xyz misses required ['ctrl']['label'] definition.

Added by Stefan Froemken about 8 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2016-02-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:

Description

Hello,

I currently get the error from above.

But in TCA I render my own title:

'title' => 'WhatEver',
'label_userFunc' => 'JWeiland\\MyExt\\Tca\\Label->getTitle',
'tstamp' => 'tstamp',

Please do not test, if key "label" exists. Test, if a title was generated.

Stefan

Actions #1

Updated by Christian Kuhn about 8 years ago

  • Tracker changed from Bug to Task

[ctrl][label] was defined as "required" ever since. The only difference to 7 compared to 6.2 is that 7 now actively throws an exception if not set.

If we throw this exception away in FormEngine, other parts of the core may throw warnings or similar.

Thus, I'd rather keep it for now, except if a possible patch looks at all other usages in the core and maybe sanitizes them accordingly, and additionally adds a .rst file declaring this modification.

Actions #2

Updated by Riccardo De Contardi almost 8 years ago

  • Target version changed from 7.6.3 to Candidate for Major Version
Actions #3

Updated by Christian Kuhn about 7 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF