Skip to content

ModelCompiler fails when Variable DefaultValue is encoded as OPC UA Binary #233

@HochMEE

Description

@HochMEE

When the DefaultValue of a Variable is encoded using OPC UA Binary encoding (i.e. as an XML ExtensionObject with a Base64-encoded ByteString body), UA ModelCompiler fails.

Image

While debugging the issue, adding a null check in the method:

private void SetTypeId(ExtensionObject e, NamespaceTable namespaceUris)
(ModelDesignerValidator.cs)

prevents the failure in this case.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions