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
Namespace index for created data type instance does not match that of TypeDefinitionId
November 26, 2014
9:44, EET
Avatar
oliver.stollmann
New Member
Members
Forum Posts: 2
Member Since:
November 17, 2014
sp_UserOfflineSmall Offline

Hello,

I am noticing something strange (possibly caused by my misuse of the SDK). I have generated some Java Code and am now performing the following:
MemberTypeNode node = nodeManager.createInstance(MemberTypeNode.class,newMemberNodeId,browseName,displayName);

Now for some reason the NodeId of the node’s data type has an index that does not match the namespace defined in the TypeDefinitionId (but instead that of the application uri).

Please see here: https://gist.github.com/o1iver/2aa7bab5ecf097462ddc.

Current override, maybe this helps: https://gist.github.com/o1iver/2aa7bab5ecf097462ddc#file-problem-log

Thanks!
Oliver

November 26, 2014
13:22, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Seems we have a bug. The NodeId in the xml is not mapped to “global” NodeId in case of DataType (since the NodeIds in the xml point 0=standardNameSpace 1->=The namespace defined in NamespaceUris part at the start of the xml) and instead pointed directly to 1 in global namespace. I can send a beta link by mail after this is fixed.

November 26, 2014
14:05, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Fixed in (beta) version 2.0.3-357, will be in next SDK release version.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
25 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: 731

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466

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

Administrators: admin: 1