Project

General

Profile

Actions

Bug #69211

closed

Suggest wizard freaks out on long / truncated results

Added by Joschi Kuphal over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2015-08-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
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

suggest-wizard.png (70.5 KB) suggest-wizard.png Disrupted suggest wizard result display with too long / truncated titles Joschi Kuphal, 2015-08-20 15:33
suggest-wizard-js.patch (1.58 KB) suggest-wizard-js.patch Stefan Berger, 2015-08-25 10:27

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #69623: suggest wizard shows warningsRejected2015-09-09

Actions
Related to TYPO3 Core - Bug #69295: Suggest wizard is too small and looks wrong, when located at right side of type='group'ClosedBenjamin Kott2015-08-24

Actions
Related to TYPO3 Core - Bug #65856: Suggest wizard and current master, too small in certain positions and _VERTICAL = FALSE ignoredClosed2015-03-20

Actions
Has duplicate TYPO3 Core - Bug #70546: Suggest wizard not working for pages with long titlesClosedBenjamin Kott2015-10-09

Actions
Actions #1

Updated by Stefan Berger over 8 years ago

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

Actions #2

Updated by Stephan Großberndt over 8 years ago

  • Target version changed from 7.4 (Backend) to 7 LTS
Actions #3

Updated by Mathias Schreiber over 8 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #4

Updated by Mathias Schreiber over 8 years ago

  • Assignee set to Benjamin Kott
Actions #5

Updated by Gerrit Code Review over 8 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

Actions #6

Updated by Gerrit Code Review over 8 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

Actions #7

Updated by Nicole Cordes over 8 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.

Actions #8

Updated by Andreas Allacher over 8 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

Actions #9

Updated by Nicole Cordes over 8 years ago

Thank you. My problem was that the max. length in the user setting wasn't set.

Actions #10

Updated by Anonymous over 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF