Re: [xwiki-users] restrict the panel to appear on some pages in xwiki

2009-11-24 Thread Vincent Massol
Hi Bubulina,

On Nov 24, 2009, at 8:17 AM, Bubulina wrote:

>
> hello,
> is it any way(in theory anyway) to show a panel on some pages and on  
> others
> to don't ? so to restrict the access of it in some places in xwiki?

See 
http://code.xwiki.org/xwiki/bin/view/Applications/PanelsApplication#HControllingwheretodisplayPanels

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [2.0.3] Strange hibernate exception when saving documents / objects

2009-11-24 Thread Jeremie BOUSQUET
Hi,

I have a groovy script in a page, that loads some data and create pages and
objects with it.
Basically for each it gets a new Document, create a new Object in it, use it
to set all fields (no one is null), then create a new Object
"XWiki.TagClass", sets the tags, and then saves the document. This process
is repeated, as each input data will generate 2 documents/objects for 2
different custom classes.

For most documents there is no problem, while for some I get the following
kind of exceptions (always for one of the classes, never for the other) :

Error number 3201 in 3: Exception while saving document
MailArchive.MMKSonLinuxpatch22-01
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]

The exact same date string is used to save another document/object without
any problem (the Date fields have exactly same format).
It's not always a DateProperty that cause issues, it can also be Strings or
LargeStrings.
I tried to delete my custom class and recreate it, purge all created
documents (with doc.delete()), and also to purge all entries that were left
even after delete(), directly in database (in tables xwikidoc, xwikiobjects,
xwikistrings, xwikilargestrings, xwikidates and xwikirecyclebin), but it
seems the same input data will always have document.save() fail this way.
It seems it's always the second save() that can fail. This second save()
targets a different document, object and class, and it's not the same groovy
variables either. Could it happen that the first save() is not completely
finished and there is some problem with tables updates ? Would I have
something else to do to make sure previous transaction is finished ?

I believe it must be something in the data, but it's only strings,
largestrings and a date, so I don't know how to investigate more...

Thanks for any help,

Jeremie

PS : I'm on XWiki 2.0.3, MySQL 5.1.38, Linux RH Rel 4
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Encoding questions

2009-11-24 Thread Gallois Frédéric
Hi

As I repleid, I understand your meaning. Meanwhile is it possible to put 
several encoding in the configuration file as I proposed ?

Thanks

Fred 

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Valdis Vitolinš
Envoyé : lundi 23 novembre 2009 18:11
À : XWiki Users
Objet : Re: [xwiki-users] Encoding questions

All progressive mankind is gone to UTF-8 long time ago, exception is
Americans and West-Europeans, especially if they run Windows servers;-)
So, my advice would be to migrate both systems to UTF-8. 

But you can try to run some velocity/groovy script invoking iconv on the
fly.
Something like:
#set($cont= $xwiki.getURLContent("${url}view/${name}"))
## invoke iconv on $cont
$cont

Valdis

> Hi everybody
> 
> We have an Xwiki production platform which includes the documentation of 2 of 
> our applications. Infortunately, they don't nécessarely speak to each other.
> 
> The xwiki configuration file indicates that the encoding is ISO-8859-1 which 
> works fine till now.
> 
> But one of the two applications wishes to give a XAR with xml files in 
> ISO-8859-15...
> 
> Here is my question : can I put two encodings in the configuration file like 
> "xwiki.encoding=ISO-8859-1,ISO-8859-15" to allow multiple encodings for 
> different spaces ?
> 
> Thanks in advance
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Encoding questions

2009-11-24 Thread Valdis Vītoliņš
Yes, it will invoke iconv on every page.
If you worry about performance, it should be addressed by page caching,
using either Java (such as OScache), or web server (e.g. Apache cache).

Another solution could be tweaking header meta tags, but I don't know
how to do this in xwiki. Can anybody comment this?

Valdis

> Hi
> 
> You're right, we're locate din West Europe and run on Windows...
> That's the way.
> 
> As far as I understand your answer, it seems to work on page calls. But does 
> it mean that it will call iconv on the fly for every page ?
> 
> TIA
> 
> Fred
> 
> -Message d'origine-
> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
> Valdis Vitolinš
> Envoyé : lundi 23 novembre 2009 18:11
> À : XWiki Users
> Objet : Re: [xwiki-users] Encoding questions
> 
> All progressive mankind is gone to UTF-8 long time ago, exception is
> Americans and West-Europeans, especially if they run Windows servers;-)
> So, my advice would be to migrate both systems to UTF-8. 
> 
> But you can try to run some velocity/groovy script invoking iconv on the
> fly.
> Something like:
> #set($cont= $xwiki.getURLContent("${url}view/${name}"))
> ## invoke iconv on $cont
> $cont
> 
> Valdis
> 
> > Hi everybody
> > 
> > We have an Xwiki production platform which includes the documentation of 2 
> > of our applications. Infortunately, they don't nécessarely speak to each 
> > other.
> > 
> > The xwiki configuration file indicates that the encoding is ISO-8859-1 
> > which works fine till now.
> > 
> > But one of the two applications wishes to give a XAR with xml files in 
> > ISO-8859-15...
> > 
> > Here is my question : can I put two encodings in the configuration file 
> > like "xwiki.encoding=ISO-8859-1,ISO-8859-15" to allow multiple encodings 
> > for different spaces ?
> > 
> > Thanks in advance
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> 
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Statistics still not working in 2.0.3 ?

2009-11-24 Thread Jeremie BOUSQUET
Hello,

I upgraded my wiki (webapp and xar) from 2.0.RC1 to 2.0.3.
While statistics are supposed to work (they were in RC1) as a bug was
solved, it seems in fact in 2.0.3 my statistics tables are not updated
anymore.
I did not change the xwiki.cfg so they should be activated as they used to.
I checked the list of plugins which seems ok.
There is no exception related to statistics in my logs.

Am I missing something ?

Thanks,
Jeremie
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Statistics still not working in 2.0.3 ?

2009-11-24 Thread Vincent Massol
Hi Jeremie,

On Nov 24, 2009, at 11:09 AM, Jeremie BOUSQUET wrote:

> Hello,
>
> I upgraded my wiki (webapp and xar) from 2.0.RC1 to 2.0.3.
> While statistics are supposed to work (they were in RC1) as a bug was
> solved, it seems in fact in 2.0.3 my statistics tables are not updated
> anymore.
> I did not change the xwiki.cfg so they should be activated as they  
> used to.
> I checked the list of plugins which seems ok.
> There is no exception related to statistics in my logs.
>
> Am I missing something ?

We're really sorry about this. We messed up badly on this... We  
thought we had fixed them in 2.0.3 but indeed they weren't fixed.

They're now fixed in 2.0.4 and 2.1M1 (2.04 isn't released yet but  
2.1M1 is):
http://jira.xwiki.org/jira/browse/XWIKI-4564

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Statistics still not working in 2.0.3 ?

2009-11-24 Thread Thomas Mortagne
On Tue, Nov 24, 2009 at 11:09, Jeremie BOUSQUET
 wrote:
> Hello,
>
> I upgraded my wiki (webapp and xar) from 2.0.RC1 to 2.0.3.
> While statistics are supposed to work (they were in RC1) as a bug was
> solved, it seems in fact in 2.0.3 my statistics tables are not updated
> anymore.
> I did not change the xwiki.cfg so they should be activated as they used to.
> I checked the list of plugins which seems ok.
> There is no exception related to statistics in my logs.
>
> Am I missing something ?

No you don't, see http://jira.xwiki.org/jira/browse/XWIKI-4564

>
> Thanks,
> Jeremie
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Encoding questions

2009-11-24 Thread Sergiu Dumitriu
On 11/24/2009 10:29 AM, Gallois Frédéric wrote:
> Hi
>
> As I repleid, I understand your meaning. Meanwhile is it possible to put 
> several encoding in the configuration file as I proposed ?
>

No, that's not possible.

>
> Fred
>
> -Message d'origine-
> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
> Valdis Vitolinš
> Envoyé : lundi 23 novembre 2009 18:11
> À : XWiki Users
> Objet : Re: [xwiki-users] Encoding questions
>
> All progressive mankind is gone to UTF-8 long time ago, exception is
> Americans and West-Europeans, especially if they run Windows servers;-)
> So, my advice would be to migrate both systems to UTF-8.
>
> But you can try to run some velocity/groovy script invoking iconv on the
> fly.
> Something like:
> #set($cont= $xwiki.getURLContent("${url}view/${name}"))
> ## invoke iconv on $cont
> $cont
>
> Valdis
>
>> Hi everybody
>>
>> We have an Xwiki production platform which includes the documentation of 2 
>> of our applications. Infortunately, they don't nécessarely speak to each 
>> other.
>>
>> The xwiki configuration file indicates that the encoding is ISO-8859-1 which 
>> works fine till now.
>>
>> But one of the two applications wishes to give a XAR with xml files in 
>> ISO-8859-15...
>>
>> Here is my question : can I put two encodings in the configuration file like 
>> "xwiki.encoding=ISO-8859-1,ISO-8859-15" to allow multiple encodings for 
>> different spaces ?
>>
>> Thanks in advance


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] WYSIWYG Editor : error when inserting a macro in a page

2009-11-24 Thread PERINAUD Christophe
Hello,

When we try to insert a macro when editing a page, we have the message below 
displayed in the popup window (the HTML tags are also displayed).
We work with virtual wikis, the problem exists in the main wiki and all virtual 
wikis.

*



Error 500 INTERNAL_SERVER_ERROR

HTTP ERROR 500
Problem accessing /xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. 
Reason:
INTERNAL_SERVER_ERRORCaused 
by:java.lang.NullPointerException
 at 
com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(DefaultDocumentNameFactory.java:188)
 at 
com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiName(DefaultDocumentNameFactory.java:156)
 at 
com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentName(DefaultDocumentNameFactory.java:112)
 at com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3741)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1407)
 at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:464)
 at 
com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:115)
 at 
com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:80)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at 
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
 at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
 at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 at org.mortbay.jetty.Server.handle(Server.java:326)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
 at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
 at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
 at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Powered by Jetty://























*

Thank you

Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
conta

Re: [xwiki-users] WYSIWYG Editor : error when inserting a macro in a page

2009-11-24 Thread Marius Dumitru Florea
Hi,

PERINAUD Christophe wrote:
> Hello,
> 
> When we try to insert a macro when editing a page, we have the message below 
> displayed in the popup window (the HTML tags are also displayed).
> We work with virtual wikis, the problem exists in the main wiki and all 
> virtual wikis.
> 
> *
> 
> 
> 
> Error 500 INTERNAL_SERVER_ERROR
> 
> HTTP ERROR 500

> Problem accessing 
> /xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. Reason:
> INTERNAL_SERVER_ERRORCaused 
> by:java.lang.NullPointerException
>  at 
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(DefaultDocumentNameFactory.java:188)
>  at 
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiName(DefaultDocumentNameFactory.java:156)
>  at 
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentName(DefaultDocumentNameFactory.java:112)
>  at com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3741)
>  at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1407)
>  at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:464)
>  at 
> com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:115)

I think the problem is that XWiki#getXWiki(XWikiContext) is called 
before initializing the container component. It seems that in a 
multiwiki environment this call requires the XWiki context to be present 
on the execution context. I've fixed this in revision 25082 ( 
http://lists.xwiki.org/pipermail/notifications/2009-November/065903.html 
) which was released in 2.1M1 and will be released soon in 2.0.4.

Macro insertion/editing seems to be busted in 2.0.3 on a multiwiki 
environment. I'm really sorry about this.. Can you try 2.1M1 to confirm 
this issue is not present anymore? Thanks.

Marius

>  at 
> com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:80)
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at 
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at 
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at 
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>  at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>  at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>  at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>  at org.mortbay.jetty.Server.handle(Server.java:326)
>  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
>  at 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
>  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
>  at 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>  at 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> 
> Powered by Jetty://  
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>

[xwiki-users] edit on myxwiki is hung-up

2009-11-24 Thread Rune Hylleberg
Hi is it only my part of the myxwiki that is hungup?

If I push the edit button the page loads and loads but doesn't  get
anywhere.

One of the panels is also failing:

Error number 4001 in 4: Error while parsing velocity page
pulven:Main.WebHome Wrapped Exception: Failed to evaluate content with
id Web Home

 

-Rune

 

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Statistics still not working in 2.0.3 ?

2009-11-24 Thread Jeremie BOUSQUET
Ok thanks,

I'll wait for 2.0.4 so :)

Regards,
Jeremie

2009/11/24 Vincent Massol 

> Hi Jeremie,
>
> On Nov 24, 2009, at 11:09 AM, Jeremie BOUSQUET wrote:
>
> > Hello,
> >
> > I upgraded my wiki (webapp and xar) from 2.0.RC1 to 2.0.3.
> > While statistics are supposed to work (they were in RC1) as a bug was
> > solved, it seems in fact in 2.0.3 my statistics tables are not updated
> > anymore.
> > I did not change the xwiki.cfg so they should be activated as they
> > used to.
> > I checked the list of plugins which seems ok.
> > There is no exception related to statistics in my logs.
> >
> > Am I missing something ?
>
> We're really sorry about this. We messed up badly on this... We
> thought we had fixed them in 2.0.3 but indeed they weren't fixed.
>
> They're now fixed in 2.0.4 and 2.1M1 (2.04 isn't released yet but
> 2.1M1 is):
> http://jira.xwiki.org/jira/browse/XWIKI-4564
>
> Thanks
> -Vincent
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WYSIWYG Editor : error when inserting a macro ina page

2009-11-24 Thread PERINAUD Christophe
Hi Marius,

Thank you for the advice.
I will ask the team in charge of servers to update the system and hope to have 
back this functionnality (and statistics also).
We will wait for the 2.0.4 to be released as it takes time to update and will 
not do that with a non final release.

Christophe

> -Message d'origine-
> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
> De la part de Marius Dumitru Florea
> Envoyé : mardi 24 novembre 2009 13:50
> À : XWiki Users
> Objet : Re: [xwiki-users] WYSIWYG Editor : error when 
> inserting a macro ina page
> 
> Hi,
> 
> PERINAUD Christophe wrote:
> > Hello,
> > 
> > When we try to insert a macro when editing a page, we have 
> the message below displayed in the popup window (the HTML 
> tags are also displayed).
> > We work with virtual wikis, the problem exists in the main 
> wiki and all virtual wikis.
> > 
> > *
> > 
> > 
> > 
> > Error 500 INTERNAL_SERVER_ERROR
> > 
> > HTTP ERROR 500
> 
> > Problem accessing 
> /xwiki/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc. Reason:
> > INTERNAL_SERVER_ERRORCaused 
> by:java.lang.NullPointerException
> >  at 
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.getContext(Defaul
> tDocumentNameFactory.java:188)
> >  at 
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiNam
> e(DefaultDocumentNameFactory.java:156)
> >  at 
> com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentNam
> e(DefaultDocumentNameFactory.java:112)
> >  at 
> com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3741)
> >  at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1407)
> >  at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:464)
> >  at 
> com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitialization
> Filter.initializeXWikiContext(XWikiContextInitializationFilter
> .java:115)
> 
> I think the problem is that XWiki#getXWiki(XWikiContext) is called 
> before initializing the container component. It seems that in a 
> multiwiki environment this call requires the XWiki context to 
> be present 
> on the execution context. I've fixed this in revision 25082 ( 
> http://lists.xwiki.org/pipermail/notifications/2009-November/0
> 65903.html 
> ) which was released in 2.1M1 and will be released soon in 2.0.4.
> 
> Macro insertion/editing seems to be busted in 2.0.3 on a multiwiki 
> environment. I'm really sorry about this.. Can you try 2.1M1 
> to confirm 
> this issue is not present anymore? Thanks.
> 
> Marius
> 
> >  at 
> com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitialization
> Filter.doFilter(XWikiContextInitializationFilter.java:80)
> >  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> >  at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> >  at 
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> lter.java:68)
> >  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> >  at 
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> uestRestorerFilter.java:295)
> >  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> >  at 
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> cterEncodingFilter.java:112)
> >  at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> ServletHandler.java:1157)
> >  at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler
> .java:388)
> >  at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHand
> ler.java:216)
> >  at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler
> .java:182)
> >  at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler
> .java:765)
> >  at 
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> >  at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(Cont
> extHandlerCollection.java:230)
> >  at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerColl
> ection.java:114)
> >  at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper
> .java:152)
> >  at org.mortbay.jetty.Server.handle(Server.java:326)
> >  at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.
> java:536)
> >  at 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpCo
> nnection.java:930)
> >  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
> >  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> >  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
> >  at 
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndP
> oint.java:409)
> >  at 
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThrea
> dPool.java:582)
> > 
> > Powered by Jetty://
> 
> > 
> >  

Re: [xwiki-users] edit on myxwiki is hung-up

2009-11-24 Thread Thomas Mortagne
This is because we have place left issue on myxwiki.org server. We are
working on it.

On Tue, Nov 24, 2009 at 14:06, Rune Hylleberg  wrote:
> Hi is it only my part of the myxwiki that is hungup?
>
> If I push the edit button the page loads and loads but doesn't  get
> anywhere.
>
> One of the panels is also failing:
>
> Error number 4001 in 4: Error while parsing velocity page
> pulven:Main.WebHome Wrapped Exception: Failed to evaluate content with
> id Web Home
>
>
>
> -Rune
>
>
>
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Statistics still not working in 2.0.3 ?

2009-11-24 Thread Vincent Massol

On Nov 24, 2009, at 2:19 PM, Jeremie BOUSQUET wrote:

> Ok thanks,
>
> I'll wait for 2.0.4 so :)

It should be released before the end of  the week.

-Vincent

> Regards,
> Jeremie
>
> 2009/11/24 Vincent Massol 
>
>> Hi Jeremie,
>>
>> On Nov 24, 2009, at 11:09 AM, Jeremie BOUSQUET wrote:
>>
>>> Hello,
>>>
>>> I upgraded my wiki (webapp and xar) from 2.0.RC1 to 2.0.3.
>>> While statistics are supposed to work (they were in RC1) as a bug  
>>> was
>>> solved, it seems in fact in 2.0.3 my statistics tables are not  
>>> updated
>>> anymore.
>>> I did not change the xwiki.cfg so they should be activated as they
>>> used to.
>>> I checked the list of plugins which seems ok.
>>> There is no exception related to statistics in my logs.
>>>
>>> Am I missing something ?
>>
>> We're really sorry about this. We messed up badly on this... We
>> thought we had fixed them in 2.0.3 but indeed they weren't fixed.
>>
>> They're now fixed in 2.0.4 and 2.1M1 (2.04 isn't released yet but
>> 2.1M1 is):
>> http://jira.xwiki.org/jira/browse/XWIKI-4564
>>
>> Thanks
>> -Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] edit on myxwiki is hung-up

2009-11-24 Thread Sergiu Dumitriu
On 11/24/2009 02:27 PM, Thomas Mortagne wrote:
> This is because we have place left issue on myxwiki.org server. We are
> working on it.

Translation: the myxwiki.org server is out of disk space.

> On Tue, Nov 24, 2009 at 14:06, Rune Hylleberg  wrote:
>> Hi is it only my part of the myxwiki that is hungup?
>>
>> If I push the edit button the page loads and loads but doesn't  get
>> anywhere.
>>
>> One of the panels is also failing:
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> pulven:Main.WebHome Wrapped Exception: Failed to evaluate content with
>> id Web Home
>>

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] copy a Class into a space

2009-11-24 Thread Bubulina

Evening, or at least here is starting to be late... :)
i am stuck at an issue here. is there a way to copy for instance(from the
ValidationSample.xar...the formulary...)  the ValidationSampleCode[0] into
anothe space, as a class to a page in that page.
so if the class has 3 properties...string textarea number, then these to be
copied in a clone class .
ex:
page Val1 has the ValidationSample.ValidationSampleCode[0] attached
i want for the page TestPage(from another space) to have the
TestSpace.TestPageClass[0] attached to it.(this TestSpace.TestPageClass[0]
to be a clone of another class obj).
am i making any sense here for you
-- 
View this message in context: 
http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061342.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] copy a Class into a space

2009-11-24 Thread Guillaume Lerouge
Hi Bubulina,

On Tue, Nov 24, 2009 at 10:30 PM, Bubulina  wrote:

>
> Evening, or at least here is starting to be late... :)
> i am stuck at an issue here. is there a way to copy for instance(from the
> ValidationSample.xar...the formulary...)  the ValidationSampleCode[0] into
> anothe space, as a class to a page in that page.
> so if the class has 3 properties...string textarea number, then these to be
> copied in a clone class .
> ex:
> page Val1 has the ValidationSample.ValidationSampleCode[0] attached
> i want for the page TestPage(from another space) to have the
> TestSpace.TestPageClass[0] attached to it.(this TestSpace.TestPageClass[0]
> to be a clone of another class obj).
> am i making any sense here for you
>

Not sure if this will help you, but maybe you can use the following:

http://server/xwiki/bin/edit/Space1/SomePage?template=Space2.AnotherPage

where Space2.AnotherPage is the name of the document holding the
original ValidationSample.ValidationSampleCode[0] object attached.

Please try it out and let us know whether it addresses your use case.

Guillaume


> --
> View this message in context:
> http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061342.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] copy a Class into a space

2009-11-24 Thread Bubulina

hmm didn't work. 
still thinking about it


Guillaume Lerouge wrote:
> 
> Hi Bubulina,
> 
> On Tue, Nov 24, 2009 at 10:30 PM, Bubulina  wrote:
> 
>>
>> Evening, or at least here is starting to be late... :)
>> i am stuck at an issue here. is there a way to copy for instance(from the
>> ValidationSample.xar...the formulary...)  the ValidationSampleCode[0]
>> into
>> anothe space, as a class to a page in that page.
>> so if the class has 3 properties...string textarea number, then these to
>> be
>> copied in a clone class .
>> ex:
>> page Val1 has the ValidationSample.ValidationSampleCode[0] attached
>> i want for the page TestPage(from another space) to have the
>> TestSpace.TestPageClass[0] attached to it.(this
>> TestSpace.TestPageClass[0]
>> to be a clone of another class obj).
>> am i making any sense here for you
>>
> 
> Not sure if this will help you, but maybe you can use the following:
> 
> http://server/xwiki/bin/edit/Space1/SomePage?template=Space2.AnotherPage
> 
> where Space2.AnotherPage is the name of the document holding the
> original ValidationSample.ValidationSampleCode[0] object attached.
> 
> Please try it out and let us know whether it addresses your use case.
> 
> Guillaume
> 
> 
>> --
>> View this message in context:
>> http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061342.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> 
> -- 
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061529.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] copy a Class into a space

2009-11-24 Thread Bubulina

the "messy" scenario that i have in my mind right now is to look for the
existing velocity code to add properties to the class in a dynamic way. all
of this logic to happend when i create a page in the space. sounds time
consuming and don't even know how to to make it yet. %-|



Bubulina wrote:
> 
> hmm didn't work. 
> still thinking about it
> 
> 
> Guillaume Lerouge wrote:
>> 
>> Hi Bubulina,
>> 
>> On Tue, Nov 24, 2009 at 10:30 PM, Bubulina  wrote:
>> 
>>>
>>> Evening, or at least here is starting to be late... :)
>>> i am stuck at an issue here. is there a way to copy for instance(from
>>> the
>>> ValidationSample.xar...the formulary...)  the ValidationSampleCode[0]
>>> into
>>> anothe space, as a class to a page in that page.
>>> so if the class has 3 properties...string textarea number, then these to
>>> be
>>> copied in a clone class .
>>> ex:
>>> page Val1 has the ValidationSample.ValidationSampleCode[0] attached
>>> i want for the page TestPage(from another space) to have the
>>> TestSpace.TestPageClass[0] attached to it.(this
>>> TestSpace.TestPageClass[0]
>>> to be a clone of another class obj).
>>> am i making any sense here for you
>>>
>> 
>> Not sure if this will help you, but maybe you can use the following:
>> 
>> http://server/xwiki/bin/edit/Space1/SomePage?template=Space2.AnotherPage
>> 
>> where Space2.AnotherPage is the name of the document holding the
>> original ValidationSample.ValidationSampleCode[0] object attached.
>> 
>> Please try it out and let us know whether it addresses your use case.
>> 
>> Guillaume
>> 
>> 
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061342.html
>>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>> 
>> 
>> 
>> -- 
>> Guillaume Lerouge
>> Product Manager - XWiki SAS
>> Skype: wikibc
>> Twitter: glerouge
>> http://guillaumelerouge.com/
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061547.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Changing the logo

2009-11-24 Thread Maria Carolina Ramirez
Hi everyone!

 

I just change the logo of my xwiki but I don't  why, when the page is
loading, it takes several seconds loading the image. I followed the
instructions below:

 

*   Choose an existing image or create a new one
*   Resize it so that it is 220 pixels wide and 80 pixels high
*   Save it as a PNG file and name it "logo.png"
*   Upload the image as an attachment in /
xwiki/bin/view/XWiki/DefaultSkin

So, I want to know if this is the normal behavior.

 

Thanks in advance!

MCR

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the logo

2009-11-24 Thread Bubulina

hello Maria,
I don't think this is a normal behaviour. 
1. try adding the logo exactly in the skin folder that u are using
2. if you don't know what skin u are using or wanna choose a different one
try adding the logo in the desired skin (from the folder skins..in the xwiki
sources)choose albatross or toucan or etc and inside place the logo.
then in the xwiki administrattion -> presentation...go down the page and
choose "customize" the skin. then "edit the skin" ...scroll down and write
the name of the skin and then save. refresh and see the result
hope it's oke



Maria Carolina Ramirez wrote:
> 
> Hi everyone!
> 
>  
> 
> I just change the logo of my xwiki but I don't  why, when the page is
> loading, it takes several seconds loading the image. I followed the
> instructions below:
> 
>  
> 
> * Choose an existing image or create a new one
> * Resize it so that it is 220 pixels wide and 80 pixels high
> * Save it as a PNG file and name it "logo.png"
> * Upload the image as an attachment in /
> xwiki/bin/view/XWiki/DefaultSkin
> 
> So, I want to know if this is the normal behavior.
> 
>  
> 
> Thanks in advance!
> 
> MCR
> 
>  
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Changing-the-logo-tp4061570p4061606.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the logo

2009-11-24 Thread Maria Carolina Ramirez
Thanks for the reply, The thing is that I can't access to the source ...
so I have to talk with the administrator to do this

Thanks in advance,

Maria Carolina

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Bubulina
Sent: Martes, 24 de Noviembre de 2009 05:13 p.m.
To: users@xwiki.org
Subject: Re: [xwiki-users] Changing the logo


hello Maria,
I don't think this is a normal behaviour. 
1. try adding the logo exactly in the skin folder that u are using
2. if you don't know what skin u are using or wanna choose a different
one
try adding the logo in the desired skin (from the folder skins..in the
xwiki
sources)choose albatross or toucan or etc and inside place the logo.
then in the xwiki administrattion -> presentation...go down the page and
choose "customize" the skin. then "edit the skin" ...scroll down and
write
the name of the skin and then save. refresh and see the result
hope it's oke



Maria Carolina Ramirez wrote:
> 
> Hi everyone!
> 
>  
> 
> I just change the logo of my xwiki but I don't  why, when the page is
> loading, it takes several seconds loading the image. I followed the
> instructions below:
> 
>  
> 
> * Choose an existing image or create a new one
> * Resize it so that it is 220 pixels wide and 80 pixels high
> * Save it as a PNG file and name it "logo.png"
> * Upload the image as an attachment in /
> xwiki/bin/view/XWiki/DefaultSkin
> 
> So, I want to know if this is the normal behavior.
> 
>  
> 
> Thanks in advance!
> 
> MCR
> 
>  
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context:
http://n2.nabble.com/Changing-the-logo-tp4061570p4061606.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the logo

2009-11-24 Thread Guillaume Lerouge
Hi Maria,

On Tue, Nov 24, 2009 at 11:09 PM, Maria Carolina Ramirez <
maria.carolinarami...@emida.net> wrote:

> Hi everyone!
>
> I just change the logo of my xwiki but I don't  why, when the page is
> loading, it takes several seconds loading the image. I followed the
> instructions below:
>
> *   Choose an existing image or create a new one
> *   Resize it so that it is 220 pixels wide and 80 pixels high
> *   Save it as a PNG file and name it "logo.png"
> *   Upload the image as an attachment in /
> xwiki/bin/view/XWiki/DefaultSkin
>
> So, I want to know if this is the normal behavior.
>

The logo display speed depends on at least 3 things:

   - The size of your image -> how big is it?
   - The speed of your internet connection -> is it fast for other content?
   - The speed of your server's internet connection -> is the wiki loading
   fast overall?

Normally once the logo has been displayed once it should be cached and
display much faster. Is that what's happening for you?

Guillaume

Thanks in advance!
>
> MCR
>
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the logo

2009-11-24 Thread Maria Carolina Ramirez
Hi,

Well, the size of my image is 220 X 80
The speed of my internet connection is fast for other content
The speed of my wiki is fast

Thanks in advance

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Guillaume Lerouge
Sent: Martes, 24 de Noviembre de 2009 05:27 p.m.
To: XWiki Users
Subject: Re: [xwiki-users] Changing the logo

Hi Maria,

On Tue, Nov 24, 2009 at 11:09 PM, Maria Carolina Ramirez <
maria.carolinarami...@emida.net> wrote:

> Hi everyone!
>
> I just change the logo of my xwiki but I don't  why, when the page is
> loading, it takes several seconds loading the image. I followed the
> instructions below:
>
> *   Choose an existing image or create a new one
> *   Resize it so that it is 220 pixels wide and 80 pixels high
> *   Save it as a PNG file and name it "logo.png"
> *   Upload the image as an attachment in /
> xwiki/bin/view/XWiki/DefaultSkin
>
> So, I want to know if this is the normal behavior.
>

The logo display speed depends on at least 3 things:

   - The size of your image -> how big is it?
   - The speed of your internet connection -> is it fast for other
content?
   - The speed of your server's internet connection -> is the wiki
loading
   fast overall?

Normally once the logo has been displayed once it should be cached and
display much faster. Is that what's happening for you?

Guillaume

Thanks in advance!
>
> MCR
>
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changing the logo

2009-11-24 Thread Rieken, Joshua
Hi Maria,

What is the file size of your image?

-Joshua

> -Original Message-
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] On Behalf Of Maria Carolina Ramirez
> Sent: Tuesday, November 24, 2009 4:43 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Changing the logo
>
> Hi,
>
> Well, the size of my image is 220 X 80
> The speed of my internet connection is fast for other content
> The speed of my wiki is fast
>
> Thanks in advance
>
> -Original Message-
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge
> Sent: Martes, 24 de Noviembre de 2009 05:27 p.m.
> To: XWiki Users
> Subject: Re: [xwiki-users] Changing the logo
>
> Hi Maria,
>
> On Tue, Nov 24, 2009 at 11:09 PM, Maria Carolina Ramirez <
> maria.carolinarami...@emida.net> wrote:
>
> > Hi everyone!
> >
> > I just change the logo of my xwiki but I don't  why, when
> the page is
> > loading, it takes several seconds loading the image. I followed the
> > instructions below:
> >
> > *   Choose an existing image or create a new one
> > *   Resize it so that it is 220 pixels wide and 80 pixels high
> > *   Save it as a PNG file and name it "logo.png"
> > *   Upload the image as an attachment in /
> > xwiki/bin/view/XWiki/DefaultSkin
> >
> > So, I want to know if this is the normal behavior.
> >
>
> The logo display speed depends on at least 3 things:
>
>- The size of your image -> how big is it?
>- The speed of your internet connection -> is it fast for
> other content?
>- The speed of your server's internet connection -> is the
> wiki loading
>fast overall?
>
> Normally once the logo has been displayed once it should be
> cached and display much faster. Is that what's happening for you?
>
> Guillaume
>
> Thanks in advance!
> >
> > MCR
> >
> >
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Restful API create object parameters

2009-11-24 Thread Radek Rekas
Hi,

I'm trying to create an instance of a class using the restful api however I 
keep getting back http error 400 bad request messages.

We are posting a string of propertyname=value pairs seperated by ampersands 
with a className property at the end set to the type of xwiki class that we 
would like to create.

1. Is a string of property=value pairs the right way to do this?
2. do I need to prefix "property#" infront of each property name?
3. Are there any logs which might give more insight into why http 400 bad 
request is being returned? Ive checked the xwiki.log and Jetty/logs/ folder but 
couldn't find anything detailed.

Thanks in advance


Radek
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Hibernate exceptions when saving documents and objects

2009-11-24 Thread Jeremie BOUSQUET
Hi,

I have a groovy script in a page, that loads some data and create pages and
objects with it.
Basically for each input data 2 new documents are created, each with 2 new
objects inside (one a custom class, and one for tags "XWiki.TagClass").

For most documents there is no problem, while for some I get the following
kind of exceptions (always for one of the classes, never for the other) :

Error number 3201 in 3: Exception while saving document MailArchive.
MMKSonLinuxpatch22-01
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]

The exact same date string is used to save another document/object without
any problem (the Date fields have exactly same pattern format). I use the
same SimpleDateFormat for all, and the patterns in the class are copy-paste,
so why is it ok for one and failure for the other ?
It's not always a DateProperty that cause issues, it can also be Strings or
LargeStrings.
I tried to delete my custom class and recreate it, purge all created
documents (with doc.delete()), and also to purge all entries that were left
even after delete(), directly in database (in tables xwikidoc, xwikiobjects,
xwikistrings, xwikilargestrings, xwikidates and xwikirecyclebin), but it
seems the same input data will always have document.save() fail this way.
It seems it's always the second save() for an input data that can fail. This
second save() targets a different document, object and class, and it's not
the same groovy variables either. Could it happen that the first save() is
not completely finished and there is some problem with tables updates ?
Would I have something else to do to make sure previous transaction is
finished ?

I believe it must be something in the data, but it's only strings,
largestrings and a date, so I don't know how to investigate more...

Thanks for any help,

Jeremie

PS : I'm on XWiki 2.0.3, MySQL 5.1.38, Linux RH Rel 4
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users