OPCFoundation / UA-CloudLibrary

OPC UA Information Model database with a REST and GraphQL interface, as well as user management. The global instance of this (hosted by the OPC Foundation) can be found at https://uacloudlibrary.opcfoundation.org.
Other
39 stars 18 forks source link

/infomodel/find returns empty array #142

Closed malessainray closed 2 years ago

malessainray commented 2 years ago

When requesting all nodesets by passing ["*"] as the kewords filter value the answer is an empty array. image

malessainray commented 2 years ago

Now some items are returned but it seems like many are missing

barnstee commented 2 years ago

Markus, please have a look...

MarkusHorstmann commented 2 years ago

This is likely fixed in PR #144.

MarkusHorstmann commented 2 years ago

This is caused by two nodesets without a publication date: http://CODESYS.com/SPV3/3S/IecVarAccess/ http://opcfoundation.org/UA/AMLLibs/

New uploads of such nodesets is disallowed, but these invalid nodesets are already in the cloud library.

barnstee commented 2 years ago

I was going to suggest to check if a publication date is specified and then simply set it to Date.Time.MinValue, but I see that you have already implemented this, good work!