- Posts: 49
- Thank you received: 0
cp tag assignments getting mixed up
- sa
- Topic Author
- Offline
- Senior Member
Less
More
5 years 7 months ago #2701
by sa
cp tag assignments getting mixed up was created by sa
hi,
I think we have encountered a bug. There are rare occasions when we have two users assigning cp tags to their respective articles at the same time and the tags were not assigned correctly. Specifically for example, the cp tags for article A got applied to article B, and article A got 0 tags. Is this possible with the way custom properties is coded at the moment?
Thanks
I think we have encountered a bug. There are rare occasions when we have two users assigning cp tags to their respective articles at the same time and the tags were not assigned correctly. Specifically for example, the cp tags for article A got applied to article B, and article A got 0 tags. Is this possible with the way custom properties is coded at the moment?
Thanks
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
5 years 7 months ago #2702
by andrea_4g
Replied by andrea_4g on topic cp tag assignments getting mixed up
It is indeed possible in some limited circumstances.
When you create an article, the article has no ID to attach the tags to. Only after you save it, it gets a proper ID. Therefore, before saving, any tags you assign to it is actually assigned to articles with ID equal to 0.
After the first save the plugin looks tags assigned to articles with ID = 0 and reassign them to the actual item ID of the article.
There's an easy workaround: save the article (and then continue editing if you wish so) *before* assigning tags.
When you create an article, the article has no ID to attach the tags to. Only after you save it, it gets a proper ID. Therefore, before saving, any tags you assign to it is actually assigned to articles with ID equal to 0.
After the first save the plugin looks tags assigned to articles with ID = 0 and reassign them to the actual item ID of the article.
There's an easy workaround: save the article (and then continue editing if you wish so) *before* assigning tags.
The following user(s) said Thank You: sa
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds