I have experienced a problem for a long time in which a fatal error occurs when attempting to save an edited record having changed the primary key. I have been able to live with the problem as I have written some code to detect the change of primary key and on saving the record, to redirect the browser to the list view of the table. The fatal error can easily be viewed by clicking the browser 'back' button immediately after saving the record. I have just tried it again today using Xataface 1.3.2 and the error message is as follows:-
- Code: Select all
Fatal error: Call to a member function hasJoinTable() on a non-object in /media/Data/Users/Common/Documents/WebSite/All Sites/public_html/xataface-1.3.2/Dataface/FormTool.php on line 930
This was done on the following platform:-
Ubuntu Server 12.04
Apache 2.2.22
PHP 5.3.10
MySQL 5.5.22
Xataface 1.3.2
Please let me know if you need any further information.
Thanks,
Andrew.