Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 232346 - Feature names are not resolved
Summary: Feature names are not resolved
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 233054 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-15 12:20 EDT by Samuel Wu CLA
Modified: 2010-03-11 22:20 EST (History)
4 users (show)

See Also:


Attachments
screenshot (95.02 KB, image/png)
2008-05-31 18:18 EDT, Rafael Chaves CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Wu CLA 2008-05-15 12:20:00 EDT
Build ID: Build id: I20080513-0817

Steps To Reproduce:
1. Download the update site zip file from the following URL and upload it to an http server
ftp://ftp.emea.ibm.com/fromibm/pmr/83938,49R,000/update.zip
(the file will be removed after 05/22/2008)
2. Add this site to the available software site
3. The feature names in the list are displayed as %featureName. 
They should be resolved.


More information:
Comment 1 Rafael Chaves CLA 2008-05-31 18:10:36 EDT
I see the same problem with many features on the Ganymede Update Site:

http://download.eclipse.org/releases/ganymede/

Will attach a screenshot. Maybe I am in the same bad state as reported in bug 232411?

Comment 2 Rafael Chaves CLA 2008-05-31 18:11:53 EDT
Bug 233054 seems to be about a similar issue that cannot be reproduced in a clean install.
Comment 3 Rafael Chaves CLA 2008-05-31 18:18:11 EDT
Created attachment 103035 [details]
screenshot

Notice the %copyright string is not translated either. The duplicate categories is a different apparently unrelated issue.
Comment 4 John Arthorne CLA 2008-06-01 23:50:14 EDT
Rafael, which build are you using?
Comment 5 Rafael Chaves CLA 2008-06-01 23:56:01 EDT
My bad, should have noted it. I have used M7, RC2 and now RC3 in the last two days, so I am not sure anymore if it was with M7 or RC2.
Comment 6 Rafael Chaves CLA 2008-06-02 00:36:28 EDT
I am pretty sure now it was with M7.
Comment 7 Pascal Rapicault CLA 2008-07-23 11:08:10 EDT
We are no longer seeing this problem. Please reopen if this is still an issue.
Comment 8 Samuel Wu CLA 2008-07-23 17:14:07 EDT
Build id: M20080723-0800
1. Create a feature project org.eclipse.mytest
2. Change feature name from mytestFeature to %mytestFeature
3. Create a file feature.properties in the feature
4. Add the string "mytestFeature= My Test Feature" to feature.properties
5. Create an update site project and add the feature org.eclipse.mytest to it
6. Build the udpate site
7. Add the local update site to Available Software dialog
8. Expand the local update site
9. The feature name shown is "mytestFeature". It should be "My Test Feature"
The test was done with eclipse-SDK-M20080723-0800-win32.zip
Comment 9 DJ Houghton CLA 2008-07-24 16:13:28 EDT
I have verified that this is still a problem with 0723 based on Samuel's steps. 

The value from the feature.properties file is not found in the content.xml file.

It works ok if the update site doesn't have a content.xml and we connect and read the site.xml. (and download and translate from there)
Comment 10 DJ Houghton CLA 2008-07-24 17:37:59 EDT
This seems strange but I tried it again and now it works based on Samuel's steps. Perhaps I did something wrong the first time?... but I swear a search for the translated string didn't find it before but now it is there after re-generating the site.
Comment 11 Pascal Rapicault CLA 2008-12-12 22:54:54 EST
*** Bug 233054 has been marked as a duplicate of this bug. ***
Comment 12 Pascal Rapicault CLA 2010-03-11 22:20:18 EST
this has been fixed a while back