From 0139e3f8774384a652a4ac6817277f1e16173999 Mon Sep 17 00:00:00 2001 From: ChristopheBoucaut Date: Tue, 6 Aug 2013 10:22:45 +0200 Subject: [PATCH] Update WebserviceRequest.php The deleted method calls $this->resourceConfiguration, which is never initialized in specific web services, so if we use the "display" parameter, the webservice returns an error --- classes/webservice/WebserviceRequest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/classes/webservice/WebserviceRequest.php b/classes/webservice/WebserviceRequest.php index c90e3a43a..378138a32 100644 --- a/classes/webservice/WebserviceRequest.php +++ b/classes/webservice/WebserviceRequest.php @@ -513,7 +513,6 @@ class WebserviceRequestCore $this->setError(501, sprintf('The specific management class is not implemented for the "%s" entity.', $this->urlSegment[0]), 124); else { - $this->setFieldsToDisplay(); $this->objectSpecificManagement = new $specificObjectName(); $this->objectSpecificManagement->setObjectOutput($this->objOutput) ->setWsObject($this);