littleshop/LittleShop
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
..
Areas/Admin fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic 2025-11-14 00:35:55 +00:00
Controllers feat: Bot management improvements with wallet configuration and duplicate detection 2025-10-10 12:34:00 +01:00
Data Add variant collections system and enhance ProductVariant with weight/stock tracking 2025-09-28 17:03:09 +01:00
DTOs feat: Bot management improvements with wallet configuration and duplicate detection 2025-10-10 12:34:00 +01:00
Enums Implement product variations, enhanced order workflow, mobile responsiveness, and product import system 2025-09-18 01:39:31 +01:00
Hubs Add: SignalR real-time notifications for admin panel 2025-10-06 17:57:10 +01:00
Mapping Add customer communication system 2025-08-27 18:02:39 +01:00
Migrations Migration: Add variant pricing support to database schema 2025-10-04 14:46:32 +01:00
Models Fix: Remove Weight/WeightUnit from ProductVariant model - columns don't exist in DB 2025-10-03 21:00:21 +01:00
Pages Add variant collections system and enhance ProductVariant with weight/stock tracking 2025-09-28 17:03:09 +01:00
publish Deploy LittleShop to Hostinger with Docker and BunkerWeb 2025-09-24 13:00:17 +01:00
Services feat: Bot management improvements with wallet configuration and duplicate detection 2025-10-10 12:34:00 +01:00
TestAgent_Results Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
Validators Fix: Order creation validation - Support CustomerInfo without IdentityReference 2025-10-03 18:02:23 +01:00
Views Implement product multi-buys and variants system 2025-09-21 00:30:12 +01:00
wwwroot fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic 2025-11-14 00:35:55 +00:00
_Imports.razor Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
.dockerignore Add customer communication system 2025-08-27 18:02:39 +01:00
AddMultiBuysTable.csx 🔒 SECURITY: Emergency fixes and hardening 2025-09-22 05:45:49 +01:00
admin-cookies.jar Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
admin-test.jar Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
App.razor Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
apply-migration.sql Configure push notifications for internal-only access 2025-09-30 21:15:42 +01:00
appsettings.Development.json Fix SilverPay payment integration JSON serialization 2025-11-13 14:12:35 +00:00
appsettings.Hostinger.json Update BTCPay integration with production credentials and deployment documentation 2025-09-19 11:17:43 +01:00
appsettings.json Fix SilverPay payment integration JSON serialization 2025-11-13 14:12:35 +00:00
appsettings.Production.json 🔒 SECURITY: Emergency fixes and hardening 2025-09-22 05:45:49 +01:00
appsettings.Production.json.bak final 2025-08-27 22:19:39 +01:00
cookies.jar Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
cookies.txt Refactor payment verification to manual workflow and add comprehensive cleanup tools 2025-09-25 19:29:00 +01:00
Dockerfile Add customer communication system 2025-08-27 18:02:39 +01:00
littleshop-deploy.tar.gz Deploy LittleShop to Hostinger with Docker and BunkerWeb 2025-09-24 13:00:17 +01:00
littleshop-dev.db-shm refactor: Remove skip-to-content link per user request 2025-11-13 19:15:42 +00:00
littleshop-dev.db-wal refactor: Remove skip-to-content link per user request 2025-11-13 19:15:42 +00:00
littleshop-wizard-fixed.tar.gz Add customer communication system 2025-08-27 18:02:39 +01:00
LittleShop.csproj Fix CORS policy for admin.dark.side domain 2025-10-01 03:22:40 +01:00
littleshop.db.backup Update LittleShop configuration and deployment files 2025-09-18 19:27:58 +01:00
new-admin.jar Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
package.json feat: Phase 2.5 - Variant Collections Spreadsheet Editor 2025-11-13 19:40:06 +00:00
packages-microsoft-prod.deb Implement complete e-commerce functionality with shipping and order management 2025-08-20 17:37:24 +01:00
Program.cs Add: SignalR real-time notifications for admin panel 2025-10-06 17:57:10 +01:00
runtime-cookies.txt Add customer communication system 2025-08-27 18:02:39 +01:00
temp_migration.sql Configure push notifications for internal-only access 2025-09-30 21:15:42 +01:00
test-cookies.txt Add customer communication system 2025-08-27 18:02:39 +01:00
test-new-admin.jar Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
test-session.jar Initial commit of LittleShop project (excluding large archives) 2025-09-17 15:07:38 +01:00
test-session.txt Add customer communication system 2025-08-27 18:02:39 +01:00
test-wizard.html Add customer communication system 2025-08-27 18:02:39 +01:00
wizard-result.html Add customer communication system 2025-08-27 18:02:39 +01:00
wizard.html Add customer communication system 2025-08-27 18:02:39 +01:00