Changing project options and saving those modifications with "File->Save All" command causes project file to be come corrupted.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
Resulting project file (.lpi) becomes empty (file size 0).
This happens when you save modifications of project options via "File->Save All" functionality or exit Lazarus. Project->Save project (as..) works normally.
See Steps to Reproduce and Additional Information for more info.
Steps to reproduce:
- Create new project and save it somewhere.
- Change project options.
- Use "File->Save" all to save modifications.
- Observe the project file size.
Additional information:
Lazarus and FPC was built with these commands :
Lazarus revision 51362 FPC revision 32970 FPC make commands: clean all install OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vbq -dTEST_WIN32_SEH COMPILER_OPTIONS=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vbq -dTEST_WIN32_SEH OS_TARGET=win32 CPU_TARGET=i386 REVSTR=32970 UPXPROG=echo IDE=1 NOWPOCYCLE=1 INSTALL_PREFIX=j:\free_pascal_and_lazarus_new4\fpc\i386\win32\binary\3.1.1\fpc_trunk\trunk Lazarus make commands: clean all OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -gh -O- -Si- -vb -dHEAPTRC_WINDOW -dDBG_WITH_DEBUGGER_DEBUG UPXPROG=echo USESVN2REVISIONINC=0
Mantis conversion info:
- Mantis ID: 29462
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r51362
- Platform: Windows
- Version: 1.5 (SVN)
- Fixed in revision: 51370 (#72246cb2)