Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
29.08.2020, 06:57
(This post was last modified: 29.08.2020, 06:58 by buuuudzik.)
Does object.tagcache changed in new firmware version? Before object.tagcache had values separated by " ", but now as I see it has values separated by ", "? Am I right?
From which version? Could I check LM firmware version in script?
Done is better than perfect
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
As far as i know it has always been a comma separated value..
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
29.08.2020, 07:44
(This post was last modified: 29.08.2020, 07:45 by buuuudzik.)
(29.08.2020, 07:39)Erwin van der Zwart Wrote: As far as i know it has always been a comma separated value..
I mean in db not on the webbrowser view, in old firmware from 2016 object.tagcache for sure was separated by " " and cannot have space in it. But from which firmware and I need to know if it is possible to check firmware version from script.
If you have some old backup then you can see this.
Done is better than perfect
Posts: 7763
Threads: 42
Joined: Jun 2015
Reputation:
447
You should not use tagcache anyway. It's main purpose is for display in the object list. If you are manipulating tags table directly then you should update tagcache by joining object tags using ", "
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
31.08.2020, 09:04
(This post was last modified: 31.08.2020, 09:04 by buuuudzik.)
(31.08.2020, 06:38)admin Wrote: You should not use tagcache anyway. It's main purpose is for display in the object list. If you are manipulating tags table directly then you should update tagcache by joining object tags using ", "
I must using it to properly sync objects between different LMs. So is this separator changed recently? And how can I check in script what is the firmware version (when I want support backward compatibilty)?
Done is better than perfect
Posts: 7763
Threads: 42
Joined: Jun 2015
Reputation:
447
You should query objecttags table directly and compare the results. Separator has not changed recently but it might be a bug in a older version if you get space instead of comma.
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
Ok, thank you admin, you have sure that it is not necessary to check also tagcache. And what about checking firmware version from script?
Done is better than perfect
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
Thanks
Done is better than perfect