Bug 40779 - Primary working copies: no deltas on destroy
Summary: Primary working copies: no deltas on destroy
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-25 11:24 EDT by Martin Aeschlimann CLA
Modified: 2003-08-28 06:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2003-07-25 11:24:10 EDT
M2

Using the working copy mode for CU

Change is to rename a field in the editor from 'x' to 'x1':
1. On the change a delta 'content | fine grained, field x removed, field x1
added' is sent. The delta is rooted on the CU (workingcopy)
2. On editor close without saving a delta 'primary working copy' is sent, no changes

A delta that reports that the field is back to x (or a complete CU change)
should be reported.
Comment 1 Jerome Lanneluc CLA 2003-08-21 11:09:04 EDT
Fixed JavaModelManager.discardPerWorkingCopyInfo(...) to report a fine grained 
delta when a primary working copy is discarded.

Added regression test WorkingCopyOwnerTests.testDeltaDiscardPrimaryWorkingCopy2
()
Comment 2 David Audel CLA 2003-08-28 06:19:49 EDT
Verified.