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
8 stars 7 forks source link

Duplication of an event while uploading files. #504

Closed sseppi closed 5 months ago

sseppi commented 5 months ago

The problem emerged while creating the following event and using the beta version of the data browser

https://v2-beta.databrowser.opendatahub.com/dataset/detail/tourism/v1/EventShort/3cf75028-864d-4291-8683-72afbde7dd83?source=noi

The steps the customer dir are the following:

  1. add the event by clicking on 'Add record'
  2. fill al information and mandatory field and click on save
  3. upload a pdf file in one language (e.g. it) and click on save
  4. upload a pdf file in another language (e.g. de) and click on save
  5. upload a pdf file in another language (e.g. en) and click on save
  6. add NOI Ag as publisher and click on save
  7. add NOI Community App as publisher and click on save

At the end of the process, as you can see from the screenshots below, multiple records was created and exposed by the Open Data Hub.

Data Browser image

NOI Website image

sseppi commented 5 months ago

@MatteoBiasi after doing a little bit of testing and debugging with the client, it seems that the problem appears if the user uploads a new file in a new language and clicks on save.

Can you please check if the problem is that one?

If so, since the upload file will be completely refactored in the next update of the Data Browser, can you verify that the problem is solved in the new version of the Data Browser?