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 215823 - Property removed in source view not removed in design view of persistence.xml
Summary: Property removed in source view not removed in design view of persistence.xml
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
: 220037 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-23 09:28 UTC by Jiri Skrivanek
Modified: 2012-10-22 12:41 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 Jiri Skrivanek 2012-07-23 09:28:51 UTC
Property removed in source view is not removed in design view of persistence.xml. To reproduce:

- Create new java project
- Open new file wizard and select Persistence|Persistence Unit.
- Click Next.
- Select sample database connection from the second combo box and click Finish.
- Add some property in design view (e.g. javax.persistence.query.timeout=88)
- Save file (Ctrl+S)
- Switch to Source view and remove added property
- Save file (Ctrl+S) and switch to design view but property is still available in Properties section

Product Version: NetBeans IDE Dev (Build 201207220002)
Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b08
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Sergey Petrov 2012-09-04 21:38:35 UTC
it's some kind of old issue, but there was recent complain i consider as important
Comment 2 Sergey Petrov 2012-09-05 13:06:57 UTC
http://hg.netbeans.org/web-main/rev/eb30cdff9a88
Comment 3 Quality Engineering 2012-09-06 02:11:27 UTC
Integrated into 'main-golden', will be available in build *201209060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/eb30cdff9a88
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #215823 have to replace with clean contant first as properties are not removed by merge
Comment 4 Sergey Petrov 2012-10-22 12:41:42 UTC
*** Bug 220037 has been marked as a duplicate of this bug. ***