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 25722 - Properties editor doesn't work for more than one properties
Summary: Properties editor doesn't work for more than one properties
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
: 25823 25876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-17 10:13 UTC by pfelenda
Modified: 2003-07-01 14:20 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 pfelenda 2002-07-17 10:13:12 UTC
[200207170340],jdk1.4.0

Steps to reproduce:

- Create new properties file or use existed file
- Add new property, use for this action button
"New property ..." in Editor and fill appeared dialog
- Add second property (use the same procedure, but
use other name)

-> Only one property is visible in editor, but
both properties are in properties file.
Comment 1 Martin Roskanin 2002-07-18 14:19:22 UTC
fixed in [maintrunk]

/cvs/properties/src/org/netbeans/modules/properties/PropertiesStructure.java,v
 <--  PropertiesStructure.java
new revision: 1.34; previous revision: 1.33

The bug is caused by the fix of #17044.
Petr, you commit the code,

here is your diff:
http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesStructure.java.diff?r1=1.32&r2=1.33

 that's why I am asking you for reviewing my fix. I just uncommented
one line ;-). The problem was that properties structure wasn't
modified to actual changes.

DIFF:
http://properties.netbeans.org/source/browse/properties/src/org/netbeans/modules/properties/PropertiesStructure.java.diff?r1=1.33&r2=1.34

Comment 2 Martin Roskanin 2002-07-18 14:21:26 UTC
Also, Petr (Felenda), could you test the fix in tomorrow's build? I
would like to send a request for integration to release 34. Thanks.
Comment 3 _ pkuzel 2002-07-18 14:45:19 UTC
Reviewed, it is OK
Comment 4 Martin Roskanin 2002-07-19 13:01:03 UTC
*** Issue 25823 has been marked as a duplicate of this issue. ***
Comment 5 pfelenda 2002-07-22 11:01:12 UTC
Verified in #200207190200. It seems all right. 
Comment 6 Martin Roskanin 2002-07-22 13:52:59 UTC
*** Issue 25876 has been marked as a duplicate of this issue. ***
Comment 7 Martin Roskanin 2002-07-23 14:21:17 UTC
integrated into [release34]

/cvs/properties/src/org/netbeans/modules/properties/PropertiesStructure.java,v
 <--  PropertiesStructure.java
new revision: 1.33.8.1; previous revision: 1.33
Comment 8 Quality Engineering 2003-07-01 14:20:34 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.