[TYPO3-irre] 1:n Relation to the same table
Malte Jansen
mail at maltejansen.de
Sun Nov 4 16:57:04 CET 2007
Now it works, but I have found a bug
http://bugs.typo3.org/view.php?id=6650
Malte
Malte Jansen schrieb:
> Hi Oliver,
>
> I got this ("change the config from 'select' to 'inline'") from your
> tutorial about IRRE. There you have got a select-example which is
> transformed into an "inline"-field.
>
> I'm opening the Dataset via Web>List -> Edit Data Record/Create New Data
> Record. But before the form showing up I got the default-browser-error
> of timeout. It seems a that there is a loop...
>
> Do I have overseen a attribute or parameter?
>
> To 1:n-relation works fine with an other table.
>
>
> Something else:
> I don't no if this bug is still in the trunk. But in 4.1.3 After saving
> a dataset with IRRE the IRRE-element is shown above and the IRRE-element
> in the dataset is empty. After closing it is merged...
>
> Cheers
>
> Malte
>
>
>
>
>
> Oliver Hader schrieb:
>> Hi Malte,
>>
>> Malte Jansen schrieb:
>>> I'm just trying to create a structure like the page-tree or categories
>>> of the tt_news with IRRE. But when ever I change the config from
>>> "select" to "inline" it I get a Timeout. I have checked the
>>> documentation, but there is nothing about a 1:n relation to itself.
>>>
>>> Here is the TCA: (I have tested some other variantes, but nothing
>>> worked...)
>>> $TCA["tx_my_table"] = array (
>>> "columns" => array (
>>> "parentuid" => Array (
>>> "config" => Array (
>>> "type" => "passthrough",
>>> "foreign_table" => "tx_my_table"
>>> )
>>> ),
>>> "field1" => Array (
>>> "exclude" => 1,
>>> "config" => Array (
>>> "type" => "inline",
>>> "foreign_table" => "tx_my_table",
>>> "foreign_field" => "parentuid",
>>> "maxitems" => 3,
>>> )
>>> ),
>>> ),
>>> );
>>
>> Hm, I couldn't find any error here. The symmetrical relations work on in
>> a 1:n and m:n scenario. What do you mean by "change the config from
>> 'select' to 'inline'"? Where did you get the timeout - on creating
>> records, on saving or on loading/editing?
>>
>>
>> olly
More information about the TYPO3-project-irre
mailing list