fix: Custom fields delete bug — usunięcie wszystkich pól produktu nie działało
Dodano hidden marker custom_field_name_present w formularzu edycji produktu.
Zmieniono warunek w ProductRepository z array_key_exists('custom_field_name')
na array_key_exists('custom_field_name_present') — jQuery .serialize() pomijał
klucz pustej tablicy gdy wszystkie pola usunięte. Test jednostkowy dodany.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,10 +23,10 @@ composer test # standard
|
||||
## Aktualny stan
|
||||
|
||||
```text
|
||||
OK (820 tests, 2277 assertions)
|
||||
OK (821 tests, 2278 assertions)
|
||||
```
|
||||
|
||||
Zweryfikowano: 2026-03-19 (ver. 0.342)
|
||||
Zweryfikowano: 2026-04-16 (ver. 0.346)
|
||||
|
||||
## Konfiguracja
|
||||
|
||||
|
||||
Reference in New Issue
Block a user