Project

General

Profile

Actions

Feature #25079

closed

suggest wizard won't work when using frontend editing.

Added by Jan Philipp Timme almost 14 years ago. Updated about 6 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Gerrit Code Review almost 13 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

Actions #2

Updated by Gerrit Code Review almost 13 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

Actions #3

Updated by Gerrit Code Review almost 13 years ago

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

Actions #4

Updated by Gerrit Code Review almost 13 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

Actions #5

Updated by Anonymous over 12 years ago

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

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

Actions #7

Updated by Anonymous over 12 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Sybille Peters over 12 years ago

  • Target version deleted (0)

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

Actions #9

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

Actions #10

Updated by Anonymous over 12 years ago

  • Status changed from Under Review to Resolved
Actions #11

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

Actions #12

Updated by Helmut Hummel over 12 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF