Home » Database » DB_DataObject_FormBuilder » Bug #1374
Links (generating selectbox) do not works
Details
| Submitted | 2004-05-10 11:00 UTC |
|---|---|
| From | sylvain at com-ocean dot com |
| Status | Bogus |
| Package | DB_DataObject_FormBuilder |
| PHP Version | 4.3.6 |
| OS | WinXP |
| Roadmaps | (Not assigned) |
Comments
[2004-05-10 11:00 UTC] sylvain at com-ocean dot com
Description:
------------
In the dbname.ini files of DataObject Class generation :
Keys fields have often a "type code" like 1 or 129 (not null)...
With FormBuilder, when there are a links (and a .links.ini file) the automated generation of selectbox works only when this code is 1. Obviously, code are generaly 129 for keys.
Thanks for this package.
Reproduce code:
---------------
FormBuilder.php,v 1.24 2004/03/14 18:17:00 mw21st
line 432 : "case DB_DATAOBJECT_INT:"
-> this constant is 1, then just add before this line :
Expected result:
----------------
"case 129 :"
(or a thing like "case DB_DATAOBJECT_INT_NOTNULL:")
-> Then the "case code" bellow is executed for 129 code too.
Actual result:
--------------
it work
[2004-05-10 12:06 UTC] sylvain at com-ocean dot com
soory... twice message