Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 438751 - [target][p2] Update function of target editor does not re-resolve target
Summary: [target][p2] Update function of target editor does not re-resolve target
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: 4.5 M1   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 436950
Blocks:
  Show dependency tree
 
Reported: 2014-07-02 11:56 EDT by Curtis Windatt CLA
Modified: 2014-08-13 06:23 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2014-07-02 11:56:17 EDT
Cloned for committing to 4.5 stream, see Bug 436950 for details

+++ This bug was initially created as a clone of Bug #436950 +++

= Steps to reproduce =

* Open a target file based on p2 update sites with outdated feature versions in the target editor

Observation: target editor shows error complaining about first non-existing feature it is unable to spot => OK

* Select the p2 update site that contains to outdated feature in the target editor and click on the Update button

Expected: 
a) Outdated features get updated
b) Target editor becomes dirty
c) Target editor starts a new attempt to resolve the target definition

Actual:
a), b): OK
b): NOK, nothing happens and the previously displayed errors stay there

Observation/workaround: When opening the target file in a text editor, increasing the sequence number in the <?pde ...> header by one and saving the file, the target editor restarts resolving and removes all previously displayed errors once the resolution process has been successfully completed.
Comment 1 Curtis Windatt CLA 2014-07-02 12:03:39 EDT
http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=9ee09ca64893109175fbfede238c2bb0e48cb4a0

Also includes bundle version increase
Comment 2 Vikas Chandra CLA 2014-08-13 06:19:50 EDT
verified on  4.5 M1 eclipse-SDK-I20140806-2000-win32