Project

General

Profile

Actions

Bug #70602

closed

Page link wizard does not save selected page uid

Added by Robert Rentz over 8 years ago. Updated over 5 years ago.

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

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using TYPO3 7.4 i recognized a failure behaviour when inserting a page reference through the wizard.
The uid of the page is only written in the visible input field, but not the corresponding hidden field that is used to save the value.

I just wrote a little fix to get the wizard working again:

typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php

Just add after line 631 the following snippet:
//Fix for updating hidden input field when using wizard
var hiddenInputFieldName = field.getAttribute("name").replace("_hr", ""),
hiddenField = window.opener.document.' . $this->P['formName'] . '[hiddenInputFieldName];

if (hiddenField) {
hiddenField.value = input;
}

May be, in the next TYPO3 7.x Release it can be fixed in a way.

Thank you.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #72639: Core-bug: Page link wizard does not save selected page uidClosedJo Hasenau2016-01-11

Actions
Related to TYPO3 Core - Bug #76410: Link wizard does not fill hidden field of Flexform input fieldClosed2016-05-31

Actions
Is duplicate of TYPO3 Core - Bug #69047: Returned value from "form field wizard" in flexform is not stored in databaseClosedFrank Nägler2015-08-14

Actions
Actions

Also available in: Atom PDF