Site-Manager icon indicating copy to clipboard operation
Site-Manager copied to clipboard

Data from exp_category_field_data missing when syncing categories

Open NAlbuquerque opened this issue 12 years ago • 5 comments

When syncing categories, the exp_category_field_data table isn't properly carried over.

After syncing, if I used a {exp:channel:category category} tag with the group_category parameter of the synced group, I would get a blank list or only one category (which is weird).

After digging a little deeper I noticed that each category also has an associated row in the exp_category_field_data table.

I had to manually run a query on each category group create the necessary records for each synced category in the exp_category_field_data.

NAlbuquerque avatar Nov 28 '12 16:11 NAlbuquerque

Well noted. I the category import is pretty simple at the moment and doesn't take into account category fields. I'll work on getting this sorted.

ckimrie avatar Dec 15 '12 15:12 ckimrie

Just a heads up that I wasn't using any custom category fields in my project. I haven't tried it with custom fields yet. Thanks for this addon, it's really handy!

NAlbuquerque avatar Dec 15 '12 16:12 NAlbuquerque

Ah ok, thanks for letting me know. Will get it sorted

ckimrie avatar Dec 15 '12 17:12 ckimrie

@ckimrie Was this issue ever resolved? I am having the same issue.

alexmglover avatar Jul 02 '13 23:07 alexmglover

Ah, sorry Alex. This seems to have slipped through as its been a while since I've worked on this addon since the uptake was well below what I was expecting.

Will look into getting it fixed. Apologies.

ckimrie avatar Jul 04 '13 08:07 ckimrie