PHP exception for return page setting

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

PHP exception for return page setting

Postby rtresidd » Tue Sep 18, 2012 9:12 pm

Hi Just had someone here in the office who got an exception every time he added an "existing related record".
the exception was on line 313 of ExistingRelatedRecordForm.php
There is a type in the variable name$this->_relationshipname it should have a capital N for Name

if ( !$returnPage ){
$returnPage = $app->url('-action=related_records_list&-relationship='.$this->_relationshipName);
}

He had an odd setting overridden in Firefox resulting in this referrer path not being sent to the server
eg about:config network.http.sendRefererHeader was set to 0
fixing that back to 2 got him going down the normal path again..
But it uncovered this bug :)

Cheers
Richard
rtresidd
 
Posts: 14
Joined: Sun Aug 19, 2012 8:23 pm

Re: PHP exception for return page setting

Postby shannah » Mon Sep 24, 2012 9:38 am

Thanks for reporting this. I have added a bug report at
http://bugs.weblite.ca/view.php?id=1156

I have also fixed this bug in SVN. Details in the bug report.

-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 22 guests

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