Bug #7099 2006-04-10 12:00
mortenmacfly
Filename for new project not updated
I found an issue that a filename is not correctly registered within a new project if it is asked to be renamed. Here are the steps to reproduce:
1.) Create a new console project; choose e.g. the Desktop as target folder. Call the application "MyApp" which will create a sub-folder "MyApp" on the desktop that contains "main.cpp".
2.) Close C::B and rename the folder "MyApp" to e.g. "AnotherApp".
3.) Open C::B again and open the project "MyApp" from within the folder "AnotherApp".
4.) Open the main file of that project (main.cpp).
5.) Create a new console project, call it "AnotherApp". Choose again the Desktop as target. C::B will tell you that this folder already exists and will ask if this is ok. Click "yes". Now C::B will tell you that the main file (main.cpp) already exists and ask you to save it under another name. Choose for this name e.g. "main_app.cpp". Once you click OK you'll notice that not "main_app.cpp" is associated with the new (the second) project, but still "main.cpp". If you double-click on "main.cpp" in the second project to open the file, then main.cpp from the first project will be opened. Anyway: The "main_app.cpp" has been correctly created.
With regards, Morten.
- Category
- Application::Interface
- Group
- Status
- Closed
- Close date
- 2006-05-16 11:46
- Assigned to
- killerbot
History
Hey I think this fixes the problem.
http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1043&group_id=5358
This bug is now fixed in HEAD.
Thank you for reporting it.