mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 20:40:13 +03:00
Fixes #2759 When renaming a project: - Update self._filename to match the new project name - Rename the .gns3 file on disk to keep it in sync - Add error handling for file rename failures When duplicating a project: - Use self._filename (actual filename) instead of self.name - This handles the case where a project has been renamed - Prevents 'No such file or directory' errors The root cause was that project renaming only updated the project name in memory and in the .gns3 file content, but did not update the actual .gns3 filename. This caused duplicate operations to fail because they tried to read a file with the new name that didn't exist.