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 212662 - JPA Controllers doesn't handle null collections on edit operations
Summary: JPA Controllers doesn't handle null collections on edit operations
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-17 22:18 UTC by javydreamercsw
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-05-17 22:18:21 UTC
Product Version = NetBeans IDE Dev (Build 201205160400)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_04
Runtime = Java HotSpot(TM) Client VM 23.0-b21

During creation the attributes mapped by a collection (or list based on wizard) are checked for null values and populated (with an empty collection) on the create method. On the edit method this check is not done. In some cases it should be valid to clear those lists and there's nothing preventing a null value to be set.
Comment 1 Marian Mirilovic 2012-05-18 08:14:40 UTC
no idea where this belongs to
Comment 2 Martin Balin 2016-07-07 08:54:28 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss