-
please disable the code:
/vendor/zfcampus/zf-hal/src/Plugin/Hal.php
/*
if (!$id) {
return new ApiProblem(
422,
'No…
ghost updated
10 years ago
-
I have some resources with identifier $id = 0. This is currently not rendering correctly inside `ZF\Hal\Plugin\Hal`.
This is related to the `createEntity` method on line 751 in `ZF\Hal\Plugin\Hal` w…
Wilt updated
10 years ago
-
During `error-details`, we do the following in the video
``` php
$apiProblem->set('details', $e->getMessage());
```
This is a mistake - it should be `detail` per the Problem Details spec.
-
Currently the HalViewHelper factory has a hardcoded dependency on ZF\Hal\Plugin\Hal. This dependency should be pulled from the service locator, so it can be overriden.
-
Cool module.
One recommendation is to consider adopting the IETF API-Problem specification for error messages. There is a good blog post at https://www.mnot.net/blog/2013/05/15/http_problem that give…
-
I am trying to change status code to 403 on zfcRbac module like this:
``` php
namespace Application;
use Zend\EventManager\EventManagerInterface;
use Zend\Http\Response as HttpResponse;
use Zend\Mvc…
-
Hi,
I'm having an issue where zfr-cors doesn't seem to be given the chance to add its headers if a resource controller returns an ApiProblem. Causing API requests from browsers to fail with an XMLHtt…
-
Thanks for this great module, I just wanted to pin out 2 important things that were mssing in the documentation. At least it took me a while to find the missing pieces. Please can you add how to enabl…
-
When I run: php public/index.php development enable
I get the following error:
Parse error: parse error in /zf-apigility-skeleton/vendor/zfcampus/zf-api-problem/src/ZF/ApiProblem/Factory/ApiProblemLi…
-
I'm playing around with `zf-rest` and other modules related to Apigility (great work BTW!). I'm currently stuck when trying to report detailed errors from REST resource.
I want to use InputFilter to v…