[
https://issues.apache.org/jira/browse/CMIS-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113747#comment-13113747
]
Jens Hübel commented on CMIS-433:
---------------------------------
Jay I found some issues with updating properties on versioned documents. These
result in lost updates after check-in. They are not always easy to detect as
for example the workbench maintains a client side copy so you notice the
problem only after a refresh. As a side effect query fails on those versions if
where clause checks for these updated values. I have committed a fix to
subversion.
However I was not able to reproduce your null-pointer exception. Could you
attach a stacktrace to help me identifying this? Could you perhaps also verify
that the unit test testVersionsWithQuery() in class EvalQueryTest.java of the
InMemoryServer successfully passes in your environment? It does almost the same
(mvn test includes this test).
Using the latest source I was able to run the query from above in the CMIS
workbench.
Thanks!
> problem with SELECT * FROM VersionableType
> ------------------------------------------
>
> Key: CMIS-433
> URL: https://issues.apache.org/jira/browse/CMIS-433
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-server-inmemory
> Affects Versions: OpenCMIS 0.5.0
> Environment: Using matching 0.5.0 releases of Workbench and the
> inMemoryServer - Windows 7...
> Reporter: jay brown
> Assignee: Jens Hübel
> Fix For: OpenCMIS 0.6.0
>
>
> Using matching 0.5.0 releases of Workbench and the inMemoryServer (but this
> happened with previous versions too)
> I can do this select and it works fine using the query function of Workbench.
> SELECT * FROM DocumentTopLevel as d where d.StringPropTopLevel = 'xxx'
> However if I do the same function using VersionableType I get a nullPointer
> exception at the server (which propagates back to workbench)
> SELECT * FROM VersionableType as d where d.VersionedStringProp = 'xxx'
> Not seeing anything wrong with this query. Need this to work for the IOD
> demo.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira