-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error when saving a new map #12594
Comments
I checked a bit the issue. Since maps are the only one that in creations called the API/v2 the error is raised because it tries to calculate the permissions before save the resource.
The second should work, but i notice that the client always send the information of the is_approved, is_published and featured as false (on development demo/master) This is an issue since we cannot rely on the client. If the client serve the default value A PR with the changes is here but since the client always send the FALSE, is like to have the ADW always activated. |
I'm not sure what you mean here. Why can't we rely on the client? I agree that the client should set different defaults, but that's a different story. |
As agreed @mattiagiupponi the client will not include those properties when a new map is created (GeoNode/geonode-mapstore-client#1856). If the properties are missing the backend will assign the default values |
The POST to https://development.demo.geonode.org/api/v2/maps receives a 500 response
Log says:
The text was updated successfully, but these errors were encountered: