This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158996 - Custom attribute placed to Manifest file only should be shown in project properties
Summary: Custom attribute placed to Manifest file only should be shown in project prop...
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks: 162137
  Show dependency tree
 
Reported: 2009-02-23 15:04 UTC by alex_pst
Modified: 2009-07-27 14:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex_pst 2009-02-23 15:04:48 UTC
If user adds new custom attribute which should be placed to manifest file only, this attribute disappears from list
after Project properties window closing. User can be confused with such behavior and try to add attribute one more time.

How to reproduce:
1) Open some CLDC project
2) Open project properties
3) Go to "Application Descriptor" section, tab "Attributes"
4) Click button “Add” and enter “My3” in “Name”, “Only in Manifest” in “Value” fields, select “Manifest” in Placement list
5) Click "OK"
6) Open project properties again and check attributes list in "Application Descriptor" section
Verify that "My3" attributes disappeared from list
7) Close Project properties dialog
8) Build project
9) Open project's manifest file
Attribute "My3" is in MANIFEST.MF file, regardless of fact that it isn't shown in the project properties dialog
Comment 1 Petr Suchomel 2009-03-17 15:15:02 UTC
Fixed in CS 732f1e8b492c. Seems to be a type in code
Comment 2 Quality Engineering 2009-03-19 20:37:18 UTC
Integrated into 'main-golden', will be available in build *200903191401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/732f1e8b492c
User: psuchomel@netbeans.org
Log: Fix for #158996, Custom attribute placed to Manifest file only should be shown in project properties
Comment 3 Andrei Chistiakov 2009-07-27 14:22:14 UTC
Verified with NetBeans IDE Dev (Build 200907270201)