From: SourceForge.net <no...@so...> - 2013-03-20 17:54:51
|
Bugs item #3607858, was opened at 2013-03-13 01:04 Message generated for change (Comment added) made by eraonel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460297&aid=3607858&group_id=50595 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: eclipse-ccase Group: 2.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ola Persson (opersson) Assigned to: Mikael Petterson (eraonel) Summary: Renaming a file/folder does not work on first attempt Initial Comment: Trying to rename a file/folder will cause an error to be shown: Rename Resource An exception has been caught while processing the refactoring 'Rename Resource'. Reason: Element is already checked out. Clicking details only show: Element is already checked out. Clicking OK and then trying to rename again will cause the file/folder to be renamed. It appears that the parent folder was checked out the first time(requires refresh state to be shown), and because of this the second renaming attempt is successful. CCase version: 2.2.29 Eclipse SDK version 3.8.1 OS: SUSE Linux Enterprise Desktop 11 SP1 (x86_64) ---------------------------------------------------------------------- >Comment By: Mikael Petterson (eraonel) Date: 2013-03-20 10:54 Message: Before you perform the rename is the file/folder checkedout? I just want to verify that the move is correct. Can you see in which step the file/folder, in rename wizard, it is performed? //mike ---------------------------------------------------------------------- Comment By: Ola Persson (opersson) Date: 2013-03-20 01:08 Message: I take it as it doesn't matter anymore since you found the source of the problem, but I was using a dynamic view. /Ola ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2013-03-19 11:55 Message: I checked the code and I found that the checkout operation is throwing an exception is file is already checked out. There is actually no need to throw exception but just return ok since the file is already checkout. I will fix this asap. //mike ---------------------------------------------------------------------- Comment By: Mikael Petterson (eraonel) Date: 2013-03-19 11:41 Message: Thanks for using the plugin. Are you using dynamic or snapshot view? I will have a look at this asap. //mike ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=460297&aid=3607858&group_id=50595 |