Bug #69211
closedSuggest wizard freaks out on long / truncated results
100%
Description
Starting with CMS 7.4 it seems that the suggest wizard has got a problem with result titles that are too long and must be truncated. Faulty source code is created, display explodes ... See screenshot.
Files
Updated by Stefan Berger about 9 years ago
- File suggest-wizard-js.patch suggest-wizard-js.patch added
- Target version set to 7.4 (Backend)
I could confirm this in my case. This patch would fix that. The stripHTML source was taken from a stackoverflow example: http://stackoverflow.com/questions/822452/strip-html-from-text-javascript
Updated by Stephan Großberndt about 9 years ago
- Target version changed from 7.4 (Backend) to 7 LTS
Updated by Mathias Schreiber about 9 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44505
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44505
Updated by Nicole Cordes about 9 years ago
Can you add some information about your scenario?
I added a page with the title "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." and tried to add it as "Show Content from Page" within another page. No problems at all. Even news title and news tag are working as expected without any error.
Updated by Andreas Allacher about 9 years ago
Steps to reproduce:
1.) Set Max. Title Length in user settings to e.g. 10
2.) Install EXT:news
3.) Create news entry with a length above the set max title length and save and close it
4.) Create another news entry
5.) Go to Relations --> Related News
6.) Use suggest wizard to find the news above the max title length
The results returned by the suggest wizard will then display not only the title but also data-table and because data-uid is part of the output it won't be recognized as data attribute and therefore storage also fails
Updated by Nicole Cordes about 9 years ago
Thank you. My problem was that the max. length in the user setting wasn't set.
Updated by Anonymous about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 33bb52ef022e0d914295390480d4607d8a667d94.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed