You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When saving an object, all its fields are set to null if they have not been filled.
This leads Vertigo to check for notNull fields, including the ID.
This behaviour prevents us from creating new instances.
Expected behaviour
Not setting the property at all would prevent the check on the java side.
Suggested fix in common/mixin/store-behaviour.js :
Current behaviour
When saving an object, all its fields are set to null if they have not been filled.
This leads Vertigo to check for notNull fields, including the ID.
This behaviour prevents us from creating new instances.
Expected behaviour
Not setting the property at all would prevent the check on the java side.
Suggested fix in common/mixin/store-behaviour.js :
Define IS_VERTIGO variable in webpack.config.js if necessary.
myConfig.addDefinedVariable('__IS_VERTIGO__',' true');
The text was updated successfully, but these errors were encountered: