[TYPO3-mvc] Wrong tablenames in *_mm table

Julian Kleinhans typo3 at kj187.de
Thu Jul 23 22:49:04 CEST 2009


Hi all,

following situation:

Extension: blog_example
BlogController, populateAction (getBlog)

It creates a several new blogs with dummy posts!
A post has some comments and tags

Tags are stored in a MM table but with wrong tablenames.

tx_blogexample_domain_model_post is wrong, it must be 
tx_blogexample_domain_model_tag

If you then enter the backend and try to see the tags of a post, you 
won't see any assigned, even thought there are some in the DB. If you 
then change the tablenames from tx_blogexample_domain_model_post to 
tx_blogexample_domain_model_tag everything will be shown correctly


Forge reference:
http://forge.typo3.org/issues/show/3974

cheers,
julian kleinhans


More information about the TYPO3-project-typo3v4mvc mailing list