constellation-app / constellation

A graph-focused data visualisation and interactive analysis application.
https://constellation-app.com
Apache License 2.0
385 stars 59 forks source link

File exports not showing overwrite warning for same file name #2185

Closed andromeda-224 closed 1 month ago

andromeda-224 commented 1 month ago

Prerequisites

Description

Some of the file exports do not show the overwrite warning dialog when attempting to overwrite same filename: To JSON, GeoJSON, GeoPackage, Shapefile, KML

Steps to Reproduce

  1. Open Constellation. Open a graph.
  2. Select File -> export -> To JSON
  3. Save file with filename (eg.test_file). Click Save. Click Export.
  4. Select File -> export -> To JSON
  5. Save file with same filename (eg.test_file). Click Save.

Expected behaviour: File Overwrite warning dialog should be displayed.

Actual behaviour: No File Overwrite warning dialog is displayed.

Reproduces how often: 100%

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

HolandCrick commented 1 month ago

@andromeda-224 Thanks for your help to fix the bug. The File Overwrite warning dialog displayed.