[
https://issues.apache.org/jira/browse/CMIS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707938#comment-13707938
]
Richard McKnight edited comment on CMIS-652 at 7/14/13 3:37 AM:
----------------------------------------------------------------
Committed in revision 1502932
==============
<pre class="code-java">
function getFolderParent($folderId, $options = array ()) { //yes
$myURL = $this->getLink($folderId, LINK_UP);
//TODO: Need GenURLQueryString Utility
$ret = $this->doGet($myURL);
$obj = CMISRepositoryWrapper::extractObject($ret->body);
$this->cacheObjectInfo($obj);
return $obj;
}
</pre>
was (Author: richardm):
Committed in revision 1502932
==============
<code>
function getFolderParent($folderId, $options = array ()) { //yes
$myURL = $this->getLink($folderId, LINK_UP);
//TODO: Need GenURLQueryString Utility
$ret = $this->doGet($myURL);
$obj = CMISRepositoryWrapper::extractObject($ret->body);
$this->cacheObjectInfo($obj);
return $obj;
}
</code>
> Method CMISService::getFolderParent() throws a fatal error
> ----------------------------------------------------------
>
> Key: CMIS-652
> URL: https://issues.apache.org/jira/browse/CMIS-652
> Project: Chemistry
> Issue Type: Bug
> Components: cmis-phplib
> Affects Versions: PHPCMIS 0.1, PHPCMIS 0.2
> Environment: Ubuntu 12.10 x64, Apache Server 2.2.22, PHP 5.4
> Reporter: Daniel Peraza
> Assignee: Richard McKnight
> Labels: patch
> Fix For: PHPCMIS 0.1, PHPCMIS 0.2
>
> Attachments: cmis_repository_wrapper.php
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> On line 852 of cmis_repository_wrapper.php, there is an invocation to
> {code}extractObjectEntry(){code}, which is not implemented in the class, nor
> its parent, which is causing a fatal error in PHP.
> It should be changed to
> {code}CMISRepositoryWrapper::extractObjectFeed($ret->body){code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira