[TYPO3-core] RFC #15400: Bugfix: IRRE - selected items not removed from selector

Stanislas Rolland typo3 at sjbr.ca
Thu Feb 3 01:17:40 CET 2011


Le 2011-01-26 03:44, Philipp Gampe a écrit :
>
>> How to reproduce and test:
>> 1. Install attached extension (key: bug_15400).
>> 2. On some page:
>>      - insert a few "Bug 15400 Record of type 2";
>>      - insert a "Bug 15400 Record of type 1" and create some relations:
>>        the used records should be removed from the selector of the
>>        parent record and from the selectors of the children records.
>> 3. The same behaviour should happen when updating "Bug 15400 Record of
>>      type 1":
>>      - on expanding a child, the selector should not contain records
>>        already used in other children.
>
> It works in general, but only if you remove the faulty relations first.
> After removal you have to save once, then it works as advertised :)
>
> If you have double relations, then you will not be able to create _any_ new
> relation.
>
hum... not sure what to do about this.

In fact, if your data is corrupted and you have duplicates while the 
relation is defined as unique, you will not be able to create any new 
relation IF you already have more relations than the number of possible 
foreign records.

Stanislas




More information about the TYPO3-team-core mailing list