• Holiday Schedule

    Your code gophers will be away for the next couple of weeks so support will be sporadic. We should be fully back online by the end of September.

  • A new version of Full Calendar is now available.

    See the details here

Error handling if calling a unknown record

Status
Not open for further replies.

troester

Administrator
Staff member
Setup:
A link in an email calling a form where the record is only accessible for the logged in user (list prefilter).
The record is not found (correct) if the user is not logged in.

But Fabrik is throwing a runtime exception "requested page not found" (around line 3223 form.php). Is there a special reason not to do
Code:
JError::raiseWarning(500, FText::_('COM_FABRIK_COULD_NOT_FIND_RECORD_IN_DATABASE'));
return false;
to have a "nice" error message inside the normal Joomla page?
 
I was a little hesitant, in case there was some very specific reason it got changed in 3.1.

But I guess we'll find out, if my change provokes some nasty problems elsewhere. :)

-- hugh
 
Status
Not open for further replies.

Members online

No members online now.
Back
Top