Community
Participate
Working Groups
20030917 In MultiMoveTest, several tests fail when we switch to the new primary working copy mode (toggle JavaPlugin.USE_WORKING_COPY_OWNERS to do that). The problem is that CopyResourceElementsOperation tests for ((ICompilationUnit) element).isWorkingCopy()) (line 675). It probably should do the extra check if this isn't the primary CU. There is a confusion between isWorkingCopy (is a sandbox working copy, not the primary) and isWorkingCopyMode (a primary CU, but currently in working copy mode)
Fixed by also checking if the cu is not a primary working copy before rejecting the operation.
Verified.