PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject_FormBuilder » Bug #6962

crossLinks are no more processed

Details

Submitted2006-02-28 17:14 UTC
Frompedro at enova dot com dot br
Assignedjustinpatrin
StatusClosed
PackageDB_DataObject_FormBuilder
PHP Version5.1.2
OSdebian sarge
Roadmaps(Not assigned)

Comments

[2006-02-28 17:14 UTC] pedro at enova dot com dot br

Description:
------------
After updating from 1.0.0RC2 to 1.0.0RC3 the crossLinks set in my application stop working. Watching the DataObject debug messages I found that the crossLink field is marked as "to not be editable by the user". I tried to include the field name in the userEditableFields array in the DO object, but this take no effect. There is a way to make it work?
Just in time: there is no fieldsToRender array and no preDefOrder array defined in DO object.

[2006-06-12 16:24 UTC] pedro at enova dot com dot br

Today I've found the "troublemaker". A dot in the crosslink'ed table that wasn't sanitized when FB sets $fb->crossLinks property. So, I recommend FB to sanitize the table name at this point too, and not only when it checks if the crosslink is in $editableFields array (line# 2761 on FormBuilder.php). That's all. Keep the good work!

[2006-12-07 11:58 UTC] pedro at enova dot com dot br

The problem occurs when I use schemas in a postgresql database. In this case table names uses dot (public.table).