Problems with related records
9 posts
• Page 1 of 1
Hello again
I've got a problem with the related records... First when I try to export the related records, the program saves only the main records, not the related. The relationship was created via $parentfield=table.field in the relationships.ini file: [equipos] equipo.eqCliCod="$cliCod" actions:addexisting=0 In addition, I receive a Fatal error when I try to delete or update a related record using the 'with selected' buttons. This one: Fatal error: Call to undefined method PEAR_Error::getTitle() in K:\wamp\www\mantenimiento\dataface\Dataface\templates_c\default\%%2E^2EA^2EA26F76%%copy_replace.html.php on line 33 I'm using the getTitle() function on my tables.php files but even deleting the function, the error persists. Somebody knows what's happen? Thanks Jesus
Hi Jesus, Thanks for the bug report.Ê For the export csv function, here is the fix.Ê Open the actions.ini file in Dataface, and find the [export_csv_related] section.Ê The url line for this is url = "{$this->url('-action=export_csv&--related=1')" change it to url = "{$this->url('-action=export_csv')&--related=1" I'm looking into the other issues.Ê Will get back to you shortly. Best regards Steve
Hi Jesus, Can you send me a copy of the HTML source for the related records page in question.Ê I'm interested in the page with the checkboxes.Ê I'm wondering if some of the special characters that would appear in Spanish are causing some problems... Thanks -Steve
Thanks for this first solution. The html code returned is the next: Warning: Invalid argument supplied for foreach() in K:\wamp\www\mantenimiento\dataface\actions\copy_replace.php on line 58 Warning: array_keys() [function.array-keys]: The first argument should be an array in K:\wamp\www\mantenimiento\dataface\actions\copy_replace.php on line 158 Warning: Invalid argument supplied for foreach() in K:\wamp\www\mantenimiento\dataface\actions\copy_replace.php on line 158 Buscar/Reemplazar registros This form allows you to perform batch updates on all of the selected Seleccionados:
|