Re: javax.jcr.PathNotFoundException for node with character '|' in name

2014-05-13 Thread hsp
Tobias, In ...core...SessionItemOperation /** * Performs this operation on the specified item. This method resolves * the given absolute path and calls the abstract * {@link #perform(ItemManager, Path)} method to actually perform the * selected operation. * *

Versioning Restore

2014-05-13 Thread Yiğit Çetin
Hi when i restore the old version from version history. the newer version is gone . But i don't want to lose newer version too. I only want to change active version for these nodes. Is there any chance to change only active version or do you propose me another solution for this?

Re: javax.jcr.PathNotFoundException for node with character '|' in name

2014-05-13 Thread Tobias Bocanegra
Hi, well, '|' is an invalid character by the JCR spec: InvalidChar ::= '/' | ':' | '[' | ']' | '|' | '*' so I wonder how you created this node :-) but maybe you can iterate over the childnodes, do a string-compare of the name and then do a node.remove(), eg: for (NodeIterator iter =

Re: javax.jcr.PathNotFoundException for node with character '|' in name

2014-05-13 Thread hsp
Tobias; Ok, I will try to run such kind script directly in server environment. I know about these spec, but I think was caused by some batch import long time ago, these nodes are there since jack 1.0, it was a surprise for me too... Thanks by your hints! Helio. -- View this message in

Re: [ANNOUNCE] Apache Jackrabbit 2.8.0 released

2014-05-13 Thread hsp
Jukka; In my code, after upgrade to 2.8.0, it is highlighted The type org.apache.jackrabbit.core.config.ConfigurationException cannot be resolved. It is indirectly referenced from required .class files in RepositoryConfig.create(x,y) It seems the .class ConfigurationException disappeared

Re: [ANNOUNCE] Apache Jackrabbit 2.8.0 released

2014-05-13 Thread Jukka Zitting
Hi, On Tue, May 13, 2014 at 10:50 AM, hsp piccina...@ibest.com.br wrote: In my code, after upgrade to 2.8.0, it is highlighted The type org.apache.jackrabbit.core.config.ConfigurationException cannot be resolved. It is indirectly referenced from required .class files in