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 100715

Summary: Usability: At least one entry should be required for 'update' operation
Product: soa Reporter: rpoon <rpoon>
Component: Binding ComponentsAssignee: Pavan Veeravarapu <pveeravarapu>
Status: NEW ---    
Severity: blocker CC: sweng
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Clear for Update

Description rpoon 2007-04-12 00:05:13 UTC
Build: Enterprise Pack - Build 8a
   http://ivory.russia/entpack-6.0-m8a/take3/
     nb-ide_nb-soa_glassfish_openesb_sjsam_windows.exe

==========================================================
In the WSDL wizard for JDBCBC, once selected a table, in the 'Select Operation 
Specific Attribute' -> 'Advance' screen, under 'Update' tab, the 'Clear All' 
should either not be allowed for 'Update' or, it should check that at least one 
entry is selected before allowing user to click on to next tab or proceed by 
clicking the 'OK' button. 

A warning should be displayed if no entry is select and user should not be 
allow to click on different tab or proceed to next screen.

Invalid query will be generated if user click 'Clear All' for Update as:

'update <table_name> set'
Comment 1 rpoon 2007-04-12 00:05:44 UTC
Created attachment 40780 [details]
Clear for Update
Comment 2 Venkat Srinivasan 2007-04-16 06:18:49 UTC
Please look into this.
Comment 3 Narayana Pedapudi 2007-04-18 11:59:20 UTC
This is the behaviour of the combobox action lister, if the selected item
reselected again then there is no change in the selected item. Then no action
listener would be fired. You can just verify the same with Entity Database Wizard.

Steps to verify 
----------------
1. Select new Project 
2. Select "EJB Module" under Enterprise folder
3. Under the Project, on "Source Packages" select NEW--> Entity Classes from
Database
4. Select the datasource once the database connection window pops up, click cancel.
5. Reselect the same datasource, there won't be any window popup.

Inorder to make the selection work we need to select something and reselect the
one which we have cancelled.
Comment 4 Narayana Pedapudi 2007-04-18 12:01:57 UTC
Sorry comments for 100865..so reopening the issue...