LCFS – Compliance Report FSE section: kWh usage update fails for BCeID user but shows false “Success” message (TEST)
- Dominant language
- Python
- Stars
- 6
- Forks
- 6
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 87
Description
I haven't been able to reproduce this exact issue but have created card 3718 for a similar issue
**Describe the Bug**
When a BCeID user edits the kWh usage column in the Fuel Supply Equipment (FSE) section of the Compliance Report, the update does not persist. However, after returning to the main report page, the system displays a “Success” message, misleading the user into thinking the update was saved.
**Expected Behaviour**
When a user updates the kWh usage field:
- The new value should persist after saving.
- A success message should only appear if the update was truly successful.
- If the update fails, an error message should clearly indicate the issue.
**Actual Behaviour**
- The kWh usage value does not persist after saving and other fields are left blank
- No error message is shown during the update attempt.
- Upon returning to the main report page, a “Success” banner/message appears, even though the update failed.
**Implications**
Users believe their compliance data is updated when it is not.
**Steps To Reproduce**
Steps to reproduce the behaviour:
User/Role: BCeID
1. Log in to the test environment using a BCeID account.
2. Navigate to Compliance Report → FSE section.
3. Edit the kWh usage column, see missing info in other columns, and click Save.
4. Return to the main report page.
5. Observe the “Success” message despite the value not persisting.
Contributor guide
Assessment
This issue has not been assessed yet.