cp tag assignments getting mixed up

  • sa
  • Autore della discussione
  • Offline
  • Anziano Utente
  • Anziano Utente
Di più
5 Anni 6 Mesi fa #2701 da sa
cp tag assignments getting mixed up è stato creato da 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

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
5 Anni 6 Mesi fa #2702 da andrea_4g
Risposta da andrea_4g al 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.
I seguenti utenti hanno detto grazie : sa

Si prega Accesso o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.150 secondi