littleshop/LittleShop/Areas/Admin/Views
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
..
Account Add Pending Payment tab and rebrand to TeleShop Admin 2025-09-24 15:55:15 +01:00
Activity Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
BotActivity Add product variants system and live bot activity dashboard 2025-09-24 23:00:20 +01:00
Bots feat: Bot management improvements with wallet configuration and duplicate detection 2025-10-10 12:34:00 +01:00
Categories feat: Phase 2 - Mobile-first responsive card views 2025-11-13 18:00:33 +00:00
Dashboard Add Pending Payment tab and rebrand to TeleShop Admin 2025-09-24 15:55:15 +01:00
Messages final 2025-08-27 22:19:39 +01:00
Orders feat: Phase 1 - Critical WCAG 2.1 AA accessibility improvements 2025-11-13 17:56:28 +00:00
Products feat: Complete Phase 2 - Products responsive mobile cards 2025-11-13 19:17:05 +00:00
Reviews Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
Shared refactor: Remove skip-to-content link per user request 2025-11-13 19:15:42 +00:00
ShippingRates feat: Phase 2 - Mobile-first responsive card views 2025-11-13 18:00:33 +00:00
SystemSettings Deploy LittleShop to Hostinger with Docker and BunkerWeb 2025-09-24 13:00:17 +01:00
Users feat: Phase 2 - Mobile-first responsive card views 2025-11-13 18:00:33 +00:00
VariantCollections fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic 2025-11-14 00:35:55 +00:00
_ViewStart.cshtml Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00