Issue Bug Closed

#21102IRRE: Selected items not removed from selector when foreign_unique is set

Martin Borer 08/09/10, 11:23 updated 10/02/18, 12:26

Description

Hi there,

Selected Items are not removed from inline record selector (unique) and child record selectors.

there is a bug in t3lib/jsfunc.inline.js setUnique function. The attached patch should fix the problem.

Install attached extension (key: bug_15400).

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.

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.

(issue imported from #M15400)

Reviews 0

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