Project

General

Profile

Actions

Bug #64360

closed

TCEForms.suggest JS code is broken

Added by Xavier Perseguers almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2015-01-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

The generated code is of the form:

var SuggestTt_contentPi_flexform37006 = new TCEForms.Suggest("data[tt_content][37006][pi_flexform][data][sDEF][lDEF][settings.startingpoint][vDEF]", "tt_content", "pi_flexform|data|sDEF|lDEF|settings.startingpoint|vDEF", "37006", 3000, 2", '');
SuggestTt_contentPi_flexform37006.defaultValue = "Find records";

and it crashes the JS parser since the minimum number of chars is wrongly quoted (ending double quote without leading one). As this variable is an integer, the trailing quote should be removed.


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Bug #50549: The suggest search does not work in new unsaved content elements.Closed2013-07-30

Actions
Actions #1

Updated by Xavier Perseguers almost 10 years ago

Problem is strictly related to the backport to TYPO3 6.1, original patch for 6.2 and master was correct.

Actions #2

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36106

Actions #3

Updated by Xavier Perseguers almost 10 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF