[TYPO3-dam] mmforeign causes troubles...
Pieter
pieter.v at gmx.net
Wed Apr 19 20:47:09 CEST 2006
> In file ext/mmforeign/class.ux_t3lib_loaddbgroup.php around line 241
> there is:
>
> if ($MMtable) { // If MM, then call this function to do that:
>
> // used here to get defVals when set - [tablename]_[id]
> if($itemlist) {
> $this->readList($itemlist);
>
> This call to $this->readList($itemlist) is not correct, as the
> "$itemlist" will be loaded with the content of the original field, which
> in MM-relation-fields is always the COUNT of how many related items we
> have, and not the comma-separated item-list itself. This means, in case
> of one category stored in the MM-relation would mean loading the
> category with uid "1" in this field (similary, if you have 2 categories,
> the category with uid "2" will be loaded too). Commenting out or
> removing this line makes it "behave" again.
Hello,
I'm also hunting for this bug but didn't get as close as you (yet ;-) ).
What is the exact change you made to the code?
I can't remove the line $this->readList($itemlist); , the tt_news item
doesn't have any categories any more without this line...
Pieter
More information about the TYPO3-project-dam
mailing list