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
- Error pages (404 error.html, 400, 403): "Go Home"/"Login" used host-absolute
hrefs that bypassed the /DataCustodian context path (dead links) -> context-
relative th:href. Removed their duplicate bottom Bootstrap <script>/icons (now
provided once by the head fragment; double-loading broke the navbar dropdown).
Browser-rendered HTML error page link targets all verified 200 (API clients
still get a JSON error via content negotiation, as before).
- Accounts were always "Enabled = Yes" with no way to change it. Added an Enabled
switch to the user-account form; update() persists it. A disabled account now
shows "No" in the list and cannot sign in.
datacustodian suite: 160 tests, 0 failures.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: openespi-datacustodian/src/main/java/org/greenbuttonalliance/espi/datacustodian/web/custodian/RetailCustomerController.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,9 @@ public String update(@PathVariable Long retailCustomerId,
141
141
if (form.getRole() != null && !form.getRole().isBlank()) {
142
142
existing.setRole(form.getRole());
143
143
}
144
+
// Checkbox bound via th:field renders a hidden field, so a non-null value always arrives;
0 commit comments