The classes OI4ApplicationResources and OI4Resources have used different values for mam.ProductInstanceUri. This has led to incorrect PublicationList and SubscriptionList messages.
Assume the mam.json file has the following ProductInstanceUri: vendor.com/a/b/c.
Now the mam.json is loaded in the constructor of the OI4ApplicationResources class.
The constructor of OI4ApplicationResources calls the constructor of OI4Resource. Within OI4Resource the publicationList and subscriptionList are created by using the oi4Id vendor.com/a/b/c.
Now the initialization continues in the constructor of the OI4ApplicationResources class. Here the ProductInstanceUri is changed and now contains a different serial number: vendor.com/a/b/<PCName>.
The classes
OI4ApplicationResources
andOI4Resources
have used different values formam.ProductInstanceUri
. This has led to incorrect PublicationList and SubscriptionList messages.vendor.com/a/b/c
.OI4ApplicationResources
class.OI4ApplicationResources
calls the constructor ofOI4Resource
. WithinOI4Resource
the publicationList and subscriptionList are created by using the oi4Idvendor.com/a/b/c
.OI4ApplicationResources
class. Here the ProductInstanceUri is changed and now contains a different serial number:vendor.com/a/b/<PCName>
.