fix: resolve all flaws identified in CODEBASE-ANALYSIS.md #8
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/codebase-flaws"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes all findings from the codebase analysis document.
Security Fixes
token_versioncolumn to users (V5 migration) — checked on every JWT-authenticated requestCode Quality
Bug Fixes
Test Impact
Flaw 11 - Repetitive @JsonIgnoreProperties: Remove 'hibernateLazyInitializer' and 'handler' from all entity @JsonIgnoreProperties annotations — Hibernate6Module handles these globally via Jackson configuration. Flaw 12 - Fragile bag barcode lookup: Change endpoint from /api/bags/barcode/{barcode} (@PathVariable) to /api/bags/by-barcode?barcode= (@RequestParam) for better handling of special characters in barcodes. Co-authored-by: CommandCodeBot <noreply@commandcode.ai>