Closed GoogleCodeExporter closed 9 years ago
Yeah, I can confirm that using apns-php in combination with certain Drupal
modules will also fail on the thrown exception in ApnsPHP_Autoload, as these
other modules also implement it.
Original comment by administ...@uncinc.nl
on 19 Apr 2012 at 9:18
Seconded on the Drupal modules. As the ApnsPHP_Autoload checks using it's own
relative path when checking for class files all sorts of fun can happen when
some other autloading code is looking elsewhere for theirs.
Currently need to work around it with my own Autoload.php which simply doesn't
throw exceptions.
I figure best practice is to not throw errors in that context.
Since the exceptions are not necessarily (not likely even) thrown in the code
where you call Autoload.php you would have to catch the exceptions in code that
you might not want to hack (such as other libraries and modules). In my case it
would be ridiculous to hack the well established Views module code base to
catch these exceptions.
For this project by the way: http://drupal.org/sandbox/lawik/1507982 (APN for
Drupal)
Original comment by jellb...@gmail.com
on 15 May 2012 at 11:42
Dear,
The project source code has moved to github; if your issue is still valid,
please open it on github page https://github.com/duccio/ApnsPHP/issues
Thanks.
Original comment by aldo.arm...@gmail.com
on 26 Oct 2012 at 11:45
Original issue reported on code.google.com by
dgs...@gmail.com
on 15 Nov 2011 at 7:03