Removal of Record from MySQL View

A place for users and developers of the Xataface to discuss and receive support.

Removal of Record from MySQL View

Postby andperry » Mon Oct 26, 2009 1:50 am

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.
andperry
 
Posts: 57
Joined: Wed Feb 18, 2009 9:20 am
Location: Wirral, UK

Postby shannah » Mon Oct 26, 2009 3:10 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 23 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved