Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314136 - [metadata] Feature information on Installation Details not retrieved from feature.properties
Summary: [metadata] Feature information on Installation Details not retrieved from fea...
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 315598 315601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-24 12:17 EDT by Kit Lo CLA
Modified: 2019-06-19 19:11 EDT (History)
7 users (show)

See Also:


Attachments
Installation Details (22.54 KB, image/x-png)
2010-05-24 12:18 EDT, Kit Lo CLA
no flags Details
Linux Tools screenshot (110.96 KB, image/png)
2010-05-27 11:52 EDT, Andrew Overholt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kit Lo CLA 2010-05-24 12:17:35 EDT
I changed the value of the featureName/pluginName/providerName in the feature.properties and plugin.properties files and noticed that the feature information on Installation Details is not retrieved from feature.properties.

Problems:
1) feature provider name is retrived from plugin.properties
2) feature name is retrived from plugin.properties
3) "NLS" feature provider name is retrived from "code" plugin.properties
4) "NLS" feature name is retrived from "code" plugin.properties

Problem 1 may not be too bad as the feature provider is usually the same as the plugin provider.

Problem 2 may be a little problem if the plugin name is not generic and contains the word "plugin".

Problems 3 & 4 are more serious problems. We are not showing the correct provider name and feature name when an adopter is providing the "NLS" feature.

Expected results:
- I expect the Installation Details dialog to retrieve the feature provider name and feature name from the feature.properties file of the corresponding feature.
Comment 1 Kit Lo CLA 2010-05-24 12:18:25 EDT
Created attachment 169691 [details]
Installation Details
Comment 2 Susan McCourt CLA 2010-05-25 11:17:29 EDT
moving to p2.
Installation Details info comes from the p2 metadata.
The metadata generation tools do some kind of mapping, not sure if there is a bug here or not...
Comment 3 Pascal Rapicault CLA 2010-05-25 14:11:29 EDT
Kit could you please verify what happens on 3.4? I don't think much changed in this space since then.
Also at this point this information is not read from the p2 metadata but from the feature folder / feature.xml and other files.
Comment 4 Kit Lo CLA 2010-05-25 21:48:15 EDT
This is not a new problem. I confirmed that it was the same way in Eclipse 3.4.2. I just noticed where the strings are coming from by changing the value of the featureName/pluginName/providerName strings in the
feature.properties and plugin.properties files.
Comment 5 Andrew Overholt CLA 2010-05-27 11:52:27 EDT
Created attachment 170213 [details]
Linux Tools screenshot

Here's a similar example with Linux Tools.
Comment 6 Andrew Overholt CLA 2010-06-03 10:48:37 EDT
*** Bug 315598 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Overholt CLA 2010-06-03 10:48:58 EDT
*** Bug 315601 has been marked as a duplicate of this bug. ***
Comment 8 Eclipse Genie CLA 2019-06-19 19:11:13 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.