Bug 15950

Summary: state pane needs to check for singular value
Product: Red Hat Web Site Reporter: Paul Lindner <plindner>
Component: Join_ProcessAssignee: Martin C. Messer <mmesser>
Status: CLOSED CURRENTRELEASE QA Contact: Paul Lindner <plindner>
Severity: medium Docs Contact:
Priority: low    
Version: currentKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-07-22 17:02:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Lindner 2000-08-10 20:46:26 UTC
a weird error in   /apps/activate/newlogin.html  

 join:utb=
1<br>                                                                
 join:zip=
320-030<br>                                                          
 state:choice=
ARRAY(0x9b092ac)                                                                                                                                                                                                                      
Errors Output

 error executing code for include /home/httpd/apps/panes/join/callback.apm:
SQL chunk: INSERT INTO web_user_site_info (id,
web_user_id,address1,            address1_ol, address2, address2_ol,
alt_first_names, alt_first_names_ol,        alt_last_name,
alt_last_name_ol, city, city_ol, country, email, fax, is_po_box, phone,
state, state_ol, type, zip, zip_ol) VALUES                              
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)                                   
Error: Can't bind a reference (ARRAY(0x9b092ac))
at                             /home/httpd/lib/WebUser/Sites.pm 
line 243

Comment 1 Tom Lancaster 2001-04-25 19:14:35 UTC
I'm downgrading this to a feature request, on the grounds that this is in no way
the fault of the state pane - all it does is produce an html element which is
not supposed to allow multiple selections. If anything, this is a browser bug,
or a malicious user.
It could be argued that an we could error out more gracefully if this happens.
I'm changing the summary to reflect that.

Comment 2 Jay Turner 2001-05-14 21:29:21 UTC
I see no way that a user can select multiple states from this selection list. 
Cleaning up this error condition is definitely low priority.