Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312819 - Installation Details | Installed Software Tab Does Not Resolve %productName
Summary: Installation Details | Installed Software Tab Does Not Resolve %productName
Status: CLOSED DUPLICATE of bug 268144
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 12:50 EDT by Kenneth Evans, Jr. CLA
Modified: 2020-02-20 05:01 EST (History)
4 users (show)

See Also:


Attachments
Installed Software tab showing productName as the name of the product. (64.17 KB, image/png)
2010-05-13 12:52 EDT, Kenneth Evans, Jr. CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Evans, Jr. CLA 2010-05-13 12:50:45 EDT
Build Identifier: M20090917-0800

I have an RCP product with the name specified as %productName with the actual value found in plugin.properties as is a common practice.  In my product, this name is correctly used, e.g. in the About XXX item on the help menu.  However, if you access the about dialog and do Installation Details then Installed Software, the product is listed with the name "productName", not its value XXX.  If the product name is directly given as XXX in the .product editor instead of as %productName, then it works correctly.

Thus, the InstalledSoftware tab is not parsing the %productName correctly.

Reproducible: Always

Steps to Reproduce:
1. Configure a product using %productName as the name and use plugin.properties to define the name.
2. Verify the Installed Software tab does not have the correct name.
3.  Verify Help | Aboput soes have the correct name.
Comment 1 Kenneth Evans, Jr. CLA 2010-05-13 12:52:47 EDT
Created attachment 168416 [details]
Installed Software tab showing productName as the name of the product.
Comment 2 Pascal Rapicault CLA 2010-05-14 10:24:12 EDT
Could you please try generating this metadata using a recent 3.6 build?
Comment 3 Kenneth Evans, Jr. CLA 2010-05-17 13:38:14 EDT
 I just installed 3.6.0 M7 and tried it.  The problem still occurs.
Comment 4 Susan McCourt CLA 2010-05-17 16:52:43 EDT
The product name in the about dialog menu (and the installation details title bar) comes from Platform.getProduct().

The screenshot shows that the IU representing the product does not show the product name, so this is a problem with the metadata.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:14:15 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.
Comment 6 Ed Merks CLA 2020-02-19 05:48:40 EST
I believe the problem is in the metadata itself (which hasn't been shared) and not in how it's presented in the  UI.
Comment 7 Kenneth Evans CLA 2020-02-19 10:39:07 EST
According to the original post it was readily reproduced if you want to see the metadata.  It's been ten years. Using RCP turned out to be a mistake. I only have two apps left, which cause problems with every version update in ways I can't debug.  Help requests are ignored.  Bottom line: it is ok with me if you close this issue.
Comment 8 Ed Merks CLA 2020-02-19 11:44:33 EST
Ah, I think I see now.  All the products I see define the name in the product file; it's kind of there twice too, also in the launch arguments.  There's nothing to suggest you can use %... anywhere because there's no specific bundle from which this should be resolved.  Perhaps it should be from the bundle defining the extension that registers the product, but that extension itself registers a name that is used elsewhere, but not for the product IU itself.

So the product IU is then kind of the only IU for which you can't provide translations and can see that this might be useful.  But you can build a product's IU without there being a registered extension for it, so I'm not sure how the publisher should find the %productName.

I'll mark it as an enhancement then, though it's unlikely to see time investment. :-(
Comment 9 Kenneth Evans CLA 2020-02-19 13:32:20 EST
Thanks. I'm sure I'm defining it in the .product file now.  It looks like what I did then was based on things I'd seen others do. Again, it's and old issue, Eclipse has changed significantly, it isn't especially important, and the issue can be closed as far as I'm concerned.
Comment 10 Ed Merks CLA 2020-02-20 05:01:11 EST
As I wade through all the issues, I see this is a duplicate.

*** This bug has been marked as a duplicate of bug 268144 ***