-
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
Error in passing params from metadata parsers to storers #12883
Milestone
Comments
13 tasks
13 tasks
13 tasks
Should also be fixed on master: geonode/geonode/resource/manager.py Line 371 in a9450f2
Also note that that part shall be probably reworked on #12902 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Elements parsed by a metadata parser should be propery passed to storers
Actual Behavior
Storers do not find the expected custom metadata dict.
Causes
The
resourcebase_post_save
function is called by merging the custom dict to the original kwargs:https://github.com/GeoNode/geonode/blob/4.4.1/geonode/resource/manager.py#L426
But then the
custom
key is searched within the kwargs, which is not we want:https://github.com/GeoNode/geonode/blob/master/geonode/resource/utils.py#L466-L472
Specifications
The text was updated successfully, but these errors were encountered: