Project

General

Profile

Actions

Bug #44336

closed

Changing maxW in constant-editor adds multiple lines

Added by Stefan Neufeind almost 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2013-01-06
Due date:
% Done:

0%

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

Description

In an otherwise still empty extension-template using the constant-editor to change maxW for imgtext results in 4 lines being added - without a deeper reason imho.

styles.content.imgtext.maxW = 880
styles.content.imgtext.maxWInText = 0
styles.content.imgtext.linkWrap.width = 800
styles.content.loginform.pid = 0

(Experienced this on 6.0.0; other versions might be affected as well.)

Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from New to Closed
  • Is Regression set to No

Pretty simple:
Those all qualify as "int+" in the constants editor but don't have values set.
So then the constant editor saves its data "" does not qualify as int, thus it will be generated.

Actions #2

Updated by Stefan Neufeind almost 10 years ago

Should we supply default-values in TS? Or should the editor ignore empty settings / not generate lines for them? Changing one line and getting four instead sounds somewhat broken imho. Why does it generate lines for settings I didn't change at that moment anyway?

Actions

Also available in: Atom PDF