Re: [xwiki-users] [Proposal] XWiki 2.0 Skin Name
hi, I was thinking of Seagul. I like Colibri as well :). On Thu, 2009-08-13 at 17:38 +0200, Ecaterina Valica wrote: > Hi, > > The new XWiki 2.0 Skin must have a name, more specific a bird name ( > http://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HUsingbirdnamesforSkins). > The current proposal of the skin can be found at > http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Skin20P1 > > The current skin names we have are: albatross, dodo, finch, toucan. > > There are already some proposals: dove, colibri, sparrow, etc. > > Help us vote and find a suitable name, > Caty > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Met vriendelijke groet, (kind regards) Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Proposal] XWiki 2.0 Skin Name
Heron is half of the name of an Ubuntu distro and i like colibri better. So Colibri+1 then. On Wed, 2009-08-19 at 12:27 +0200, Ecaterina Valica wrote: > Hi, > > The two leading names are* colibri* and *heron*. > > Please cast your final vote. > > Thanks, > Caty > > Vote: > *colibri* +1 Caty, > *heron* > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Met vriendelijke groet, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Vote] Default Color Theme
Hi all, I cannot see the E,F and G links, they give a template not found error on a green Xwiki background. I would say +1 for proposal 2 (blue) and +1 for Scheme B. Maybe a little lighter gradient for the B theme would look best, colors from proposal 2 for example. greetings Vincent On Tue, 2009-09-01 at 17:56 +0200, Ecaterina Valica wrote: > Hi, > > Please vote to set the default Color Theme for XWiki. > > The existing themes were: > > *(0) * > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/DefaultColorTheme/ > SchemeDefault.png<http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/DefaultColorTheme/SchemeDefault.png>[ > *Currently Default*] > > *(A) * > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/AColorTheme/ > SchemeA.png<http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/AColorTheme/SchemeA.png>[ > *Nature*] > > *(B) * > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/BColorTheme/ > SchemeB.png<http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/BColorTheme/SchemeB.png> > * *[*Nightfall*] > > *(C)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/CColorTheme/ > SchemeC.png<http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/CColorTheme/SchemeC.png>[ > *Blue Sky*] > > *(D) * > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/DColorTheme/ > SchemeD.png<http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/DColorTheme/SchemeD.png>[ > *Inner Dark*] > > *(E) * > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/EColorTheme/ > SchemeE.png<http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/EColorTheme/SchemeE.png>[ > *Bordo*] > > Since then there were added 3 more themes: > > *(F)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/FColorTheme/Peach.png[ > *Peach*] > > *(G)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/GColorTheme/ChocoBlues.png[ > *Choco Blues*] > > *(H)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/Halloween/Halloween.png[ > *Halloween*] > > Because Theme *(C) Blue Sky* was mentioned as a candidate for the Default > Theme, I've done some variations with those colors: > > *(1)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/Proposal1/Proposal1.png > > *(2)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/Proposal2/Proposal2.png > > *(3)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/Proposal3/Proposal3.png > > *(4)* > http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/Proposal4/Proposal4.png > > So please cast your vote or your Theme proposal. > > Thanks, > Caty > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Met vriendelijke groet, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Unable to indent table under numbering
Dear all, I have been struggling with lining out a table onder a numbering. For example, I have numbers 1-5 (in the referred to as 1.). When I create a table in the WYSIWYG editor, under lets say 2, at first sometimes this goes right, and the table is indented in the same way that text is (the expected behaviour). Sometimes when I change something on the page the table is suddenly no longer indented, resulting in the next number (3) changing to 1. I have not been able to make the table indent again, nor have I been able to fix the numbering. I found a related issue on Jira, but it seems this did not fix the issue I encounter: http://jira.xwiki.org/jira/browse/XWIKI-3090 and : http://jira.xwiki.org/jira/browse/XWIKI-3089 Has anyone else encountered this and does anyone know a fix? We are running Xwiki 1.9.3.22597. Any help is greatly appreciated. -- Kind regards, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Unable to indent table under numbering
Hi Marius, On Tue, 2009-09-15 at 11:15 +0300, Marius Dumitru Florea wrote: > Hi Vincent, > > Vincent Gerris wrote: > > Dear all, > > > > I have been struggling with lining out a table onder a numbering. > > For example, I have numbers 1-5 (in the referred to as 1.). > > When I create a table in the WYSIWYG editor, under lets say 2, at first > > sometimes this goes right, and the table is indented in the same way > > that text is (the expected behaviour). > > > > Sometimes when I change something on the page the table is suddenly no > > longer indented, resulting in the next number (3) changing to 1. > > Your description is vague. Can you tell me the exact steps to reproduce > the issue? What did you change on the page before the numbered list was > broken? Also, what browser did you use? > I use Firefox on Linux. Steps to reproduce: 1. Edit a page in WYSIWYG mode 2. Create a number list of 3 items by pressing the symbol (1,2,3). So I get 1. , input some text, then 2. appears, I input some text and press enter again. 3. I go back with the cursor to after 1. and the entered text and press SHIFT + ENTER, so the cursor moves to under the 1. , a bit indented. 4. Then I insert a table (2 by 2 for the test), which shows up at the place the cursor was. 5. I repeat this step for 2. , so that I have two tables, a bit indented under 1. and 2. . 6. Then I press the Show button (to view the page) and then already the tables lose there indention and the numbering changes: 2. and 3. changes to 1. For further details, I attached a screenshot to clear things up further. Thank you for your quick response, please let me know if you need more details. Kind regards, Vincent > > > > I have not been able to make the table indent again, nor have I been > > able to fix the numbering. > > I found a related issue on Jira, but it seems this did not fix the issue > > I encounter: > > http://jira.xwiki.org/jira/browse/XWIKI-3090 > > and : > > http://jira.xwiki.org/jira/browse/XWIKI-3089 > > These issues don't seem to be related. They were requesting a way to > place the caret before and after a table. In you case you complain that > a numbered list containing a table is broken somehow, if I understood > correctly. > > Thanks, > Marius > > > > > Has anyone else encountered this and does anyone know a fix? > > > > We are running Xwiki 1.9.3.22597. > > > > Any help is greatly appreciated. > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Met vriendelijke groet, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Unable to indent table under numbering
Hi Marius, On Tue, 2009-09-15 at 12:03 +0300, Marius Dumitru Florea wrote: > Vincent Gerris wrote: > > Hi Marius, > > > > > > > > On Tue, 2009-09-15 at 11:15 +0300, Marius Dumitru Florea wrote: > >> Hi Vincent, > >> > >> Vincent Gerris wrote: > >>> Dear all, > >>> > >>> I have been struggling with lining out a table onder a numbering. > >>> For example, I have numbers 1-5 (in the referred to as 1.). > >>> When I create a table in the WYSIWYG editor, under lets say 2, at first > >>> sometimes this goes right, and the table is indented in the same way > >>> that text is (the expected behaviour). > >>> > >>> Sometimes when I change something on the page the table is suddenly no > >>> longer indented, resulting in the next number (3) changing to 1. > >> Your description is vague. Can you tell me the exact steps to reproduce > >> the issue? What did you change on the page before the numbered list was > >> broken? Also, what browser did you use? > >> > > > > I use Firefox on Linux. > > Steps to reproduce: > > > > 1. Edit a page in WYSIWYG mode > > 2. Create a number list of 3 items by pressing the symbol (1,2,3). > > So I get 1. , input some text, then 2. appears, I input some text and > > press enter again. > > 3. I go back with the cursor to after 1. and the entered text and press > > SHIFT + ENTER, so the cursor moves to under the 1. , a bit indented. > > 4. Then I insert a table (2 by 2 for the test), which shows up at the > > place the cursor was. > > 5. I repeat this step for 2. , so that I have two tables, a bit indented > > under 1. and 2. . > > 6. Then I press the Show button (to view the page) and then already the > > tables lose there indention and the numbering changes: 2. and 3. changes > > to 1. > > > > I followed this steps on XE 2.0 RC1 and I couldn't reproduce the issue. > For two list items each with a 2x2 table I get this wiki syntax: > > --8<-- > 1. abc(((|=1|=2 > |3|4))) > 1. xyz(((|=5|=6 > |7|8))) > -->8-- > > Can you tell me what wiki syntax do you get? To do this, create the list > and the tables in WYSIWYG mode and then switch to Wiki mode. This is my non-working wiki-syntax (it had no numbers filled in in the fields), I added to mark the code part: -- test tabel: 1. dsfsdf (((|= |= | | \\))) 1. sdfsdf (((|= |= | ))) 1. sdfsdf --- It seems the WYSIWYG changes some characters, an added \\ and a missing | ? When I continue in the WYSIWYG with your code, and do the same as described in the test case, I cannot reproduce the error. Code still seems OK: --- 8< 1. abc(((|=1|=2 |3|4))) 1. xyz(((|=5|=6 |7|8))) 1. test third number 1. (((|= 9|=10 | 11| 12))) 1. (((|= |= |))) 1. test sixth number 1. dfgdfg(((|= |= | ))) 1. dfgf(((|= |= | ))) 1. >8 --- When I added another two test tables after that, I got: content: Exception while parsing HTML. (I have had that before when inserting tables by copy/paste from a Word -table.). After that the source and Wiki buttons do not work, and the page goes back to the WYSIWYG. The only way to fix it is a rollback to the previous version. Is there anything else I can do to pinpoint this problem? > > Also, can you try my wiki syntax output? Edit a new page in Wiki mode, > paste my wiki content then switch to WYSIWYG and back a few times. Is > the list broken? Does the wiki content change when you come back to Wiki > mode? In my case, switching to WYSIWYG and back to Wiki any number of > time leaves the wiki content unchanged. > When I use your Wiki syntax in the editor, this gives the proper result. > Btw, you are using the new WYSIWYG editor, that comes with the XWiki 2.0 > syntax, right? (look at the Document Information panel in edit mode) I am using the new WYSIWYG indeed, the Document Info says XWiki 2.0 for Page Syntax. > > Thanks, > Marius > > > For further details, I attached a screenshot to clear things up further. > > > > Thank you for your quick response, please let me know if you need more > > details. > > > > Kind regards, > > Vincent > > > > > > > >>> I have not been able to make the table indent again, nor have I been > >>> able to fix the numbering. > >>> I found a related issue on Jira, but it seems this did not fix the issue > >>> I encounter: > >>> http://jira.xwiki.org/jira/browse/XWIKI-3090 > >>> and : > >>> http://jira.xwiki.org/j
Re: [xwiki-users] Unable to indent table under numbering
Hi Guillaume, On Tue, 2009-09-15 at 12:16 +0200, Guillaume Lerouge wrote: > Hi Vincent, > > On Tue, Sep 15, 2009 at 12:08 PM, Vincent Gerris wrote: > > > Hi Marius, > > > > On Tue, 2009-09-15 at 12:03 +0300, Marius Dumitru Florea wrote: > > > Vincent Gerris wrote: > > > > Hi Marius, > > > > > > > > > > > > > > > > On Tue, 2009-09-15 at 11:15 +0300, Marius Dumitru Florea wrote: > > > >> Hi Vincent, > > > >> > > > >> Vincent Gerris wrote: > > > >>> Dear all, > > > >>> > > > >>> I have been struggling with lining out a table onder a numbering. > > > >>> For example, I have numbers 1-5 (in the referred to as 1.). > > > >>> When I create a table in the WYSIWYG editor, under lets say 2, at > > first > > > >>> sometimes this goes right, and the table is indented in the same way > > > >>> that text is (the expected behaviour). > > > >>> > > > >>> Sometimes when I change something on the page the table is suddenly > > no > > > >>> longer indented, resulting in the next number (3) changing to 1. > > > >> Your description is vague. Can you tell me the exact steps to > > reproduce > > > >> the issue? What did you change on the page before the numbered list > > was > > > >> broken? Also, what browser did you use? > > > >> > > > > > > > > I use Firefox on Linux. > > > > Steps to reproduce: > > > > > > > > 1. Edit a page in WYSIWYG mode > > > > 2. Create a number list of 3 items by pressing the symbol (1,2,3). > > > > So I get 1. , input some text, then 2. appears, I input some text and > > > > press enter again. > > > > 3. I go back with the cursor to after 1. and the entered text and press > > > > SHIFT + ENTER, so the cursor moves to under the 1. , a bit indented. > > > > 4. Then I insert a table (2 by 2 for the test), which shows up at the > > > > place the cursor was. > > > > 5. I repeat this step for 2. , so that I have two tables, a bit > > indented > > > > under 1. and 2. . > > > > 6. Then I press the Show button (to view the page) and then already the > > > > tables lose there indention and the numbering changes: 2. and 3. > > changes > > > > to 1. > > > > > > > > > > I followed this steps on XE 2.0 RC1 and I couldn't reproduce the issue. > > > For two list items each with a 2x2 table I get this wiki syntax: > > > > > > --8<-- > > > 1. abc(((|=1|=2 > > > |3|4))) > > > 1. xyz(((|=5|=6 > > > |7|8))) > > > -->8-- > > > > > > Can you tell me what wiki syntax do you get? To do this, create the list > > > and the tables in WYSIWYG mode and then switch to Wiki mode. > > > > This is my non-working wiki-syntax (it had no numbers filled in in the > > fields), I added to mark the code part: > > -- > > test tabel: > > > > 1. dsfsdf > > > > (((|= |= > > | | > > > > \\))) > > > > 1. sdfsdf > > > > (((|= |= > > | ))) > > > > 1. sdfsdf > > --- > > It seems the WYSIWYG changes some characters, an added \\ and a missing > > | ? > > > > When I continue in the WYSIWYG with your code, and do the same as > > described in the test case, I cannot reproduce the error. > > > > Code still seems OK: > > --- > > 8< > > > > 1. abc(((|=1|=2 > > |3|4))) > > 1. xyz(((|=5|=6 > > |7|8))) > > 1. test third number > > 1. (((|= 9|=10 > > | 11| 12))) > > 1. (((|= |= > > |))) > > 1. test sixth number > > 1. dfgdfg(((|= |= > > | ))) > > 1. dfgf(((|= |= > > | ))) > > 1. > > > > > > > > >8 > > --- > > > > When I added another two test tables after that, I got: > > content: Exception while parsing HTML. > > (I have had that before when inserting tables by copy/paste from a Word > > -table.). > > > > Do you use the "paste from Word" button or do you copy & paste directly in > the textarea? Using the "paste from word" button would be better I think. > > Guillaume I did not use any copy pasting now, I just meant to in
Re: [xwiki-users] Unable to indent table under numbering
Hi Marius, On Tue, 2009-09-15 at 18:00 +0300, Marius Dumitru Florea wrote: > Hi Vincent, > > Vincent Gerris wrote: > > Hi Marius, > > > > On Tue, 2009-09-15 at 12:03 +0300, Marius Dumitru Florea wrote: > >> Vincent Gerris wrote: > >>> Hi Marius, > >>> > >>> > >>> > >>> On Tue, 2009-09-15 at 11:15 +0300, Marius Dumitru Florea wrote: > >>>> Hi Vincent, > >>>> > >>>> Vincent Gerris wrote: > >>>>> Dear all, > >>>>> > >>>>> I have been struggling with lining out a table onder a numbering. > >>>>> For example, I have numbers 1-5 (in the referred to as 1.). > >>>>> When I create a table in the WYSIWYG editor, under lets say 2, at first > >>>>> sometimes this goes right, and the table is indented in the same way > >>>>> that text is (the expected behaviour). > >>>>> > >>>>> Sometimes when I change something on the page the table is suddenly no > >>>>> longer indented, resulting in the next number (3) changing to 1. > >>>> Your description is vague. Can you tell me the exact steps to reproduce > >>>> the issue? What did you change on the page before the numbered list was > >>>> broken? Also, what browser did you use? > >>>> > >>> I use Firefox on Linux. > >>> Steps to reproduce: > >>> > >>> 1. Edit a page in WYSIWYG mode > >>> 2. Create a number list of 3 items by pressing the symbol (1,2,3). > >>> So I get 1. , input some text, then 2. appears, I input some text and > >>> press enter again. > >>> 3. I go back with the cursor to after 1. and the entered text and press > >>> SHIFT + ENTER, so the cursor moves to under the 1. , a bit indented. > >>> 4. Then I insert a table (2 by 2 for the test), which shows up at the > >>> place the cursor was. > >>> 5. I repeat this step for 2. , so that I have two tables, a bit indented > >>> under 1. and 2. . > >>> 6. Then I press the Show button (to view the page) and then already the > >>> tables lose there indention and the numbering changes: 2. and 3. changes > >>> to 1. > >>> > >> I followed this steps on XE 2.0 RC1 and I couldn't reproduce the issue. > >> For two list items each with a 2x2 table I get this wiki syntax: > >> > >> --8<-- > >> 1. abc(((|=1|=2 > >> |3|4))) > >> 1. xyz(((|=5|=6 > >> |7|8))) > >> -->8-- > >> > >> Can you tell me what wiki syntax do you get? To do this, create the list > >> and the tables in WYSIWYG mode and then switch to Wiki mode. > > > > > This is my non-working wiki-syntax (it had no numbers filled in in the > > fields), I added to mark the code part: > > Yes, I added the numbers in the table cells. > > > -- > > test tabel: > > > > 1. dsfsdf > > > > (((|= |= > > | | > > > > \\))) > > > > 1. sdfsdf > > > > (((|= |= > > | ))) > > > > 1. sdfsdf > > --- > > Here's what I get, following your steps on XWiki Enterprise 1.9.3.22597 > using the same content: > > --8<- > test tabel: > > 1. dsfsdf(((|= |= > | | ))) > 1. sdfsdf(((|= |= > | | ))) > 1. sdfsdf > -->8- > > As you can see, I get the right output.. There must be something else > you did that broke the list otherwise I can't explain why we get > different results. > > > It seems the WYSIWYG changes some characters, an added \\ and a missing > > | ? > > > > When I continue in the WYSIWYG with your code, and do the same as > > described in the test case, I cannot reproduce the error. > > > > Code still seems OK: > > --- > > 8< > > > > 1. abc(((|=1|=2 > > |3|4))) > > 1. xyz(((|=5|=6 > > |7|8))) > > 1. test third number > > 1. (((|= 9|=10 > > | 11| 12))) > > 1. (((|= |= > > |))) > > 1. test sixth number > > 1. dfgdfg(((|= |= > > | ))) > > 1. dfgf(((|= |= > > | ))) > > 1. > > > > > > > >> 8 > > --- > > > > When I added another two test tables after that, I got: > > content: Exception while parsing HTML. > > (I have had that
[xwiki-users] Error number 4001 in 4: Error while parsing velocity page Main.RecentChanges - compareTo work around
Dear users, I recently encountered a bug in the Main/RecentChanges page. For some reason, we kept getting an error: Error number 4001 in 4: Error while parsing velocity page Main.RecentChanges Wrapped Exception: Failed to evaluate content with id Recent Changes com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.RecentChanges Wrapped Exception: Failed to evaluate content with id Recent Changes at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85) . Caused by: java.lang.ClassCastException: java.util.Date at java.sql.Timestamp.compareTo(Timestamp.java:474) . It was unclear when it occured, because this has worked before. After some googling, I found this: http://twit88.com/blog/2007/12/08/javasqltimestamp-compareto-bug-in-jdk-15/ So I started fiddling around a bit. The classes compared in the following line in the source seem both to be of the java util Date class. For some reason the comparison fails, just like in the article. The difference with the article is that a subclass is compared to a superclass, while in this case the comparison seems the same. I do not know enough about XWiki internals to find out what goes wrong. So could be a JDK 1.5 bug, could be a XWiki bug. We are running XWiki 1.9.3.22597 on Oracle AS with JDK 1.5. The workaround that for the moment does the trick is to switch the compared values. So: change this: #if($lastCommentDate.compareTo($rcDt.toDate()) > -1 && $lastCommentDate.compareTo($rcDt.toDate()) <= 1) with this: #if($rcDt.toDate().compareTo($lastCommentDate) < -1 && $rcDt.toDate().compareTo($lastCommentDate) >= 1) I am interested to know if more users encountered this. Besides that I would like to know if this should be reported in Jira and how? Hope this helps someone. I am not sure if this is a structural solution, I would love to hear that from a developer. -- Met vriendelijke groet / Kind regards, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Blog/Clone
Hi all, I just did something like this recently and think I can explain it briefly. It's a bit of work and I get some errors I do not understand, but it works. Here's how I did it: 1. Make a complete export of the Wiki in the admin backend. 2. Extract the XAR you have. 3. Edit package.xml : remove all lines NOT referring to the Blog space. 4. Delete all folders except the Blog one. 5. Decide the spacenaam you would like to give it: I chose Blogboek (let's call it that for the rest of this explanation). 6. Change the foldername to Blogboek. 7. Change all references to Blog in Blogboek. I did that by running a script on the commandline (using Linux) that replaces .Blog by .Blogboek. 8. You should now have the package.xml containing the subscription of the files in the Blogboek folder. Note that this also contains all the Blog-posts that were in the Blog space. 9. To get the categories displayed properly, change line 113 in CategoriesPanel.xml: #getCategoriesHierarchy('Blogboek' $tree) 10. When ready, put everything in a zip and rename it to XAR. MAke sure the folder and file are in the root of the zip, not in a folder (chack by view it). 11. Now you can import the XAR in the Xwiki admin backend. The only error I encounteres was a list of files named Blog.xxx.xxx that were not imported. It seems somehow there is metadata that knows the files came from the Blog space. The other files (Blogboek.xxx.xxx) are imported correctly, so the result was what I wanted: a seperate space with the complete Blog functionality, seperate from the Xwiki core. Note that Blog is in development and there are irritating bugs in the editor. http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917 http://jira.xwiki.org/jira/browse/XABLOG-63 I really hope a syntax 2 version will be in a coming Xwiki release using the new editor. Thank you all for your help, hope this is usefull! vmassol wrote: > > Since this is such a frequently asked question it would be nice if > someone could: > > 1) document it on xwiki.org, either: > - in the FAQ > - as a code snippet on http://dev.xwiki.org > > or even better: > > 2) create an application (XAR) that does this and upload it on > http://code.xwiki.org > > Anyone up for this? :) > > Thanks > -Vincent > > On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote: > >> that's what I was thinking but I continue to get an error when I >> create a ClassSheet (it will not allow me to). I keep getting an >> error every time. a 4.26 while parsing velocity error. Do you have >> any information or installation errors I might have? Are certain >> velocity or java files/programs necessary that are not in the >> documentation? >> >> Thanks in advance, >> Tim >> >> >> >> From: users-boun...@xwiki.org on behalf of Esbach, Brandon >> Sent: Tue 1/8/2008 12:50 PM >> To: XWiki Users >> Subject: Re: [xwiki-users] Blog/Clone >> >> >> Hi Tim, >> >> If you look through Nabble, this has been described a few times >> before. It's fairly easy to do. >> >> >> >> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On >> Behalf Of Campbell, Timothy D >> Sent: 08 January 2008 17:39 >> To: users@xwiki.org >> Subject: [xwiki-users] Blog/Clone >> >> >> Has anyone successfully created a second blog in a single wiki? If >> so, please give me some guidence on how to do this task. Also, what >> could be a source of a velocity parsing error while creating a class >> sheet? Please respond to help progress my research. >> >> Thanks in advance, >> Tim >> ___ >> 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 > > -- View this message in context: http://n2.nabble.com/Blog-Clone-tp507547p4105195.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] Blog/Clone
Hi Sergiu, The form was not exactly matching our needs, because it leaves the categories in the Blog space, while the document are in another (as far I could see). We have a seperate space for all our documents, because we prefer to not be forced to update standard components that we use. Since Blog is in the XWiki core now, an update of the core might change our functionality, which we would like to keep in our own hands. I am lloking forward to the Blog being included as a seperate space, especially because there are many changes in it related to the XWiki 2 syntaxis. Thank you for your quick reply, I hope my answer is usefull. Sergiu Dumitriu-2 wrote: > > On 12/03/2009 01:01 PM, Guillaume Lerouge wrote: >> Hi Vincent, >> >> can you try this next time you need to create a new blog in your wiki: >> http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication#HAddmultipleblogsinyourwikis >> >> and tell me how it goes? >> >> Guillaume > > This is still too complicated. A shorter process: > > 1. Go to http:///xwiki/bin/view/Blog/Management > 2. Use the form in that page. > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- View this message in context: http://n2.nabble.com/Blog-Clone-tp507547p4145419.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] Blog/Clone
hi Vincent, Thank you for your response. I have a full agenda these days, but I will try to evaluate 2.1RC1. We will probably upgrade from 1.9.3 to 2.1 release anyway when it comes out, but I am waiting for servers to be made ready to do a new install and off course we will report issues on that. Thank you (and your collegues) for all your work! Given there are some issues with XWiki, we do really like the product and the way it is built! Kind regards, Vincent Gerris vmassol wrote: > > Hi Vincent, > > On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote: > >> >> Hi all, >> >> I just did something like this recently and think I can explain it >> briefly. >> It's a bit of work and I get some errors I do not understand, but it >> works. >> Here's how I did it: >> >> 1. Make a complete export of the Wiki in the admin backend. >> 2. Extract the XAR you have. >> 3. Edit package.xml : remove all lines NOT referring to the Blog >> space. >> 4. Delete all folders except the Blog one. >> 5. Decide the spacenaam you would like to give it: I chose Blogboek >> (let's >> call it that for the rest of this explanation). >> 6. Change the foldername to Blogboek. >> 7. Change all references to Blog in Blogboek. I did that by running >> a script >> on the commandline (using Linux) that replaces .Blog by .Blogboek. >> 8. You should now have the package.xml containing the subscription >> of the >> files in the Blogboek folder. Note that this also contains all the >> Blog-posts that were in the Blog space. >> 9. To get the categories displayed properly, change line 113 in >> CategoriesPanel.xml: >> #getCategoriesHierarchy('Blogboek' $tree) >> 10. When ready, put everything in a zip and rename it to XAR. MAke >> sure the >> folder and file are in the root of the zip, not in a folder (chack >> by view >> it). >> 11. Now you can import the XAR in the Xwiki admin backend. >> >> The only error I encounteres was a list of files named Blog.xxx.xxx >> that >> were not imported. >> It seems somehow there is metadata that knows the files came from >> the Blog >> space. >> The other files (Blogboek.xxx.xxx) are imported correctly, so the >> result was >> what I wanted: >> a seperate space with the complete Blog functionality, seperate from >> the >> Xwiki core. >> >> Note that Blog is in development and there are irritating bugs in the >> editor. >> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917 >> http://jira.xwiki.org/jira/browse/XABLOG-63 >> >> I really hope a syntax 2 version will be in a coming Xwiki release >> using the >> new editor. > > The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later > today :) > > We'd love if you could try it out and let us know if there are any > issue so that we can fix them before the XE 2.1 final planned for next > week. > > Thanks > -Vincent > >> Thank you all for your help, hope this is usefull! >> >> >> >> >> vmassol wrote: >>> >>> Since this is such a frequently asked question it would be nice if >>> someone could: >>> >>> 1) document it on xwiki.org, either: >>> - in the FAQ >>> - as a code snippet on http://dev.xwiki.org >>> >>> or even better: >>> >>> 2) create an application (XAR) that does this and upload it on >>> http://code.xwiki.org >>> >>> Anyone up for this? :) >>> >>> Thanks >>> -Vincent >>> >>> On Jan 8, 2008, at 8:55 PM, Campbell, Timothy D wrote: >>> >>>> that's what I was thinking but I continue to get an error when I >>>> create a ClassSheet (it will not allow me to). I keep getting an >>>> error every time. a 4.26 while parsing velocity error. Do you have >>>> any information or installation errors I might have? Are certain >>>> velocity or java files/programs necessary that are not in the >>>> documentation? >>>> >>>> Thanks in advance, >>>> Tim >>>> >>>> >>>> >>>> From: users-boun...@xwiki.org on behalf of Esbach, Brandon >>>> Sent: Tue 1/8/2008 12:50 PM >>>> To: XWiki Users >>>> Subject: Re: [xwiki-users] Blog/Clone >>>> >>>> >>>> Hi Tim, >>>> >>>> If you look through Nabble, this has been
Re: [xwiki-users] Blog/Clone
hi Vincent, I am really happy with the new editor, I can use backslashes again now :) \. We also made a few modifications to the Blog, which makes it possible to post when in a category. A wannahave would be to be able to do this and have the current category marked in the publish screen by default :). Thanks a lot! Kind regards, Vincent Gerris vmassol wrote: > > > On Dec 10, 2009, at 4:30 PM, Vincent Gerris wrote: > >> >> hi Vincent, >> >> Thank you for your response. >> I have a full agenda these days, but I will try to evaluate 2.1RC1. > > 2.1 final is now out... :-) > > -Vincent > >> We will probably upgrade from 1.9.3 to 2.1 release anyway when it >> comes out, >> but I am waiting for servers to be made ready to do a new install >> and off >> course we will report issues on that. >> >> Thank you (and your collegues) for all your work! >> Given there are some issues with XWiki, we do really like the >> product and >> the way it is built! >> >> Kind regards, >> Vincent Gerris >> >> >> vmassol wrote: >>> >>> Hi Vincent, >>> >>> On Dec 3, 2009, at 11:14 AM, Vincent Gerris wrote: >>> >>>> >>>> Hi all, >>>> >>>> I just did something like this recently and think I can explain it >>>> briefly. >>>> It's a bit of work and I get some errors I do not understand, but it >>>> works. >>>> Here's how I did it: >>>> >>>> 1. Make a complete export of the Wiki in the admin backend. >>>> 2. Extract the XAR you have. >>>> 3. Edit package.xml : remove all lines NOT referring to the Blog >>>> space. >>>> 4. Delete all folders except the Blog one. >>>> 5. Decide the spacenaam you would like to give it: I chose Blogboek >>>> (let's >>>> call it that for the rest of this explanation). >>>> 6. Change the foldername to Blogboek. >>>> 7. Change all references to Blog in Blogboek. I did that by running >>>> a script >>>> on the commandline (using Linux) that replaces .Blog by .Blogboek. >>>> 8. You should now have the package.xml containing the subscription >>>> of the >>>> files in the Blogboek folder. Note that this also contains all the >>>> Blog-posts that were in the Blog space. >>>> 9. To get the categories displayed properly, change line 113 in >>>> CategoriesPanel.xml: >>>> #getCategoriesHierarchy('Blogboek' $tree) >>>> 10. When ready, put everything in a zip and rename it to XAR. MAke >>>> sure the >>>> folder and file are in the root of the zip, not in a folder (chack >>>> by view >>>> it). >>>> 11. Now you can import the XAR in the Xwiki admin backend. >>>> >>>> The only error I encounteres was a list of files named Blog.xxx.xxx >>>> that >>>> were not imported. >>>> It seems somehow there is metadata that knows the files came from >>>> the Blog >>>> space. >>>> The other files (Blogboek.xxx.xxx) are imported correctly, so the >>>> result was >>>> what I wanted: >>>> a seperate space with the complete Blog functionality, seperate from >>>> the >>>> Xwiki core. >>>> >>>> Note that Blog is in development and there are irritating bugs in >>>> the >>>> editor. >>>> http://n2.nabble.com/Blog-2-0-Upgrade-and-WYSIWYG-td3266917.html#a3266917 >>>> http://jira.xwiki.org/jira/browse/XABLOG-63 >>>> >>>> I really hope a syntax 2 version will be in a coming Xwiki release >>>> using the >>>> new editor. >>> >>> The syntax 2.0 blog is planned to be in the XE 2.1RC1 release later >>> today :) >>> >>> We'd love if you could try it out and let us know if there are any >>> issue so that we can fix them before the XE 2.1 final planned for >>> next >>> week. >>> >>> Thanks >>> -Vincent >>> >>>> Thank you all for your help, hope this is usefull! >>>> >>>> >>>> >>>> >>>> vmassol wrote: >>>>> >>>>> Since this is such a frequently asked question it would be nice if >>>>> someone could: >>>>> >>>>> 1) document it on xwiki.org, either: >>>>> - in the FAQ >>
Re: [xwiki-users] Blog/Clone
hi Sergiu, I created the request, thank you for your support! http://jira.xwiki.org/jira/browse/XABLOG-96 Kind regards, Vincent Gerris On Fri, 2009-12-11 at 06:22 -0800, Sergiu Dumitriu-2 [via XWiki] wrote: > On 12/11/2009 02:50 PM, Vincent Gerris wrote: > > > > > hi Vincent, > > > > I am really happy with the new editor, I can use backslashes again > now :) \. > > We also made a few modifications to the Blog, which makes it > possible to > > post when in a category. > > A wannahave would be to be able to do this and have the current > category > > marked in the publish screen by default :). > > > > Thanks a lot! > > > > Good idea, could you open a new issue here: > http://jira.xwiki.org/jira/browse/XABLOG > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > ___ > users mailing list > [hidden email] > http://lists.xwiki.org/mailman/listinfo/users > > > > __ > View message @ http://n2.nabble.com/Blog-Clone-tp507547p4151544.html > To unsubscribe from Re: Blog/Clone, click here. > -- Met vriendelijke groet, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 -- View this message in context: http://n2.nabble.com/Blog-Clone-tp507547p4164054.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] Changed upload_maxsize but still can't attach larger than 10 MB
According to a post i read, the number is in bytes. So for 200 mb, you would need to add 00 so 2. Does that work for you? Because I did set the value on that, but still get: XWiki heeft standaard een limiet van ongeveer 10Mb voor ingeschrevenen bestanden. Deze limiet kan worden gewijzigd met de upload_maxsize parameter. Check de FAQ voor meer informatie. (which says there is a 10mb linit in Dutch). Did anyone get this working? -- View this message in context: http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591611.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] Changed upload_maxsize but still can't attach larger than 10 MB
Thanks for your quick reply. For me 1 did not work (nor 2). I am trying to import a 75,4 MB import with no luck. So I go to: http://localhost:/ictwiki/bin/admin/XWiki/XWikiPreferences Then press change class, update the number with the value and still get that dumb 10MB error. I use Oracle XE as a database. After a change to 9900 I still get that error. So it seems like a bug too me. I guess Iĺl make a post on Jira again :). -- View this message in context: http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591774.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] Changed upload_maxsize but still can't attach larger than 10 MB
hi Caleb James, As my previous post shows, it does not work for me. I use Oracle XE, I have encountered no 500 errors. I do not know where to try that Jetty setting. I also restarted the complete Xwiki instance by restarting Tomcat, do you mean that by resetting the engine? Well, I just see the post from Guillaume now. The tomcat java only has 128MB now, so I will try to enlarge that and otherwise use that codesnippet (if i figured out how). -- View this message in context: http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4592052.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] Java Heap Space, Out of memory exception
Dear all, sorry for replying to an old post, but just want to emphasise the problems the import/export actions still have. At this moment I cannot do a proper export from Xwiki Enterprise 2.1. Also I am unable to do any export with the ImportExportApplication. I would just like to put all those problems on a list here, and hope anyone will have a fix: - export from Xwiki 2.1 fails: file export stops around 65,2 MB, then no error. At import there are no files visible in Xwiki 2.3.1 : no error! After some time I found the exported XAR to be an invalid ZIP archive. While changing JVM options on the appserver, once it happened somehow that I could see a list from the files. After importing i notices stuff not working, it appeared files were missing. - ImpotExportApllication by Ludovic Dubois according to the page should be included in Xwiki. I did not find it in 1.9, 2.1 or 2.3. After installing I can select a space, but I don't see anyh content so I cannot make any export. So, while having gathered the resources to do so, I am UNABLE to do an export and I cannot migrate the software from the application! I have managed to do this before, since a previous export file was 79 MB in size and somehow I got that. So does anyone know how to get the normal export working? And please, please, please can you gives this trouble around import/export a lot attention? >From what I see I still need a JVM from around 2048m to be able to import. I think this kind of trouble really does not make Xwiki Enterprise ready and it costs us so much time. If you need any more info please let me know. Any help is appreciated. -- View this message in context: http://xwiki.475771.n2.nabble.com/Java-Heap-Space-Out-of-memory-exception-tp1613958p5167649.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] Java Heap Space, Out of memory exception
Dear Thomas, Thank you for your quick reply. I finally managed to do a proper export by enlarging the heap space to around 2 GB. To my big surprise after that the import did not work, complaining about the 10 MB limit ?!? That said, I have no problem attaching a 65 mb file, but 180 mb was too big, even when i had set upload_maxsize to 2 or something. So crap!! I did a database exp/imp on Oracle. After that I found out the after app check do not work on Oracle (sigh). Well, fotunately I noticed a lot of bugfixes, so in overall I am still happy with it. Now on to performance tuning, because a lot of wins lie there too! How would have to work on that import export? Should I report in Jira? I think when functionality is present, it should work. If not, it is better to disable it, or have only space exports or something. This is up to now one of the weak spots of Xwiki. thanks again, have a nice weekend! Kind regards, Vincent On Fri, 2010-06-11 at 05:38 -0700, tmortagne [via XWiki] wrote: > On Fri, Jun 11, 2010 at 14:21, Vincent Gerris <[hidden email]> wrote: > > > > > > Dear all, > > > > sorry for replying to an old post, but just want to emphasise the > problems > > the import/export actions still have. > > At this moment I cannot do a proper export from Xwiki Enterprise > 2.1. > > Also I am unable to do any export with the ImportExportApplication. > > > > I would just like to put all those problems on a list here, and hope > anyone > > will have a fix: > > - export from Xwiki 2.1 fails: file export stops around 65,2 MB, > then no > > error. > > At import there are no files visible in Xwiki 2.3.1 : no error! > After some > > time I found the exported XAR to be an invalid ZIP archive. > > While changing JVM options on the appserver, once it happened > somehow that I > > could see a list from the files. After importing i notices stuff > not > > working, it appeared files were missing. > > > > - ImpotExportApllication by Ludovic Dubois according to the page > should be > > included in Xwiki. I did not find it in 1.9, 2.1 or 2.3. After > installing I > > can select a space, but I don't see anyh content so I cannot make > any > > export. > > > > So, while having gathered the resources to do so, I am UNABLE to do > an > > export and I cannot migrate the software from the application! > > > > I have managed to do this before, since a previous export file was > 79 MB in > > size and somehow I got that. > > > > So does anyone know how to get the normal export working? > > And please, please, please can you gives this trouble around > import/export a > > lot attention? > > From what I see I still need a JVM from around 2048m to be able to > import. > > I think this kind of trouble really does not make Xwiki Enterprise > ready and > > it costs us so much time. > > > > If you need any more info please let me know. > > Any help is appreciated. > > > Quick answer for your immediate need: you should try > http://code.xwiki.org/xwiki/bin/view/Snippets/LargeWikiExportSnippet > (first script). That's probably the existing tool that takes the less > memory when exporting. > > Now about standard export yes it's really not good regarding memory > consumption but someone has to work on it... > > > > > > > > > > -- > > View this message in context: > http://xwiki.475771.n2.nabble.com/Java-Heap-Space-Out-of-memory-exception-tp1613958p5167649.html > > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > > users mailing list > > [hidden email] > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > > -- > Thomas Mortagne > _______ > users mailing list > [hidden email] > http://lists.xwiki.org/mailman/listinfo/users > > > > __ > > View message @ > http://xwiki.475771.n2.nabble.com/Java-Heap-Space-Out-of-memory-exception-tp1613958p5167721.html > > To unsubscribe from Re: Java Heap Space, Out of memory exception, > click here. > > -- Met vriendelijke groet, Vincent Gerris (SL 2.34) De Haagse Hogeschool Dienst ICT v.j.ger...@hhs.nl Tel: 070 445 7468 -- View this message in context: http://xwiki.475771.n2.nabble.com/Java-Heap-Space-Out-of-memory-exception-tp1613958p5168543.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] xwiki Blog trouble
Hi guys, We are experiencing serious performance problems with the Blog application. We cloned it in version 2.1 and did a few minor mods. We have under 1000 blog entires now in about 60 categories, some are subcategories. Loading the category management page takes about a minute. I have seen no big database activity, there is mostly a load on the cpu of the application server. Does anyone know how to fix this? For example when looking at the add a post page, the same tree is displayed there, but loading is much faster. I was trying to load the tree in a simple way and add the add category functionality, but it rather a PITA. We have multiple people using the Blog at the same time, does anyone know a fix? Kind regards, Vincent Gerris ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users