littleshop/LittleShop/wwwroot
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
..
css refactor: Remove skip-to-content link per user request 2025-11-13 19:15:42 +00:00
icons PWA-implementation 2025-09-01 04:49:05 +01:00
js fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic 2025-11-14 00:35:55 +00:00
lib feat: Phase 2.5 - Variant Collections Spreadsheet Editor 2025-11-13 19:40:06 +00:00
uploads/products Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
favicon.ico PWA-implementation 2025-09-01 04:49:05 +01:00
manifest.json Fix: PWA manifest warnings resolved 2025-10-06 12:20:34 +01:00
service-worker.js Feature: Add elegant PWA loading screen 2025-10-02 16:39:47 +01:00
sw.js Product-enhancements-and-validation-fixes 2025-09-01 08:03:00 +01:00
test-blazor-assets.html Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
test-blazor.html Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00