Bug #69211
closed
Suggest wizard freaks out on long / truncated results
Added by Joschi Kuphal almost 9 years ago.
Updated almost 7 years ago.
Category:
Backend User Interface
Sprint Focus:
Stabilization Sprint
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
- Target version changed from 7.4 (Backend) to 7 LTS
- Sprint Focus set to Stabilization Sprint
- Assignee set to Benjamin Kott
- Status changed from New to Under Review
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.
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
Thank you. My problem was that the max. length in the user setting wasn't set.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF