Closed stefan-korn closed 1 month ago
In addition I am not sure about this defintion in metastore.routing.yml: https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/metastore.routing.yml#L185 Is this necessary? Seems using duplicate path admin/dkan/datasets.
@janette I think this was supposed to create a sub-menu item so you could get straight to the create form from the admin menu -- I could swear this worked at one point but the path is clearly wrong?
Fixed by #4248
Is there an existing issue for this?
Current Behavior
The menu link for the dataset overview is defined in https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/metastore.links.menu.yml#L32 with description Dataset content view If the module metastore_admin is enabled, the default dataset content view from metastore.routing.yml is replaced by the DKAN Dataset content view https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/modules/metastore_admin/config/install/views.view.dkan_dataset_content.yml with description 'Administer all content in the DKAN metastore'. But the description for the menu link is not changed still reading Dataset content view
Expected Behavior
If the metastore_admin module is enabled, the description of the menu link should read the same as is provided by the DKAN Dataset view: Administer all content in the DKAN metastore And since dkan requires metastore_admin module as a dependency, this probably applies generally.
This could be solved in different ways I suppose. Directly changing the in metastore.links.menu.yml, changing/overwriting in metastore_admin module ...
In addition I am not sure about this defintion in metastore.routing.yml: https://github.com/GetDKAN/dkan/blob/2.x/modules/metastore/metastore.routing.yml#L185 Is this necessary? Seems using duplicate path admin/dkan/datasets.
Steps To Reproduce
No response
Environment
No response
Relevant log output
No response
Anything else?
If you give me a hint if and what direction in changing this you may want to follow I will provide a MR.