Hello,
I got a compatibility issue recently. That issue is really not good and I think we must make a KB article with it. Also, I know that we are going to make a training module for the compatibility, so this point must be mentionned.
When you are using proprietary archives, it appears the archives index are based on the variables tag number. So, if you are migrating a project from Vx to Vx+1 there is no problem. But if you update your database it is possible the tag numbers change. In this case all old archives are lost!!
What is the solution? The designer must take care never changing the tag number which is not really usefull.
Maybe we should think about with the development team how we could change this behaviour....
Nico
Is it true for all PcVue version ?
Yes, I suppose...
Are you kidding me :blink:
Guys as experienced as you don't know about this issue ?
I know about it since I'm here (oooh f... already 10 years !), then we can start talking about PcVue 8...
Well, in old versions, you had in proprietary units an option named "File Format" with the possible values "With attributes" or "Without attributes", and it's all because of this tricky option. I don't know since when it is available, I'm not experienced enough with these very old versions, I'm too young...
When using the option value "With attributes":
- extended attributes and other non-mandatory properties can be recorded;
- id of the variable is it's name.
When using the option value "Without attributes":
- only mandatory fields are recorded;
- id of the variable is it's tag number (second column in the varexp).
Of course all of our documentation only mention the first point...
At least, since version 8.10, the default is "With attributes", but it may have been modified in an earlier version. And some time later this option has been first disabled then hidden, because of its very nasty effects when creating/updating/deleting a variable, leading to a renumbering of the variables.
I think that there is an hidden option somewhere that enable/disable renumbering the variables, but I don't where it is. At least it exists for the Cimway objects, but it's no use here...
To write a KB article you'll first need to get the complete history of this option, meaning the history of the corresponding archives format.
Hehe of course I knew this old issue but I thought it was solved this long long time!
But, actually, I didnt know there was a difference between "with and without attributes". Thanks for that.
In my customer's case I dont know what option he had. I will double check that.
Actually his project has been done in V9 and migrated recently in 11.1
Hey Florent, no wonder, you are not young anymore! 👿
Nico
Hello everybody,
For your information, our honorable master Edouard "Sifu" Mahaut already made SPRs about that point:
- 16429
- 12333
See you guys


