Page 1 of 1

Removal of Record from MySQL View

PostPosted: Mon Oct 26, 2009 1:50 am
by andperry
I have a MySQL view which is being accessed as a table in Xataface. Tried editing a record in such a way that it would cause the record to be removed from the view. On saving the record I get the error message:-

Fatal error: Call to a member function hasJoinTable() on a non-object in E:\Users\Common\Data\WebSite\Sites\All Sites\public_html\xataface-1.2.1\Dataface\FormTool.php on line 930

This problem has been introduced as a result upgrading from Xataface version 1.1.5 to 1.2.1. With version 1.1.5 it works OK by simply moving on to the next record in the view (or saying there are no records to display if the change causes the last remaining record to be removed from the view).

Is this a bug in version 1.2.1 or is there another issue at stake?

Thanks,

Andrew.

PostPosted: Mon Oct 26, 2009 3:10 pm
by shannah
This is very strange. It would seem to be a bug, but it's a scary one to me, because looking at the offending line I don't see any reason how this could ever come to pass.

Can you post this in the issue tracker along with relevant version information and table schemas if possible so that I can try to reproduce it.

-Steve