Hi,
That is not really a solution or workaround for me, because the first
requirement is that the node isn't checked out anymore.
I find it strange why this is not possible in the JCR standard.
Any other ideas?
Dieter Wachters
Architect
direct:
dieter.wacht...@lettergen.com
LetterGen
Groene
hi,
i try to put a merged odt file and i have this problem the file put is empty
and the server return a warn below
09.06.2010 10:45:48 *WARN * LazyTextExtractorField: Failed to extract text from
a binary property
org.apache.tika.exception.TikaException: TIKA-237: Illegal SAXException from
Hi,
I might have found a solution that seems to work at first sight, but would like
to hear if this isn't breaking something.
I use the restore method and then remove the latest version again. So I get
something like:
final VersionManager vm = session.getWorkspace().getVersionManager();
I think is as simple as:
node.restore(node.getBaseVersion(), true);
On Wed, Jun 9, 2010 at 11:56 AM, Dieter Wachters
dieter.wacht...@lettergen.com wrote:
Hi,
I might have found a solution that seems to work at first sight, but would
like to hear if this isn't breaking something.
I use the
No that creates a new version, which I don't want.
Dieter Wachters
Architect
direct:
dieter.wacht...@lettergen.com
LetterGen
Groene Hofstraat 31
2850 Boom
Belgium
www.lettergen.com
tel: +32 3 450 89 80
fax: +32 3 450 89 89
- DISCLAIMER -
This message contains confidential information and is
is there any way to rollback a transaction from a syncrhonous event
listener?
for example, the user insert a node the event listener is called and an
exception raise inside so we want to rollback the transaction.
--
Jose Hernandez
675599600
Isthari
http://www.isthari.com
It might be a late reply but we i saw at least in JR 2.0 is that when
session.save() happens it also forces a sync first so that the JR node gets
up-to-date first.
We also see the degradation in performance the more nodes we put in the
cluster. The global lock forces to make every session.save()
hi,
restoring the base version is the proper way to cancel a checkout. i
quickly tested it and it works.
restore never creates a version (unless you are doing simple versioning).
if this does not work for you, please create a jira issue, and
optionally a test case.
regards, toby
On Wed, Jun 9,