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 - Usability: At least one entry should be required for 'update' operation
Summary: Usability: At least one entry should be required for 'update' operation
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavan Veeravarapu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 00:05 UTC by rpoon
Modified: 2007-10-30 08:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Clear for Update (52.40 KB, image/jpeg)
2007-04-12 00:05 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
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...