Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 416E318E8E for ; Mon, 11 Apr 2016 05:20:26 +0000 (UTC) Received: (qmail 31991 invoked by uid 500); 11 Apr 2016 05:20:26 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 31789 invoked by uid 500); 11 Apr 2016 05:20:26 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 31622 invoked by uid 99); 11 Apr 2016 05:20:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 05:20:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A60E42C1F5A for ; Mon, 11 Apr 2016 05:20:25 +0000 (UTC) Date: Mon, 11 Apr 2016 05:20:25 +0000 (UTC) From: "Zhi Wang (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-974) Parsing Exception: Extensions tree too wide MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234504#comment-15234504 ] Zhi Wang commented on CMIS-974: ------------------------------- Thanks for replying, I will follow the side note 1. For side note 2, I have no idea... maybe the alfresco could consider to disable the link for atom and web service binding in CMIS 1.1 endpoint, then the life will be much easier.. > Parsing Exception: Extensions tree too wide > ------------------------------------------- > > Key: CMIS-974 > URL: https://issues.apache.org/jira/browse/CMIS-974 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client, opencmis-workbench > Affects Versions: OpenCMIS 0.13.0 > Reporter: Zhi Wang > Labels: features > Original Estimate: 168h > Remaining Estimate: 168h > > When using opencmis to get object by path from alfresco, it will report exception: > parsing exception: Extensions tree too wide!. > The method I use to create document is as follow: > /** > * Returns a CMIS object from the session cache. If the object is not in the > * cache or the cache is turned off per default {@link OperationContext}, it > * will load the object from the repository and puts it into the cache. > *

> * This method might return a stale object if the object has been found in > * the cache and has been changed in or removed from the repository. Use > * {@link CmisObject#refresh()} and {@link CmisObject#refreshIfOld(long)} to > * update the object if necessary. > * > * @param path > * the object path > * > * @return the requested object > * > * @throws CmisObjectNotFoundException > * if an object with the given ID doesn't exist > * > * @cmis 1.0 > */ > CmisObject getObjectByPath(String path); > It happens when there are many tags added for a specific folder, the API and the workbench will both report the same error. > The url I use to connect to the repository of alfresco is: > http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom > Now I have to use > http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser > to make it work. > I found there are limitation set for extensions tree width, the same code works find when using browser binding repository url. -- This message was sent by Atlassian JIRA (v6.3.4#6332)