Migration PcVue 11.2 to PcVue 12

5 Posts
3 Users
0 Likes
32 Views
ACHT
 ACHT
(@a-chaverotarcinfo-com)
Posts: 161
Reputable Member
Topic starter
 

Hello

I want to share with you this experience.
My customer uses the instruction GETARG(WEB) to know if it is PcVue or WebVue action.
With PcVue 11.2,
0 = local user
non-zero = WebVue client (using a Run Program animation). Can be only positive value

With PcVue 12,
0 = local user
non-zero = WebVue client (using a Run Program animation). It is a signed long integer. Can be positive or negative.

My customer builds variables with this ID session. All functions are bad with errors after migration 🙁

 
Posted : 19/12/2019 9:17 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

hmmm big bug apparently.
Hope you made a SPR Anthony

Nico

 
Posted : 20/12/2019 8:55 am
ACHT
 ACHT
(@a-chaverotarcinfo-com)
Posts: 161
Reputable Member
Topic starter
 

No SPR because I asked the developper and the answer was "work as designed".

 
Posted : 20/12/2019 2:48 pm
(@admin_doc72)
Posts: 493
Member Admin
 

My customer builds variables with this ID session.

Doesn't that lead to the conclusion that the good migration path is to use variable scope, instead?
I mean: do you actually still need the session id?

 
Posted : 20/12/2019 9:58 pm
ACHT
 ACHT
(@a-chaverotarcinfo-com)
Posts: 161
Reputable Member
Topic starter
 

Hi Armin

Totally agree with you ! Variable scope are the good way.
I just want to make a warning in case of migration.

 
Posted : 23/12/2019 3:09 pm