Wireless Profile - Remove special case and load existing profile info #177
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.
Type of Change
Description
As a part of this bug fix,
Bug Fix:
As a part of this bug fix:
The special-case validation for "ADVANCED_SSID_CONFIGURATION" has been removed.
When updating the profile data, the update now merges with the existing data instead of overriding it.
Bug Fix:
The special validation for "ADVANCED_SSID_CONFIGURATION" has been removed so that this configuration is handled the same way as other feature templates.
For merged states, the profile information is now appended to the existing data instead of replacing it. Code changes were implemented to support this behavior.
Root Cause (if applicable):
Initially, the UI allowed adding only the ADVANCED_SSID_CONFIGURATION, but during save, all feature templates were stored. Therefore, the additional validation was unnecessary and caused inconsistencies, leading to its removal.
For merged states, profile data should have been added to the existing information, but the previous implementation overwrote the existing data. This issue has now been corrected.
Fix Implemented
Removed the condition that applied a special-case validation to ADVANCED_SSID_CONFIGURATION.
Enhancement: [Brief description of the improvement/enhancement made]
Enhancement Description: [Explain what was enhanced, why, and how]
Impact Area: [Mention which part of the system/codebase is affected]
Testing Done:
Test cases covered: [Mention test case IDs or brief points]
Checklist
Ansible Best Practices
ansible-vaultor environment variables)Documentation
Screenshots (if applicable)
Notes to Reviewers