Source Tree values lost after renaming
| Originator: | dairgrant | ||
| Number: | rdar://13127103 | Date Originated: | 31-Jan-2013 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 3.5.2 |
| Classification: | Data Loss | Reproducible: | Always |
31-Jan-2013 08:50 PM Dair Grant: Summary: Renaming a source tree can result in the loss of that source tree entry, without warning. Steps to Reproduce: 1. Create a source tree called "Test1", with a path to "/Library/Apple". 2. Create a source tree called "Test2", with a path to "/Library/Pear". 3. Rename "Test2" to "Test1". There are now two "Test1"s in the list. 4. Rename the "Test1" from step 1 to "Test1_old". There is now "Test1_old" (Apple) and "Test1" (Pear). 5. Close the preferences window. 6. Open the preferences window. Expected Results: Both "Test1_old" (Apple) and "Test1" (Pear)" should be present in the list, as they were there when the window was closed. Actual Results: "Test1_old" (Apple) is still present, however "Test1" (Pear) no longer exists. Regression: Notes: We have two source trees that we swap the value of depending on which version of an external framework we are building against. As such we have a "Library_Test" (testing) and "Library" (actual). When swapping to the test branch we rename "Library_Test" to "Library" and "Library" to "Library_Old" but this then causes one path to vanish.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!