Closed mwallschlaeger closed 1 month ago
@ridoo @matthesrieke please check if this is still valid
@gannebamm I expected such tickets to appear here: https://github.com/orgs/GeoNodeUserGroup-DE/projects/1/views/4
I will have a look at them once everything from 4.1.0 has been merged, and will add bugfixes if the issue is still valid
Investigation result: The non-spatial dataset is not converted to a spatial one. The link back to the dataset is using the /dataset
route instead using the /tabular
one. The metadata editor seems to be using the old Django templates.
Correction .. it is indeed converted to spatial-dataset, The /tabular
route works for normal /datasets
so it appeared to me to be a routing issue on the first glimpse. I will have a deeper look.
The issue is caused by the default resource_manager
which is called from layers/views.py#dataset_metadata
. The non-spatial importer handler creates a custom resource manager by intent, to avoid conflicting steps when GeoNode tries to sync/handle spatial resources at GeoServer (tiles, styles, gwc, ..).
@gannebamm @matthesrieke It seems that the metadata editor was not tested thoroughly (at least by me), and turns out to be a blind spot for further integration issues.
I tried to transfer this issue to the GeoNodeUserGroup-DE/importer-datapackage repository where it actually belongs to IMHO, but I only get three private repos as an option:
Do anyone know the trick to do so?
Note: You can only transfer issues between repositories owned by the same user or organization account. A private repository issue cannot be transferred to a public repository.
Maybe switching this repo to public for transferring the issue could do the trick. Afterwards, it should be put to private again.
Note: You can only transfer issues between repositories owned by the same user or organization account. A private repository issue cannot be transferred to a public repository.
Maybe switching this repo to public for transferring the issue could do the trick. Afterwards, it should be put to private again.
I tested that workaround successfully. I am not sure if there are any ramifications by doing that for a 'live' repo. Any ideas?
I cannot see any ramifications documented under Transferring an issue to another repository which I would reject.
However, there are side-effects when making private -> public -> private but I cannot spot any, which would raise other issues.
Note: I have hidden off-topic comments with regard transferring the issues to this repository
When uploading a dataset as non spatial dataset and editing the metadata of the dataset. The dataset is converted to a spatial dataset