Project

General

Profile

Actions

Feature #52443

closed

new Constants Editor type eint+

Added by Franz Holzinger over 10 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2013-10-01
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

The Constants Editor type int+ is not enough. If an integer checkbox is left empty, then it always adds a zero 0 to the constants. This leads to a wrong behaviour in some extensions and to a very long list of zero constants. A zero value is different to a not set empty value.

I propose to add a new type eint+. Empty values will not be added to the constants.
There is already the extension tsparser which implements this feature by XCLASSing the TYPO3 core.


Files

tsparser.diff (570 Bytes) tsparser.diff Franz Holzinger, 2013-10-01 21:15

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Actions #1

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.4 (Backend)
Actions #2

Updated by Susanne Moog almost 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #3

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.5 to 8 LTS
Actions #4

Updated by Riccardo De Contardi over 8 years ago

  • Category set to TypoScript
Actions #5

Updated by Riccardo De Contardi over 7 years ago

  • Target version changed from 8 LTS to 9.0
Actions #6

Updated by Susanne Moog over 6 years ago

  • Target version deleted (9.0)
Actions #7

Updated by Christian Kuhn over 1 year ago

Hey Franz.

I hope it's ok to close this one: The constant editor parsing has been changed multiple times meanwhile, type validation has been extended. The syntax itself is still ugly and slated for mid-term removal. As such, we shouldn't add more features to it anymore.

If you still have pressing thing we should implement, please look at the comment parser of the new TypoScript parse functionality.

Actions #8

Updated by Christian Kuhn over 1 year ago

Actions #9

Updated by Christian Kuhn over 1 year ago

  • Status changed from New to Closed
Actions #10

Updated by Franz Holzinger over 1 year ago

Hello Christian,

I have been waiting since 2004 to get this missing feature in. And all these 18 years nothing has been done for this case.

Regards,

Franz

Actions #11

Updated by Christian Kuhn over 1 year ago

Hey. I'm sorry this hasn't been tackled, it seems this was not important for many contributors.

I hope you'll agree the base strategy of putting rendering information into TypoScript comments is a rather ugly approach. This is used for the 'constant' editor and the 'extension configuration' currently, I streamlined a lot of this code recently to implement the new TypoScript parser in this area.

Some other persons are working on a new "constant editor" approach - we'll see if it will still make it to TYPO3 v12. This one will drop the "rendering definition via comments" approach. As such, it simply does not make sense to still add new features in this area.

Actions

Also available in: Atom PDF