First of all, your expression is wrong on the screenshots. It must not be:
{{$_POST.IDMotore.default('null')}}
but
{{$_POST.IDMotore.default(null)}}
no quotes around null
I just tested this with the correct expression in an update record step and it works perfectly fine. Try correcting your expression and test again. If the expression disappears, try recreating the whole update step or the whole server action.
I canāt recreate this issue. Please recreate the step or the server action, something must have gotten corrupt. Or if you donāt want to recreate it, just edit this in the server action code.
Sorry i am not following.
Just try recreating the server action if you donāt know how to edit it in code.
Obviously something is wrong with it, as I canāt recreate the issues youāre having.
I tried all the solutions but without success
The insertion action works
The action of updates instead or delete the variations when it is saved, even if I act on the code
I would like to avoid having to create all the action, but I donāt know how to do it
Maybe if I go to manually edit the file on the server?
The last of the attempts is the following
I donāt know if itās correct
This error Now
āmessageā: āUndefined property: stdClass::$nameā,
Maybe itās because there are other fields with the same problem.
Now, knowing that it is correct I correct the fields that have this problem
Then Iāll see if it will be ok
@Teodor
Hi Theodor
There are 20 fields in the record that must accept a null value (when updating the record) and I made the change for all of them by modifying the action code.
Now it still generates error but no longer for the 20 fields, but for an error in the validator file on line 51
This is line 51 of the file
Maybe I should add in the second part too ānameā: āIDMotoreā
Sorry Teodor
But I donāt understand anything anymore
I created a new action and uploaded database
I then changed the value of IDMotore (with default null)
But also with an action that has just begun the value appears with the quotes
And if I save and close the file, when the open the variation IDMotore value has