Project

General

Profile

Actions

Bug #13512

closed

Suggest Wizard does not work

Added by Martin Neumann over 13 years ago. Updated about 11 years ago.

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

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In TCA fields with wizard "suggest" the wizard seems to work on the first glance: results are fetched via AJAX and displayed.
But if I click on some result row the value is not transfered to the real select (or group) field. This problem is in v4.3, v4.4 and v4.5

This is due to the JS file
/t3lib/js/jsfunc.tceforms_suggest.js
where the name of the form object is hard coded ...

So I replaced

var formEl = 'data[' + rec_table + '][' + rec_uid + '][' + rec_field + ']';

by

var formEl = TBE_EDITOR.prependFormFieldNames+'[' + rec_table + '][' + rec_uid + '][' + rec_field + ']';

and everything is fine.


Files

Actions #1

Updated by Bernd Niehues about 12 years ago

Hey! Works for me, so i made a diff file out of it.

Actions #2

Updated by Steffen Ritter about 12 years ago

  • Target version deleted (4.7.1)
Actions #3

Updated by Lorenz Ulrich about 12 years ago

  • Project changed from 687 to TYPO3 Core

This seems to be an issue for the core. The suggest wizard doesn't work in frontend because of a hardcoded form.

Actions #4

Updated by Nicole Cordes about 11 years ago

  • Status changed from New to Closed
  • TYPO3 Version set to 6.2

Closed this as it is already covered by http://forge.typo3.org/issues/4791

Actions

Also available in: Atom PDF