Project

General

Profile

Actions

Feature #18366

closed

Storage page for combined child records not used

Added by Paints over 16 years ago. Updated over 14 years ago.

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

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

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

0007748.patch (866 Bytes) 0007748.patch Administrator Admin, 2008-03-08 12:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #17125: Storage page for child recordsClosedOliver Hader2007-03-16

Actions
Actions #1

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!

Actions #2

Updated by Oliver Hader over 16 years ago

Committed to TYPO3_4-2 (rev. 3398)

Actions

Also available in: Atom PDF