Closed zollf closed 1 year ago
That's an interesting one indeed! I'm not even sure how that's possible, but looking into it as I can replicate it on my end.
Fixed in 2.1.0
@engram-design thanks for the update. Is it possible to cherry pick the commits relating to this issue into craft-3 support? We are still using Craft 3 with Vizy
It's a bit more complicated than just that commit (which refers to picking Table nodes, not Craft Table fields in Vizy Block nodes). But I believe the fix can still be backported.
Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-3 as 1.0.22"
@engram-design thanks!
Describe the bug
Deleting any row but the last row in a Table Field within a Vizy Field and saving causes an error. It looks like
null
is being put in place of deleted rows, then when the Table Field tries to normalize its values, it fails because of thenull
.When just using a Table Field by itself (not within a Vizy Field), it works as intended, which is that you can delete any single row without an error.
Stack trace:
Further context:![image](https://user-images.githubusercontent.com/63968092/227483487-f222d954-5d8e-4e7a-ba70-0376d0a18658.png)
You can see above that the value being passed into the table is:
This is also reflected when I toggle Vizy HTML to see what the raw value looks like when I delete a row in the table.
Steps to reproduce
Craft CMS version
3.8.5
Plugin version
1.0.22
Multi-site?
No
Additional context
No response