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 F0D9B10497 for ; Wed, 12 Jun 2013 05:54:31 +0000 (UTC) Received: (qmail 65081 invoked by uid 500); 12 Jun 2013 05:54:31 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 64828 invoked by uid 500); 12 Jun 2013 05:54:25 -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 64819 invoked by uid 99); 12 Jun 2013 05:54:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 05:54:20 +0000 Date: Wed, 12 Jun 2013 05:54:20 +0000 (UTC) From: =?utf-8?Q?Jens_H=C3=BCbel_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CMIS-668) '.' in Obect Type ID causes CmisInvalidArgumentException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-668?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jens H=C3=BCbel reassigned CMIS-668: ------------------------------- Assignee: Jens H=C3=BCbel =20 > '.' in Obect Type ID causes CmisInvalidArgumentException > -------------------------------------------------------- > > Key: CMIS-668 > URL: https://issues.apache.org/jira/browse/CMIS-668 > Project: Chemistry > Issue Type: Bug > Components: opencmis-server-inmemory > Affects Versions: OpenCMIS 0.8.0, OpenCMIS 0.9.0, OpenCMIS 0.10.0 > Environment: amd64 Linux, Tomcat6 > Reporter: Michael Burwig > Assignee: Jens H=C3=BCbel > > The InMemory server cannot handle queries of object types whose IDs conta= in any '.' or '-' characters, like in "MyDocType1.1". Such queries result i= n an uncaught CmisInvalidArgumentException Exception. > Example: > [http://some.url/chemistry-opencmis-server-inmemory-0.10.0-SNAPSHOT/atom/= A1/query?q=3D\{SELECT%20*%20FROM%20MyDocType1.1\}] > {code} > line 1:25 no viable alternative at input '.1' > org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentExcep= tion: line 1:25 no viable alternative at input '.1' > =09at org.apache.chemistry.opencmis.server.support.query.QueryUtilStrict.= parseStatement(QueryUtilStrict.java:57) > =09at org.apache.chemistry.opencmis.server.support.query.QueryUtilBase.pr= ocessStatement(QueryUtilBase.java:78) > =09at org.apache.chemistry.opencmis.server.support.query.QueryUtilBase.pr= ocessStatementUsingCmisExceptions(QueryUtilBase.java:114) > =09at org.apache.chemistry.opencmis.inmemory.query.InMemoryQueryProcessor= .processQueryAndCatchExc(InMemoryQueryProcessor.java:114) > =09at org.apache.chemistry.opencmis.inmemory.query.InMemoryQueryProcessor= .query(InMemoryQueryProcessor.java:98) > =09at org.apache.chemistry.opencmis.inmemory.storedobj.impl.StoreManagerI= mpl.query(StoreManagerImpl.java:590) > =09at org.apache.chemistry.opencmis.inmemory.server.InMemoryDiscoveryServ= iceImpl.query(InMemoryDiscoveryServiceImpl.java:139) > =09at org.apache.chemistry.opencmis.inmemory.server.InMemoryService.query= (InMemoryService.java:405) > =09at org.apache.chemistry.opencmis.server.impl.atompub.DiscoveryService$= Query.serve(DiscoveryService.java:115) > =09at org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dis= patcher.java:87) > =09at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServle= t.dispatch(CmisAtomPubServlet.java:221) > =09at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServle= t.service(CmisAtomPubServlet.java:171) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > =09at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap= plicationFilterChain.java:290) > =09at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio= nFilterChain.java:206) > =09at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrappe= rValve.java:233) > =09at org.apache.catalina.core.StandardContextValve.invoke(StandardContex= tValve.java:191) > =09at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve= .java:127) > =09at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve= .java:102) > =09at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineV= alve.java:109) > =09at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.j= ava:293) > =09at org.apache.coyote.http11.Http11Processor.process(Http11Processor.ja= va:859) > =09at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.pro= cess(Http11Protocol.java:602) > =09at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:= 489) > =09at java.lang.Thread.run(Thread.java:722) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira