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: 960
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: 960
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: 960
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: 267

Currently Online:
15 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 124

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

Sabari: 51

gjevremovic: 49

Xavier: 43

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 1749

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1323

Posts: 5649

Newest Members:

WalterFOUNC, datafastproxiespx01, LenkaLok, seoninet, justinevillanuev, namtrott5457, DonaldWibip, AlfredoEthix, andreidla, everangel7021

Moderators: Jouni Aro: 960, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 860, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 222, Lusetti: 0

Administrators: admin: 1