zazuko / cube-creator

A tool to create RDF cubes from CSV files
GNU Affero General Public License v3.0
11 stars 2 forks source link

Adding New Elements to Existing Shared Dimensions #1450

Closed tboeni closed 1 year ago

tboeni commented 1 year ago

While trying to add new elements to the BAQUA - Monitoring Program SD, I encountered that when I am going for a new entry for example dimension/bgdi/inlandwaters/bathingwater/CH25037 as a new dynamic "hasPart" property for BAQUA_GE the entry does not get saved. Although pressing the "save term" button shows a success the SD does not remember the new term that was just added.

Also the suggested "linkable" terms are not searchable in the dropdown and do not show all the possible entries for the given SD but only the first few in alphabethical order.

Affected functionalities

To Reproduce Steps to reproduce the behavior:

  1. Go to 'BAQUA - Monitoring Program'
  2. Edit any entry and go to dynamic properties
  3. Add any functioning term and press "save term"
  4. See error

Desktop (please complete the following information):

tpluscode commented 1 year ago

Maybe the issue with adding is a red herring. The real problem appears to be the lacking search functionality. Without the chose value appearing in the dropdown, it cannot be properly selected.

I will momentarily provide a fix which bring back the searchability of the dropdown, which should resolve the problem.

tboeni commented 1 year ago

Thanks for your reply @tpluscode. What I recognized as well, if you put in a URI directly instead of searching the dropdown for the equivalent object it does not remember the value after saving the term also. Additionally, deleting a term does not work either. As I tried to delete unused terms in the Shared Dimension as a test

tpluscode commented 1 year ago

What I recognized as well, if you put in a URI directly instead of searching the dropdown for the equivalent object it does not remember the value after saving the term also.

Yes, they must be selected from the options. Search coming very soon now

Additionally, deleting a term does not work either. As I tried to delete unused terms in the Shared Dimension as a test

I assume you mean removing term values from a dynamic property? I checked, and found no issue there