Closed hugo-antoine-rtei closed 2 years ago
See src/ui/simulator/windows/saveas.cpp
String pathCopy = path;
pathCopy.toLower();
if (pathCopy.startsWith(rootFolder))
{
Window::Message message(&mainFrm,
wxT("Save As"),
wxT("Impossible to save the study at this location"),
wxString()
<< wxT("Please choose another folder to save the study."));
message.add(Window::Message::btnCancel);
message.showModal();
return;
}
The problem seems to be that pathCopy.startsWith(rootFolder)
is evaluated to true
.
Duplicate of #598
Closed by #600
Description When trying to save a study (new or loaded), I get a window saying:
I get this message regardless of the folder I put it in (at /home/user it doesn't work either). I also tried using sudo before launching antares.
How to Reproduce
antares-8.1-ui-simulator
Expected behavior A saved study
Screenshots and additional files Screenshot of the window I get:
OS and version
Additional context When building antares from scratch, saving a study works fine.