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 }}
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.
There is issue with dataType function in parse.php. URL needs to entered as per the new version of parse while submitting file. So please change the following code:
Notice the url parameter. I have also added class for the batchRequest and made few more changes, like role assigment etc. If you can allow me to contribute, then I can upload new branch. Then we can merge it with master.
The text was updated successfully, but these errors were encountered:
The issue arose while having beforeSave() function tied to the uploaded object in CloudCode. A thumbnail of uploaded image should have been generated and saved along with the full sized image. The missing URL parameter was causing Parse CloudCode error: Result: Uncaught Tried to save an object containing an unsaved file.
Adding the parameter "url" as Piyush mentioned above solved the CloudCode problem.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
There is issue with dataType function in parse.php. URL needs to entered as per the new version of parse while submitting file. So please change the following code:
case 'file':
$return = array(
"__type" => "File",
"name" => $params[0]
);
break;
with
case 'file':
$return = array(
"__type" => "File",
"name" => $params[0],
"url" => $params[1]
);
break;
Notice the url parameter. I have also added class for the batchRequest and made few more changes, like role assigment etc. If you can allow me to contribute, then I can upload new branch. Then we can merge it with master.
The text was updated successfully, but these errors were encountered: