Repository navigation
fix(webapi): keep array tags bound by identity - #2743
Open
RevanthMeda wants to merge 1 commit into
Open
RevanthMeda wants to merge 1 commit into
RevanthMeda wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #911.
External WebAPI tags selected from JSON arrays retained the numeric array position used during setup. When an endpoint returned the same objects in a different order, FUXA could assign one object's value to another tag.
Polling now locates array objects using the selected identity value and derives the corresponding value path from the object's current position. Newly configured tags persist that identity explicitly, while existing configurations retain compatibility through their saved tag name.
Type
Artifacts
server/test/devices/httpArrayIdentity.test.jsfix/webapi-array-identity6a720b5ba5ae2d679de0efa2678021a5a10ce481Checklist
Documentation
No documentation change is required. The correction implements the identity/value selection already exposed by the WebAPI tag editor.
Additional Notes
The full server suite reported 931 passing tests and one environment-only failure because
uv_interface_addressesis unavailable in the local sandbox.AI assistance was used to trace the existing mapping flow and draft the regression and implementation; all reported tests and builds were executed and verified.