Open deltamarnix opened 4 months ago
What would the desired behavior be in this case?
There's a basic inconsistency in the fact that the TOML has a unique name, but the created geopackage does not. So I think a user may reasonably expect there not to be a problem creating a new model with a new TOML name.
You can easily overwrite content with the newfile
flag, but that's guaranteed to lead to unwanted deletion of data.
Alternatively, the plugin could create the TOML with a unique name at given location, automatically create an input_directory with the same name and place the database there.
At the least though, there should be a check and a QMessageBox popping up if it can't succesfully write everything.
And unfortunately, it still writes
test2.toml
to disk, although it does not match the database.gpkg.