, I will follow the thread as adviced
and let you know.
Thanks,
Yannick
2011/6/14 <users-request(a)xwiki.org>
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Fwd: Fwd: users Digest, Vol 47, Issue 12 (Marius Dumitru Florea)
2. Fwd: users Digest, Vol 47, Issue 12 (Yannick Dewilde)
3. Subscribe to RSS feed inpassword-protected wiki (coldserenity)
4. Activity Dashboard doesn't work (Felix van Wasen)
5. Re: Activity Dashboard doesn't work (Sergiu Dumitriu)
6. Re: Subscribe to RSS feed inpassword-protected wiki
(Sergiu Dumitriu)
7. Re: Class with hibernate query (Sergiu Dumitriu)
8. Re: Subscribe to RSS feed inpassword-protected wiki
(Roman Muntyanu)
9. Issue on attachments versioning (Maxime Sinclair)
10. Re: Issue on attachments versioning (Maxime Sinclair)
----------------------------------------------------------------------
Message: 1
Date: Mon, 13 Jun 2011 13:46:40 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Subject: [xwiki-users] Fwd: Fwd: users Digest, Vol 47, Issue 12
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4DF5EA90.8060002(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Yannick,
You didn't answer the second question. Do you have this problem on a
wiki hosted by
myxwiki.org or on a wiki hosted elsewhere. If your wiki
is hosted on
myxwiki.org then you need to follow this thread
http://lists.xwiki.org/pipermail/users/2011-June/024308.html . Otherwise
you need to tell us more about your problem. What version of XWiki
Enterprise are you using? Is it a fresh install or did you upgrade
recently? Was the WYSIWYG editor working before? What browser are you
using? Does it happen on other browsers? On Firefox, do you see any
JavaScript exception logged in the Firebug console?
Hope this helps,
Marius
-------- Original Message --------
Return-Path: <yannick.dewilde(a)gmail.com>
X-Original-To: mariusdumitru.florea(a)xwiki.com
Delivered-To: mariusdumitru.florea(a)xwiki.com
Received: from
mail-yx0-f178.google.com (
mail-yx0-f178.google.com
[209.85.213.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No
client certificate requested) by borabora.xpertnet.biz (Postfix) with
ESMTP id 5D8D76601E7 for <mariusdumitru.florea(a)xwiki.com>om>; Mon, 13 Jun
2011 12:15:26 +0200 (CEST)
Received: by yxm8 with SMTP id 8so1763086yxm.9 for
<mariusdumitru.florea(a)xwiki.com>om>; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com;
s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type;
bh=9g4XSJEg18VB89KXhCUEE+Fy9FsKNpu3WDWDI5OwbE0=;
b=SXsznF3RcKfunBMiQt8ciqP0EUyBcpnweOkV1qtHT9BlpXPgE8z9Mi/EYHq0cy4vlH
atwJTAAPzUhoBa9PPNj22QDsGD8JpDhvAZf3QBIP19ousa0ynvoYh+qPezLn9PJvlSls
6Au1mBKy2jhxWraP0s4uNchXCUCW99d2uWBJY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
b=TcDsP59ApWfv4Xjck3eHTq3+mbk5Y6K5P9uRxI/ZTnen4RbTwPnhmT7c7dOWUjgWO/
hzZbypFO58oxa+aoptgvSVq8dW5PWEViHvDIXRvuilZ4/f3Ej99+ooZvsljkI7RxGACY
hboezguoMQ1V9FNjc7uhOUnYZrpt50XR7zyEg=
MIME-Version: 1.0
Received: by 10.236.191.200 with SMTP id
g48mr6974588yhn.437.1307960124156; Mon, 13 Jun 2011 03:15:24 -0700 (PDT)
Received: by 10.147.124.4 with HTTP; Mon, 13 Jun 2011 03:15:24 -0700
(PDT)
In-Reply-To: <mailman.3.1307959204.7144.users(a)xwiki.org>
References: <mailman.3.1307959204.7144.users(a)xwiki.org>
Date: Mon, 13 Jun 2011 12:15:24 +0200
Message-ID: <BANLkTim08TXUVFWBB7bo4SkdY67ziefS+g(a)mail.gmail.com>
Subject: Fwd: users Digest, Vol 47, Issue 12
From: Yannick Dewilde <yannick.dewilde(a)gmail.com>
To: mariusdumitru.florea(a)xwiki.com
Content-Type: multipart/alternative;
boundary=20cf30563e6b94ab6804a595328b
Hi Marius,
No I can't edit a simple wiki page with WYSIWYG...
Thanks for your help
Yannick
---------- Forwarded message ----------
From: ** <users-request(a)xwiki.org <mailto:users-request@xwiki.org>>
Date: 2011/6/13
Subject: users Digest, Vol 47, Issue 12
To: users(a)xwiki.org <mailto:users@xwiki.org>
Message: 2
Date: Mon, 13 Jun 2011 12:19:19 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com
<mailto:mariusdumitru.florea@xwiki.com>>
Subject: Re: [xwiki-users] Blog : windows "Content:" and "Summary
(optional):" not accessible
To: users(a)xwiki.org <mailto:users@xwiki.org>
Message-ID: <4DF5D617.9040301(a)xwiki.com <mailto:4DF5D617.9040301@xwiki.com
>
Content-Type: text/plain;
charset=ISO-8859-1; format=flowed
Hi Yannick,
On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
Hello,
When I try to post a blog, the windows
"Content:" and "Summary
(optional):"
are in loading mode all the time. It's not
possible to add anything.
I guess this means the WYSIWYG editor fails to load. Can you edit a
simple wiki page in WYSIWYG edit mode? Do you have a wiki on
myxwiki.org
<http://myxwiki.org>?
Hope this helps,
Marius
Can you help me pls?
Regards
Yannick
_______________________________________________
users mailing list
users(a)xwiki.org <mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org <mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 47, Issue 12
*************************************
------------------------------
Message: 2
Date: Mon, 13 Jun 2011 13:00:07 +0200
From: Yannick Dewilde <yannick.dewilde(a)gmail.com>
Subject: [xwiki-users] Fwd: users Digest, Vol 47, Issue 12
To: XWiki Users <users(a)xwiki.org>
Message-ID: <BANLkTi=_4WOT8PRdu+P6iC3XauF=CaqjbQ(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi Marius,
No I can't edit a simple wiki page with WYSIWYG...
Thanks for your help
Yannick
---------- Forwarded message ----------
From: <users-request(a)xwiki.org>
Date: 2011/6/13
Subject: users Digest, Vol 47, Issue 12
To: users(a)xwiki.org
Message: 2
Date: Mon, 13 Jun 2011 12:19:19 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Subject: Re: [xwiki-users] Blog : windows "Content:" and "Summary
(optional):" not accessible
To: users(a)xwiki.org
Message-ID: <4DF5D617.9040301(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Yannick,
On 06/10/2011 02:39 PM, Yannick Dewilde wrote:
Hello,
When I try to post a blog, the windows
"Content:" and "Summary
(optional):"
are in loading mode all the time. It's not
possible to add anything.
I guess this means the WYSIWYG editor fails to load. Can you edit a
simple wiki page in WYSIWYG edit mode? Do you have a wiki on myxwiki.org?
Hope this helps,
Marius
Can you help me pls?
Regards
Yannick
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 47, Issue 12
*************************************
------------------------------
Message: 3
Date: Mon, 13 Jun 2011 10:53:23 -0700 (PDT)
From: coldserenity <rmuntyan(a)softserveinc.com>
Subject: [xwiki-users] Subscribe to RSS feed inpassword-protected wiki
To: users(a)xwiki.org
Message-ID: <1307987603361-6471115.post(a)n2.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi,
Is there a way to subscribe to RSS feed in a totally protected XWiki (only
log-in page described to anonymous)? E.g. with MS Outlook?
I used common feed list approach described here
http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vist…
I'm able to see items when the feed is imported to outlook the first time,
but then I do not get the updates.
And here's
http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/
where I found people discussing subscription to a password protected feed.
Regards,
Roman
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Subscribe-to-RSS-feed-inpassword-protecte…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
------------------------------
Message: 4
Date: Mon, 13 Jun 2011 21:16:17 +0200
From: Felix van Wasen <felixvanwasen(a)me.com>
Subject: [xwiki-users] Activity Dashboard doesn't work
To: users(a)xwiki.org
Message-ID: <CBAB255C98254DD69F19AE0956E970E8(a)me.com>
Content-Type: text/plain; CHARSET=US-ASCII
Hi,
after the update the activity object in the Dashboard does not work
anymore. I can see it, but it shows no activities, even no posts.
Thanks for your ideas.
Felix
------------------------------
Message: 5
Date: Tue, 14 Jun 2011 02:51:33 +0200
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
Subject: Re: [xwiki-users] Activity Dashboard doesn't work
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4DF6B095.4030602(a)xwiki.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 06/13/2011 09:16 PM, Felix van Wasen wrote:
Hi,
after the update the activity object in the Dashboard does not work
anymore. I can
see it, but it shows no activities, even no posts.
Thanks for your ideas.
Can you mention from which to which version did you upgrade?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
------------------------------
Message: 6
Date: Tue, 14 Jun 2011 03:05:42 +0200
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
Subject: Re: [xwiki-users] Subscribe to RSS feed inpassword-protected
wiki
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4DF6B3E6.6050807(a)xwiki.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 06/13/2011 07:53 PM, coldserenity wrote:
Hi,
Is there a way to subscribe to RSS feed in a totally protected XWiki
(only
log-in page described to anonymous)? E.g. with MS
Outlook?
I used common feed list approach described here
http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vist…
I'm able to see items when the feed is
imported to outlook the first
time,
but then I do not get the updates.
And here's
http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/
where I found people discussing subscription to a
password protected
feed.
Regards,
Roman
Other than configuring the feed reader to use a certain username and
password, you must also alter a bit the RSS URL by appending
&basicauth=1 as a query string parameter.
For example, for the blog feed, use:
http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain&basicauth=1
instead of:
http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain
Does this solve your problem?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
------------------------------
Message: 7
Date: Tue, 14 Jun 2011 03:20:32 +0200
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
Subject: Re: [xwiki-users] Class with hibernate query
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4DF6B760.9010308(a)xwiki.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 06/12/2011 05:39 PM, Gerritjan Koekkoek wrote:
Hi
(XWiki 2.7.2)
I've defined a class with a property defined as DatabaseList
It's a multi select
The Hibernate query is:
select ata.filename
from XWikiAttachment as ata,
XWikiDocument as doc
where doc.fullName ='CdLSAssociations.FlagAttachments'
and doc.id = ata.docId
order by ata.filename
This works fine, when I create a new object of this class I can select
multiple
fileNames
My questions;
I would like to strip the filename extension from the ata.filename
(ar.png =>
ar)
I was trying a substr(ata.filename,1,2) does not
work
How do I do this?
In theory you could use something like this:
select ata.filename, substring(ata.filename, 0, locate(ata.filename,
'.')) from XWikiAttachment...
But only in theory. There's a bug in the DBList query processor that
breaks that.
Second, I wonder if it is possible to add a
second collumn to the query
that uses a translation table
like
select ata.filename,
$msg.get(ata.filename) as translatedName
This can't work. There are two languages involved here, Velocity and
HQL, and they don't mix in real time.
from XWikiAttachment as ata,
XWikiDocument as doc
where doc.fullName ='CdLSAssociations.FlagAttachments'
and doc.id = ata.docId
order by translatedName
and use in the class property defenition the ID Field name and Value
Field Name
Any help is highly appreciated
I'd recommend that you write a custom displayer for this field, instead
of relying on the default display. You should use the first, simple
query that just retrieves the attachment names, then create you own
display that substrings the extension for the displayed option label.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
------------------------------
Message: 8
Date: Tue, 14 Jun 2011 10:46:24 +0300
From: Roman Muntyanu <rmuntyan(a)softserveinc.com>
Subject: Re: [xwiki-users] Subscribe to RSS feed inpassword-protected
wiki
To: XWiki Users <users(a)xwiki.org>
Message-ID:
<
397E2D30386E9346954E47D6E6CAA0B502315E85708D(a)MAILBOX.softservecom.com>
Content-Type: text/plain; charset="us-ascii"
It did thus far, at least when pressing send/receive I can now see the
updates.
Thanks, Sergiu!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of Sergiu Dumitriu
Sent: Tuesday, June 14, 2011 04:06 AM
To: XWiki Users
Subject: Re: [xwiki-users] Subscribe to RSS feed inpassword-protected wiki
On 06/13/2011 07:53 PM, coldserenity wrote:
Hi,
Is there a way to subscribe to RSS feed in a totally protected XWiki
(only
log-in page described to anonymous)? E.g. with MS
Outlook?
I used common feed list approach described here
http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vist…
I'm able to see items when the feed is
imported to outlook the first
time,
but then I do not get the updates.
And here's
http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/
where I found people discussing subscription to a
password protected
feed.
Regards,
Roman
Other than configuring the feed reader to use a certain username and
password, you must also alter a bit the RSS URL by appending
&basicauth=1 as a query string parameter.
For example, for the blog feed, use:
http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain&basicauth=1
instead of:
http://xwiki.org/xwiki/bin/Blog/GlobalBlogRss?xpage=plain
Does this solve your problem?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 9
Date: Tue, 14 Jun 2011 11:40:43 +0200
From: Maxime Sinclair <maxime.sinclair(a)gmail.com>
Subject: [xwiki-users] Issue on attachments versioning
To: XWiki Users <users(a)xwiki.org>
Message-ID: <BANLkTi=x=SGCKuW065fnhqNk_5_c97Sq2w(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
Context : XEM 2.7.1 on Tomcat6.0 + MySQL 5.0
I'm used to restore my xwiki farm SQL backup on a test environment.
I have to update the Domain names and then it works fine.
But this time, I encounter the following issue :
- I can retrieve the different version of an existing attachment
(without any problem)
- I can add a new version of an attachment (the version number is
incremented and I can download it) but ...
- When I look at the revision history of the attachment, all the old
revisions are now lost and the following lines appear in the xwiki.log
2011-06-14 10:56:04,169
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
WARN internal.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in
/templates/viewattachrev.vm@4,12
2011-06-14 10:56:04,169
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
WARN doc.XWikiAttachment - Failed to load archive for
attachment [xwikisanitycheck.sql(a)Documentation.WebHome]. This
attachment is broken, please consider re-uploading it. Internal error:
Error number 3231 in 3: Exception while loading attachment archive
xwikisanitycheck.sql of document Documentation.WebHome
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Exception occurred inside setter of
com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
2011-06-14 10:56:04,169
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
WARN doc.XWikiAttachment - Cannot retrieve versions of
attachment [xwikisanitycheck.sql(a)Documentation.WebHome]: null
Hopefully, this doesn't occur on my production environment.
Do you have any idea about this issue ? Your help will be really
appreciated.
Regards,
Maxime Sinclair
------------------------------
Message: 10
Date: Tue, 14 Jun 2011 11:55:50 +0200
From: Maxime Sinclair <maxime.sinclair(a)gmail.com>
Subject: Re: [xwiki-users] Issue on attachments versioning
To: XWiki Users <users(a)xwiki.org>
Message-ID: <BANLkTi=sSjM-Lsde83c_fVRsTwbh_bBBAw(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
I reproduce the problem while logging in debug mode.
This is an excerpt :
11:45:34,519
[.../bin/viewattachrev/Documentation/WebHome/xwikisanitycheck.sql]
WARN internal.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in
/templates/viewattachrev.vm@4,12
DEBUG impl.SessionImpl - opened session at timestamp:
13080447345
DEBUG jdbc.ConnectionManager - opening JDBC connection
INFO dialect.Dialect - Using dialect:
org.hibernate.dialect.MySQLDialect
DEBUG transaction.JDBCTransaction - begin
DEBUG transaction.JDBCTransaction - current autocommit status: false
DEBUG loader.Loader - loading entity:
[com.xpn.xwiki.doc.XWikiAttachmentArchive#1260613346]
DEBUG jdbc.AbstractBatcher - about to open
PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG hibernate.SQL - select xwikiattac0_.XWA_ID as
XWA1_8_0_, xwikiattac0_.XWA_ARCHIVE as XWA2_8_0_ from
xwikiattachment_archive xwikiattac0_ where xwikiattac0_.XWA_ID=?
DEBUG jdbc.AbstractBatcher - about to open ResultSet (open
ResultSets: 0, globally: 0)
DEBUG loader.Loader - result row:
EntityKey[com.xpn.xwiki.doc.XWikiAttachmentArchive#1260613346]
DEBUG jdbc.AbstractBatcher - about to close ResultSet (open
ResultSets: 1, globally: 1)
DEBUG jdbc.AbstractBatcher - about to close
PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG engine.TwoPhaseLoad - resolving associations for
[com.xpn.xwiki.doc.XWikiAttachmentArchive#1260613346]
INFO def.DefaultLoadEventListener - Error performing load command
org.hibernate.PropertyAccessException: Exception occurred inside
setter of com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
at
org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
at
org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:337)
at
org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:200)
at
org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3571)
at
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:133)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
at org.hibernate.loader.Loader.doQuery(Loader.java:729)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
at
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
at
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
at
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3049)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:399)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at
com.xpn.xwiki.store.hibernate.HibernateAttachmentVersioningStore$1.doInHibernate(HibernateAttachmentVersioningStore.java:79)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1081)
............
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:42)
... 76 more
Caused by: org.suigeneris.jrcs.rcs.parse.TokenMgrError: Lexical error
at line 1, column 104. Encountered: "$" (36), after : ""
at
org.suigeneris.jrcs.rcs.parse.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:817)
at
org.suigeneris.jrcs.rcs.parse.ArchiveParser.jj_ntk(ArchiveParser.java:685)
at
org.suigeneris.jrcs.rcs.parse.ArchiveParser.authorName(ArchiveParser.java:527)
at
org.suigeneris.jrcs.rcs.parse.ArchiveParser.delta(ArchiveParser.java:385)
at
org.suigeneris.jrcs.rcs.parse.ArchiveParser.archive(ArchiveParser.java:96)
at
org.suigeneris.jrcs.rcs.parse.ArchiveParser.load(ArchiveParser.java:60)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:259)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:273)
at
com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive(XWikiAttachmentArchive.java:121)
... 81 more
Hope this help to understand the issue.
Maxime Sinclair
2011/6/14 Maxime Sinclair <maxime.sinclair(a)gmail.com>om>:
Hello,
> Context : XEM 2.7.1 on Tomcat6.0 + MySQL 5.0
>
> I'm used to restore my xwiki farm SQL backup on a test environment.
> I have to update the Domain names and then it works fine.
> But this time, I encounter the following issue :
> - I can retrieve the different version of an existing attachment
> (without any problem)
> - I can add a new version of an attachment (the version number is
> incremented and I can download it) but ...
> - When I look at the revision history of the attachment, all the old
> revisions are now lost and the following lines appear in the xwiki.log
>
> 2011-06-14 10:56:04,169
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
> WARN ?internal.DefaultVelocityEngine ?- Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in
> /templates/viewattachrev.vm@4,12
>
> 2011-06-14 10:56:04,169
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
> WARN ?doc.XWikiAttachment ? ? ? ? ? ? - Failed to load archive for
> attachment [xwikisanitycheck.sql(a)Documentation.WebHome]. This
> attachment is broken, please consider re-uploading it. Internal error:
> Error number 3231 in 3: Exception while loading attachment archive
> xwikisanitycheck.sql of document Documentation.WebHome
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: Exception occurred inside setter of
> com.xpn.xwiki.doc.XWikiAttachmentArchive.archive
>
> 2011-06-14 10:56:04,169
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
[
http://www.lclh.org/bin/viewattachrev/Documentation/WebHome/xwikisanitychec…
]
WARN ?doc.XWikiAttachment ? ? ? ? ? ? - Cannot
retrieve versions of
attachment [xwikisanitycheck.sql(a)Documentation.WebHome]: null
Hopefully, this doesn't occur on my production environment.
Do you have any idea about this issue ? Your help will be really
appreciated.
Regards,
Maxime Sinclair
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 47, Issue 13
*************************************