[TYPO3-irre] Create new relation does nothing

Oliver Hader oh at inpublica.de
Thu May 24 18:22:56 CEST 2007


Hi Franz,

Franz Holzinger schrieb:
> Hello,
> 
> I am using the almost the same as described in "Bidirectional asymmetric
> m:n relations"
> 
> 'appearance' => Array ('collapseAll' => TRUE, 'useCombination' => TRUE),

Is this the difference to the "bidi asym m:n relations" in the tutorial?
The combined mode has still some difficulties mentioned at
http://bugs.typo3.org/view.php?id=5514

> In TCE I see the select box with one entry already made before. And
> right of it the Link <Create new relation> which never works.

Maybe in this case you might want to try to patch at
http://bugs.typo3.org/view.php?id=5564 which was also committed to
TYPO3_4-1 and Trunk yesterday. Do you get a JavaScript error/warning?

> this.data.unique is undefined. Then the selected is always set to false.
> Maybe the function setUniqueElement should have been called before?

Yes, the selected property of the option of the selector is set to
false. Otherwise it would not be possible to create a relation to the
same object again - in case the no uniquness is required.

> Under the select box there is also a link. 'Neu anlegen' the same in
> German now. This one works if clicked. Then a new relation can be entered.
> 
> But how should the first 'create new relation' work? Should this be the
> place to select and modify a former entry or what?

The "create new relation" wasn't yet translated to German - maybe it
should be called "import record" or "re-use record". The "Neu anlegen"
or "create new" is for a completely new record.


olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-project-irre mailing list