Open sadakchap opened 3 years ago
Thanks for reporting. Interesting find, I think we should try to merge all of the pending PRs over the next days and then see which issues still occur. A lot of PRs are changes in the Data Browser, so maybe the issue will self-resolve.
I am able to reproduce this with the latest version. The reason is that deleting a field creates a delete
operation, although this is a new object to be saved:
_User
request:
{
"authData": {},
"username": {
"__op": "Delete"
}
}
I classify this as bug with severity 4 (trivial).
The solution is to not set a delete
operator when deleting a field while creating a new object.
New Issue Checklist
Issue Description
Not able to save or create new objects after deleting one of the field values, using
del
key after selecting that field cell.Steps to reproduce
del
key, that should unset that fieldActual Outcome
Can not save new row, getting error You cannot use [object Object] as a query parameter.
Expected Outcome
should be able to save new row.
Pull Request
FILL_THIS_OUT
Environment
Dashboard
2.1.0
Chrome
Version 92.0.4515.107 (64-bit)
Server
4.5.0
Ubuntu 20.04.2 LTS
local
Database
MongoDB
3.3
remote host
Logs
https://user-images.githubusercontent.com/44117648/127895519-d8cf0bc8-2ff8-49a3-9ee3-8b7bb229afe7.mp4