noi-techpark / it.bz.opendatahub.databrowser

Explore and navigate through Open Data you need to build your next service.
https://databrowser.opendatahub.com
GNU Affero General Public License v3.0
9 stars 7 forks source link

BUG: change of dataset when entering form table to Detail, Raw or Edit view #602

Open sseppi opened 3 weeks ago

MatteoBiasi commented 2 weeks ago

Watch the attached video. This is not a new bug, but one that was already present in the current version. It’s simply more noticeable in this version due to the dynamic selector.

The issue is caused by the fact that some datasets are subsets of a larger dataset, which gets filtered through a URL with a query string. However, when entering the view of a record, the query string is lost, preventing the frontend from correctly resolving the dataset.

In the meantime, we've implemented the best possible patch to at least maintain the dataset within the same session, but the issue persists if the view is accessed directly via URL. Therefore, the final solution needs to be evaluated together.

https://github.com/user-attachments/assets/308c2376-4d56-46eb-b626-e8b578ae7ca6

sseppi commented 1 week ago

@MatteoBiasi Thank you for patching the problem.

I shifted this issue to the next Milestone, so we have the time to identify the best solution also for the access directly from a URL.