Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.2

Request #2888 Automatically add null element in Select for Link if field may be null
Submitted: 2004-12-04 15:43 UTC
From: c dot schneider at scram dot de Assigned: justinpatrin
Status: Closed Package: DB_DataObject_FormBuilder
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 39 - 9 = ?

 
 [2004-12-04 15:43 UTC] c dot schneider at scram dot de
Description: ------------ If I have two tables: person id car_id (may be null in database) car id name and a link in db_name.links.ini [person] car_id = car:id Inside a person form I get a select for car. As the database allows this field to be null. The select should also contain a null element. Is this possible?

Comments

 [2004-12-04 21:27 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-12-05 00:17 UTC] c dot schneider at scram dot de
I already use this option to work around the problem. But selectAddEmpty does not add a NULL to the row. In my case the field is an int and should contain NULL if no link is selected but FormBuilder sets the field to 0. Is this a bug?
 [2004-12-08 00:26 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-12-08 00:26 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-12-08 01:36 UTC] c dot schneider at scram dot de
I have just installed the cvs version and can confirm it works in my test example. Many thanks for the fast fix.
 [2004-12-12 07:17 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!