Issue Bug Closed

#70602Page link wizard does not save selected page uid

Robert Rentz 10/12/15, 09:11 updated 10/02/18, 11:29

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.