Overview
The error "One or more configuration attributes have error" appears when opening old, saved baskets after updating the CloudSense security certificate. This issue was initially suspected to be related to the certificate update but was identified as a configuration issue due to missing required attributes in the basket. The problem is not related to the certificate update but rather to the basket configuration, where required attributes were not populated.
Information
Error Message: "One or more configuration attributes have error"
Cause: The error occurs due to missing required attributes in the basket configuration. Attributes such as "Employee Number" and "Roaming" were required but not populated, leading to the error.
Resolution Steps
-
Identify Affected Baskets:
- Open the basket in your instance.
- Attempt to perform actions like adding solutions or calculating totals to trigger the error.
-
Check Required Attributes:
- Use the provided code snippet to identify attributes with errors:
-
await CS.SM.getActiveBasket().then((b) => { let activeSol = b.solutions.<solution_id>; Object.values(activeSol.getAllConfigurations()).forEach((cfg) => { Object.values(cfg.attributes).forEach((at) => { if(at.error){ console.log(at.name); console.log(at.error); } }); }); });
- Replace
<solution_id>
with the appropriate solution ID.
-
Populate Required Attributes:
- Ensure all required attributes, such as "Employee Number" and "Roaming," are populated with valid values.
- Save the changes to the basket.
-
Verify Resolution:
- Refresh the basket or reopen it to ensure the error no longer appears.
- Confirm that the basket can be saved or totals calculated without issues.
Note: This issue is not related to the security certificate update but rather a configuration issue. Ensure all required attributes are populated to prevent this error.
Frequently Asked Questions
- How do I identify if this error applies to my situation?
- You will see the error message "One or more configuration attributes have error" when opening or refreshing old, saved baskets.
- What should I do if the error persists after populating required attributes?
- Ensure all required attributes are correctly populated. If the issue persists, contact support with specific examples and steps to reproduce the error.
- Is this issue related to the security certificate update?
- No, the issue is not related to the security certificate update. It is a configuration issue due to missing required attributes in the basket.
Priyanka Bhotika
Comments