Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005773 [Quercus] trivial always 07-07-14 04:42 07-07-14 04:42
Reporter felfert View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version
  Product Build
Summary 0005773: context parameter of custom PHP errror handler should be of type array
Description Version: current SVN as of right now.

I am attemting to get ontoWiki working in quercus and stumbled over the following:

In modules/quercus/src/com/caucho/quercus/env/Env.java, the last parameter (context) is set to NullValue.NULL.
According to the documentation at http://www.php.net/manual/en/function.set-error-handler.php [^] this is wrong and triggers nested errors when attempting to use the following PHP error handler signature:

function errorHandler ($errno, $errstr, $errfile, $errline, array $errcontext)
{
 ...
}
Steps To Reproduce
Additional Information The attached patch fixes this problem.
Attached Files  resin-svn-quercus-errorhanderinvocation.diff [^] (572 bytes) 07-07-14 04:42

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-07-14 04:42 felfert New Issue
07-07-14 04:42 felfert File Added: resin-svn-quercus-errorhanderinvocation.diff
07-07-14 04:54 felfert Issue Monitored: felfert


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker