[TYPO3-mvc] need help on implementing MM_match_fields in persistence layer

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jan 7 18:16:49 CET 2010


Hi Martin,

>>> I just found out that MM_match_fields are not supported yet, but I
>>> really need those for my current project (I have to assign tags to
>>> multiple objects/tables).
>>
>> I think I got it
>
> How did you solve the problem?

it was actually not that difficult once you found the right places to 
start looking. Actually I did a full search over the extbase core where 
Tx_Extbase_Persistence_Mapper_ColumnMap::RELATION_HAS_AND_BELONGS_TO_MANY is 
used and had there a look around and started trying out things. I've 
created a patch [1] you can look at.

[1] 
http://hosting.elements-net.de/temp/extbase-MM_match_fields-support.patch

PS: anybody knows a good website like those tiny-url-sites where I can 
upload temporary stuff like the patch and share? I know there are some 
around, but didn't find one having a quick search (maybe wrong search 
terms).

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list