This topic contains 3 replies, has 2 voices, and was last updated by Alexandr Smaga 9 years, 9 months ago.
- Topic
Hello everybody, i have a probleme with REST Bundle , i create some Get HTTP and all work well , but the POST HTTP not very well, and this since 3 days…
I have the same error :Warning: array_replace(): Argument #1 is not an array in D:\projects\Groupe_GC\vendor\oro\platform\src\Oro\Bundle\SoapBundle\Form\EventListener\PatchSubscriber.php on line 30
and in my product controller i have this method
/**
* REST POST Product
*
* @ApiDoc(
* section="Product",
* description="Post product item",
* resource=true
* )
*
*/
public function postAction()
{
return $this->handleCreateRequest();
}
after i create the handler like AccountHandler of OroCrm , the services , and ApiType .. as the api rest of Account in oro…
The probleme come when the patchSubscriber want to unbind($form)
but i don’t understand why values are null , whereas in sandBox of nelmio , i put well the header and json value..
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.