[
https://issues.apache.org/jira/browse/CMIS-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Vasiliev updated CMIS-557:
-------------------------------
Attachment: jcr_id.patch
ID.png
{quote}
are more specific what's wrong with how the ID is currently parsed and what
your expectations are,
{quote}
See attached screen-shot. In my case id is a path and doesn't contain version
label. But method assumes that the last part of the id will be the version
label.
{quote}
propose a fix optimally as patch for the current trunk.
{quote}
Please find attached
> Issues with JcrRepository.getJcrNode and ID format
> --------------------------------------------------
>
> Key: CMIS-557
> URL: https://issues.apache.org/jira/browse/CMIS-557
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-server-jcr
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Ivan Vasiliev
> Assignee: Michael Dürig
> Attachments: demo-project.zip, ID.png, jcr_id.patch
>
>
> I have JCR repository backed by file system. ID of node looks like
> "/folder/folder/file1.txt". The JcrRepository.getJcrNode parses this ID
> incorrectly.
> Since JcrRepository is not open for extensions I have to fix this in a hacky
> way.
> See in attached project:
> JcrServiceFactoryDecorator.java
> JcrRepositoryDecorator.java
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira