-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update of a GeoApp metadata returns a JSON message instead of redirecting to the GeoApp page #7456
Comments
@afabiani do you know if we're returning a JSON for the MapStore client purposes? |
That's curious. So why the request from the browser is treated as ajax? A flow in Django? |
It's True by default, here |
why is it set as a parameter on that request? Shouldn't it be set by Django as a request property??? |
@allyoucanmap is the mapstore client using this view somehow and set this property explicitely? |
The js is supposed to handle the response and then display the detail page. |
Expected Behavior
When hitting the "Update" button either from a GeoAppsì Advanced Metadata edit or the Metadata Wizard page the user is redirected to the GepApp detail page.
Actual Behavior
A JSON string is retrurned. E.g.:
{"message": 1739}
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: