Feature #18366
closedStorage page for combined child records not used
0%
Description
In addition to bug-Report 0005242 it would be nice if combined child records could have a storage-page.
I think therefore only a single line in script class.t3lib_tceforms_inline.php has to be changed if the patch from bug-Report 0005242 is already installed.
The line is in function "renderCombinationTable":
// if this is a new record, add a pid value to store this record and the pointer value for the intermediate table
if ($isNewRecord) {
$comboFormFieldName = $this->prependFormFieldNames.'['.$comboConfig['foreign_table'].']['.$comboRecord['uid'].'][pid]';
- $out .= '<input type="hidden" name="'.$comboFormFieldName.'" value="'.$this->inlineFirstPid.'"/>';
+ $out .= '<input type="hidden" name="'.$comboFormFieldName.'" value="'.$this->getNewRecordPid($comboConfig['foreign_table'], $this->inlineFirstPid).'"/>';
}
I tested it with my t3-V 4.15 installation.
Perhaps someone could tell me how I may generated such nice patch-files which are appended to the most bug-reports.
Regards
Heiko Kromm
(issue imported from #M7748)
Files
Updated by Oliver Hader over 16 years ago
Please test the attached patch on a TYPO3 4.2 installation. This patch won't be committed to TYPO3 4.1 since issue #17125 was a feature and thus only available in TYPO3 4.2.
Thanks in advance!