You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ZAP, when a custom XML with a custom cluster is loaded into a Matter session, and an endpoint is configured to have this custom cluster toggled on, the generated files incorrectly retain the custom cluster even after the XML is deleted from the session.
Steps to Reproduce:
Open a ZAP matter session.
Load a custom XML that includes a custom cluster.
Create an endpoint and configure it to have the custom cluster toggled on.
Delete the custom XML from the session.
Generate the files.
Expected Behavior:
The generated files should not include the custom cluster after the XML is deleted from the session.
Actual Behavior:
The generated files incorrectly still include the custom cluster, even though the XML has been removed. This is only noticed in the dynamic files (endpoint-config.c, endpoints.out, ...)
The text was updated successfully, but these errors were encountered:
Added tests for Matter custom xml support for the following use cases:
- loads a file with a custom cluster and an extension of a cluster and checks it
- loads a second file with a further extension of the extended cluster and checks it
- tests generation with custom xml
- loading bad custom xml -> throw warning
- Add 2 custom files with manufacturer name/code and attribute code collisions -> throw error.
* This should be an SQL error, it is currently broken and should be fixed in PR Adding constraints to the database tables to avoid redundant entries #1352 is merged.
- test generation after deleting the custom xml
* This doesn't work as expected - #1387
- Add custom xml, make changes, delete, add again -> make sure that generated content has new edits
* Effected by #1387 and #1391
- Loading zap file with custom xml that does not exist - throw error
- Loading zap file with custom xml and generating
Once PR #1352 is merged and #1387 and #1391 are resolved - tests should be updated appropriately.
In ZAP, when a custom XML with a custom cluster is loaded into a Matter session, and an endpoint is configured to have this custom cluster toggled on, the generated files incorrectly retain the custom cluster even after the XML is deleted from the session.
Steps to Reproduce:
Expected Behavior:
The generated files should not include the custom cluster after the XML is deleted from the session.
Actual Behavior:
The generated files incorrectly still include the custom cluster, even though the XML has been removed. This is only noticed in the dynamic files (endpoint-config.c, endpoints.out, ...)
The text was updated successfully, but these errors were encountered: