mrmap-community / Mapbender2.8

Other
3 stars 1 forks source link

digitize - loading saved data empty list #69

Closed karlbrink closed 3 years ago

karlbrink commented 3 years ago

normal behavior

You load the modern GUI - open the digitize tool - add new element - then you shoul see this: grafik

problem

if you are signed in and proceed like above you see just this: grafik

expected

in the classic GUI it is working as expected: grafik

ideas

if the user you are logged in has no saved WMC, the problem does also not occur. so if we compare the usecases - signed in or not - has saved wmc or not - in the classic gui the difference is at least in the styling of the datatable.

perhaps there are just used diffrent versions of the datatables jquery plugin the one used in the modern gui is perhaps just incompatible

karlbrink commented 3 years ago

pls doublecheck someone:

yes! there was a difference in the used jquery datatables version. i changed the modern gui like this: grafik

  1. the modul is called: jq_datatables
  2. change the modul-path to: ../extensions/dataTables-1.7.5/media/js/jquery.dataTables.min.js,../extensions/dataTables-1.7.5/extras/TableTools-2.0.0/media/js/TableTools.min.js
  3. go to the elementVar section of the modul jq_datatables and change the value of defaultCSS to ../extensions/dataTables-1.7.5/media/css/demo_table_jui.css
SvenTUM commented 3 years ago

I could recreate it and had the same values and behavior.