10 Feb 2011
06 Apr 2011
Link to this post
I have created some categories using the standard category module. I have then created some generic content items which also have some custom metafields added which allow the user to set extra categories. These categories could be used for anything, in my case I'm using these to help build custom navigation.
The issue I have is that if you update (change the category name) the category, this change isn't reflected in the generic content items. I would have expected that if you update the category name, this change would be cascaded to all generic content items that have this category set, however the metafield keeps the old text value of the category name.
I think there is a reference to the category by id, because if you edit the generic content item the correct category is displayed in the category drop down, however unless you resave the generic content item the metafield isn't updated.
Is this correct behaviour and is there anyway around this behaviour?
Thanks is advance