Feature #25079

suggest wizard won't work when using frontend editing.

Added by Jan Philipp Timme over 11 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

The suggest wizard won't work when the form containing it was opened out of the frontend editing mode, as it uses an undefined javascript variable to build the request url for the ajax.php, leading to a 404 error, because the request url is "undefinedajax.php".

After some debugging, i found out that the undefined variable is called "top.TS.PATH_typo3" and that the issue can be fixed by adding a single line to the inline javascript in alt_doc.php. (see additional information for the snippet)

The suggest wizard works in the "full" backend, as top.TS.PATH_typo3 is defined there.

<<<<< snip [~ line 463 in typo3/alt_doc.php, function init() ]

// Object: TS:
// passwordDummy and decimalSign are used by tbe_editor.js and have to be declared here as
// TS object overwrites the object declared in tbe_editor.js
function typoSetup () { //
this.uniqueID = "";
this.passwordDummy = "********";
this.PATH_typo3 = ""; //##### ADDING THIS LINE FIXES THE ISSUE ####
this.decimalSign = ".";
}

<<<<< snip
(issue imported from #M17643)


Related issues

Has duplicate TYPO3 Core - Bug #34385: Bug in t3lib/jsfunc.tceforms_suggest.js -> Feediting tt_news no titleClosed2012-02-28

Actions
#1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7437

#2

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7437

#3

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7452

#4

Updated by Gerrit Code Review over 10 years ago

Patch set 3 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7437

#5

Updated by Anonymous over 10 years ago

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

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9545

#7

Updated by Anonymous over 10 years ago

  • Status changed from Under Review to Resolved
#8

Updated by Sybille Peters about 10 years ago

  • Target version deleted (0)

This has not been applied to 4.5? Change is not present in 4.5.16.

#9

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12836

#10

Updated by Anonymous about 10 years ago

  • Status changed from Under Review to Resolved
#11

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/13680

#12

Updated by Helmut Hummel about 10 years ago

  • Status changed from Under Review to Resolved
#13

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF