Actions
Bug #64360
closedTCEForms.suggest JS code is broken
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.
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.
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
Updated by Xavier Perseguers almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3a2f2343d13c47c7665eb2577d1a8ff26cc1fea9.
Actions