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
{{ message }}
Repository navigation
Cannot update _User, _Role, _Product, _Installation, _Session via Schemas API #804
Can you post the current contents of your _SCHEMA collection and a curl that demonstrates the issue? Also make sure you are using the latest version of Parse Server (2.1.4)
Activity
drew-gross commentedon Mar 3, 2016
This should be fixed by #797
Marco129 commentedon Mar 3, 2016
@drew-gross #797 did not fix this bug.
Perhaps is another problem in function
buildMergedSchemaObjectof Schema.jsdrew-gross commentedon Mar 3, 2016
OK, thanks for the heads up. Reopening.
drew-gross commentedon Mar 3, 2016
Merged #811
ntloc592 commentedon Mar 4, 2016
I try to update system scheme with lasted version via Schemas API, but I can not do that
{
"code": 136,
"error": "field 'field name....' cannot be added"
}
==> This is not working with System schema.
==> 'mongoObject._id' is alway 'undefined', so 'sysSchemaField' is alway []
drew-gross commentedon Mar 4, 2016
Can you post the current contents of your
_SCHEMAcollection and a curl that demonstrates the issue? Also make sure you are using the latest version of Parse Server (2.1.4)ntloc592 commentedon Mar 4, 2016
I make sure using lasted version 2.1.4
I try to update System Schema via API
{
"_ApplicationId": "appId",
"_ClientVersion": "browser",
"_MasterKey": "masterKey",
"_InstallationId": "308310ea-6516-75bb-bcf7-3c85fbf0ec2f",
"_method": "PUT",
"className": "_User",
"fields": {
"test_system": {
"type": "String"
}
}
}
{
"code": 136,
"error": "field username cannot be added"
}
Marco129 commentedon Mar 4, 2016
Oh! My bad...
I assumed there will be a
_idjust like some of the test casesWill provide bugfix PR asap
ntloc592 commentedon Mar 4, 2016
Thanks for this work!
drew-gross commentedon Mar 4, 2016
Thanks for fixing the bug and adding tests @Marco129!