Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322619 - Undoing project rename loses the project's preferences until workbench restart
Summary: Undoing project rename loses the project's preferences until workbench restart
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.5.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 02:34 EDT by Vladimir Piskarev CLA
Modified: 2011-08-16 07:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Piskarev CLA 2010-08-13 02:34:21 EDT
Build Identifier:  M20090917-0800

If you rename a project and then undo renaming, the settings associated with the project (such as resource encoding, or compiler settings for Java projects) will appear to be lost for the workbench session.

Reproducible: Always

Steps to Reproduce:
1. Create a simple project 'foo'
2. Set the resource encoding for the project to 'Other' (UTF-8)
3. Rename the project to 'bar'
4. Rename the project to 'foo' (or just undo renaming)
5. Notice that the encoding setting for the project is now 'Inherited from container'
6. Restart the workbench. The encoding setting for the project is 'Other' (UTF-8) once again.

For Java projects, explicitly set compiler settings will be lost in the same way.
Comment 1 Szymon Brandys CLA 2010-08-31 09:01:29 EDT
It works fine for me on 3.6. Can you see the issue on 3.6?
Comment 2 Vladimir Piskarev CLA 2010-09-04 13:54:08 EDT
I could reproduce the issue on 3.6 with Java projects. The steps to reproduce are the same except step 1, which now is "Create a Java project 'foo'". (The issue as originally described can still be reproduced with simple projects on 3.5.x, but not 3.6)
Comment 3 Szymon Brandys CLA 2011-08-16 06:57:06 EDT
Moving to LTK.
Comment 4 Szymon Brandys CLA 2011-08-16 07:03:25 EDT
Sorry. Moved the bug eagerly to JDT. Taking it back.
Comment 5 Szymon Brandys CLA 2011-08-16 07:04:13 EDT
I tested it again on one of 3.8 IBuilds and it works fine.