Describe the bug
I want to create a digital nameplate with the help of digital nameplate viewers.
To Reproduce
Steps to reproduce the behavior:
Create a new AAS
At the AAS, click "Create new submodel of kind instance"
Click "Create data element" for semanticId
Choose ModelReference
Click "Add blank"
Choose Submodel
Enter https://admin-shell.io/zvei/nameplate/1/0/Nameplate
Save the AASX file. This will trigger the display of the nameplate viewers.
Click on the viewer DNP
At the property "ManufacturerName", click on +
Choose a language
Enter "Test" as the manufacturer name
Click "Update to AAS"
An exception occurs
Log:
[AasxPluginGenericForms] Error: when adding Document:
Object reference not set to an instance of an object.
Object reference not set to an instance of an object. at
at AasxIntegrationBase.AasForms.FormInstanceSubmodelElement.AddOrUpdateSmeToCollection(List`1 collectionNewElements, AdminShellPackageEnv packageEnv, Boolean addFilesToPackage)
in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxIntegrationBase\AasForms\FormInstance.cs:line 1198
at AasxIntegrationBase.AasForms.FormInstanceListOfSame.AddOrUpdateSameElementsToCollection(List`1 elements, AdminShellPackageEnv packageEnv, Boolean addFilesToPackage)
in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxIntegrationBase\AasForms\FormInstance.cs:line 502
at AasxIntegrationBase.AasForms.FormInstanceListOfDifferent.AddOrUpdateDifferentElementsToCollection(List`1 elements, AdminShellPackageEnv packageEnv, Boolean addFilesToPackage)
in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxIntegrationBase\AasForms\FormInstance.cs:line 326
at AasxIntegrationBase.AasForms.FormInstanceSubmodel.AddOrUpdateDifferentElementsToCollection(List`1 elements, AdminShellPackageEnv packageEnv, Boolean addFilesToPackage, Boolean editSource)
in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxIntegrationBase\AasForms\FormInstance.cs:line 1072
at AasxPluginGenericForms.GenericFormsAnyUiControl.ButtonTabPanels_Click(String cmd) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPluginGenericForms\GenericFormsAnyUiControl.cs:line 220.
Expected behavior
No exception.
The nameplate viewer creates a new property for the manufacturer name.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser: N/A
Smartphone (please complete the following information):
None
Describe the bug I want to create a digital nameplate with the help of digital nameplate viewers.
To Reproduce Steps to reproduce the behavior:
https://admin-shell.io/zvei/nameplate/1/0/Nameplate
Log:
Expected behavior No exception. The nameplate viewer creates a new property for the manufacturer name.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information): None
Additional context Version 2023-11-17