littleshop/LittleShop/Areas/Admin
SysAdmin 0dbc49ee89 fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic
Problem: Variant editor was skipping ALL columns with headers starting with 'Property '
(e.g., 'Property 1'), which caused complete data loss during serialization.

When users entered data but didn't rename the default column header, serializeToJSON()
would skip the column entirely, returning an empty array [] to the database.

Fix: Only skip columns with truly empty names, not default 'Property X' names.
Users can now save data even if they haven't renamed column headers.

Files changed:
- wwwroot/js/variant-editor.js: Removed propertyName.startsWith('Property ') check
- Areas/Admin/Views/VariantCollections/Create.cshtml: Updated cache-busting to v=20251113d
- Areas/Admin/Views/VariantCollections/Edit.cshtml: Updated cache-busting to v=20251113d
2025-11-14 00:35:55 +00:00
..
Components/Products Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
Controllers feat: Bot management improvements with wallet configuration and duplicate detection 2025-10-10 12:34:00 +01:00
Views fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic 2025-11-14 00:35:55 +00:00