Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
UserAccessLevel
October 30, 2013
18:50, EET
Avatar
TimK
Member
Members
Forum Posts: 41
Member Since:
June 27, 2012
sp_UserOfflineSmall Offline

Where does UserAccessLevel come from? I’m suddenly seeing a problem where UserAccessLevel is Readable on my tags, instead of Readable, Writeable.
I have a custom node manager, and I never get calls to readNonValue asking for UserAccessLevel.

After I first start my server, the tags that should be writable appear as Readable, Writable for both AccessLevel and UserAccessLevel. If I click on a node in the tree that is not supposed to be Writeable I see Readable for both attributes, but every node I look at after that shows Readable, Writeable for AccessLevel, but only Readable for UserAccessLevel.

I’m using UAExpert as a client, but I don’t think the problem is in the client – restarting the client doesn’t help, but restarting the server does.

October 30, 2013
19:43, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

NodeManager.getUserAccessLevel()

October 30, 2013
20:21, EET
Avatar
TimK
Member
Members
Forum Posts: 41
Member Since:
June 27, 2012
sp_UserOfflineSmall Offline

I don’t see that method anywhere in the docs, and my IDE can’t find it to override it. Are you sure that’s the right name?

October 31, 2013
9:01, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Oh yes, sorry. It’s in IoManager!

October 31, 2013
14:02, EET
Avatar
TimK
Member
Members
Forum Posts: 41
Member Since:
June 27, 2012
sp_UserOfflineSmall Offline

Okay, that took care of my problem. I think it may point to a bug in the SDK, though.
I had not overridden the method, so the default behavior was causing the problem.
I think it was related to AccessLevel being read-only. Maybe the UserAccessLevel gets masked to read-only, but then doesn’t change back when the client asks for a different node?

Anyway, thanks for the help!

October 31, 2013
14:19, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes we need to check that. Thanks for the tip.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
33 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 735

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1523

Posts: 6449

Newest Members:

rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1