Bug 65942 - Closing/opening a project doesn't have the correct delta
Summary: Closing/opening a project doesn't have the correct delta
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 07:12 EDT by Jerome Lanneluc CLA
Modified: 2004-06-07 07:19 EDT (History)
0 users

See Also:


Attachments
Proposed patch (1.83 KB, patch)
2004-06-07 07:15 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2004-06-07 07:12:20 EDT
I20040529

Closing a project shows the following Java delta:
Java Model[*]: {CHILDREN | CONTENT}
   Test[-]: {}
   ResourceDelta(/Test)[*]

It should show:
Java Model[*]: {CHILDREN | CONTENT}
   Test[*]: {CLOSED}
   ResourceDelta(/Test)[*]

The F_CLOSED flag is not set.
Comment 1 Jerome Lanneluc CLA 2004-06-07 07:14:34 EDT
Problem was identified investigating bug 64887 which is targeted at 3.0 RC2.
Comment 2 Jerome Lanneluc CLA 2004-06-07 07:15:03 EDT
Created attachment 11647 [details]
Proposed patch

Changed DeltaProcessor to create a CHANGED delta with F_CLOSED/F_OPENED flag
set if the project is closed/opened. Changed TypeHierarchy delta processing to
handle this flag.
Comment 3 Jerome Lanneluc CLA 2004-06-07 07:19:13 EDT
Discarding