Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332164 - [planner] No explanation for patch not applying
Summary: [planner] No explanation for patch not applying
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 262736 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-08 14:17 EST by Andrew Niefer CLA
Modified: 2019-09-14 15:00 EDT (History)
2 users (show)

See Also:


Attachments
p2 repo (68.65 KB, application/octet-stream)
2010-12-08 14:17 EST, Andrew Niefer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2010-12-08 14:17:13 EST
Created attachment 184811 [details]
p2 repo

If a patch conflicts with something in the current install and can not be applied, there is no explanation about this conflict in the UI.

There is just a simple message "patch is not applicable to the current configuration and will not be installed."


To reproduce, start with Eclipse SDK 3.6.1
Find attached a p2 repository containing 2 feature patches.
"RCP Patch"    (org.eclipse.rcp.R361patch.feature.group) and
"RCP Patch V2" (org.eclipse.rcp.R361patchV2.feature.group)

Both are attempting to change the version of org.eclipse.equinox.launcher used by the 3.6.1 SDK

The first patch does not apply because there are other IUs in the product that have requirements on the launcher.  So this patch would introduce conflicts with those IUs.  We should expect an explanation saying something about the new version of org.eclipse.equinox.launcher conflicting with the old one and the old one is still required by other IUs.

 The second patch has been modified by hand to patch these other IUs as well and so it does apply.
Comment 1 Pascal Rapicault CLA 2010-12-16 21:03:47 EST
This is a known issue and result from the way we are dealing with patches in the UI (and other places). To allow for the patches to uninstalled automatically and thus not block an update to a more recent version of something patched, the patches are installed optionally. This has the side effect that if it can't be applied the planner will return success and the UI will not say anything.

Daniel and I have discussed that in the past and in order to address this properly, we would have to do some serious changes to the encoding, especially if we wanted to keep the ability of auto-update that I was describing before.
Comment 2 Pascal Rapicault CLA 2010-12-16 21:05:03 EST
*** Bug 262736 has been marked as a duplicate of this bug. ***
Comment 3 Terry Parker CLA 2011-09-12 19:38:09 EDT
I'm trying to install an update to an existing JDT feature patch.  I can install it successfully if I use "Install new software", but it fails if I use "Check for updates" with the "patch is not applicable to the current configuration and will not be installed" message.

Is that this bug or a separate issue?
Comment 4 Pascal Rapicault CLA 2011-09-12 22:51:57 EDT
This would be another bug. Please open it and attach the profile of the install in which you are trying to install, as well as the metadata repo site you are installing the update from.
Comment 5 Eclipse Genie CLA 2019-09-14 15:00:54 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.