georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

[Context Export] Unabble to export map configuration in context manager since 2023.02.RCx #679

Closed rgoffinet closed 5 months ago

rgoffinet commented 7 months ago

Describe the bug Since the deployment of 2023.02.00-RC*-geOrchestra releases, we can no longer save map configuration in context manager, only the 'export context' option is now available.

To Reproduce

  1. As administrator, create a new context or edit the configuration of an old context
  2. Access page 2 of context configuration
  3. Click on the options icon and select export
  4. The 'export map' options is overlayed by the 'export context' option and we can't save our map configuration in a json or wmc file.

Expected behavior Beeing able to export map configuration while configuring a context as it was possible in previous versions of MS2-geOrchestra.

Screenshots MapExport_202302RC_issue

Desktop :

Additional context

Gaetanbrl commented 7 months ago

I complete this issue. After some test, too many components are loaded :

  1. Create a new contexte https://portail-test.sig.rennesmetropole.fr/mapstore/#/context-creator/new

  2. open browser web console and search export-panel class to find 3 panels :

image

This behavior is only reported from contexte editor map.

I reproduce the same for #DRAGDROP_IMPORT_ZONE id :

image

catmorales commented 7 months ago

@tdipisa, thank you to check this. Probably linked to https://github.com/georchestra/mapstore2-georchestra/issues/584

dsuren1 commented 6 months ago

The issue happens because the control keys on both toggle operations are identical. The fix will be provided on MS and backported to stable