Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread jerem
Hi, I could workaround that quite easily, by adding the following in my setUp() method, just before retrieving my class under tests from the component manager: getComponentManager().registerMockComponent(getMockery(), LoggerManager.class); But it seems to confirm that, for any reason, the

Re: [xwiki-users] Another migration problem (3.5 to 4.1.3)

2012-08-06 Thread jerem
) In fact it breaks on an identical line but in alternate condition (for safe mode): // Skip classes that will be updated by cascaded updates if (!this.fkTables.contains(klass.getTable())) { ... Thanks, Jeremie jerem wrote Hi guys, Tried migrating from 3.5 to 4.1.3 on my test

Re: [xwiki-users] severe trouble with web crawlers

2012-04-28 Thread jerem
For my wiki, we used to have a crawler like this (snuffing every links out there), then, due to the useless time spent trying to retrieve pages and checking rights, I wrote small scripts to provide an indexing page to the crawler. This page lists all links that I WANT the crawler to fetch (and

Re: [xwiki-users] Broken Livetable?

2012-04-27 Thread jerem
The livetables get their content from json, fetched through an ajax call. The best way I found to debug a broken livetable, is to use Firefox + Firebug. In the console, when displaying the livetable page, you should see the complex url used to retrieve json data (call to a page named

[xwiki-users] XWQL and ratings

2012-04-27 Thread jerem
Hello community, I'm stuck on a problem to query average ratings data from pages - I installed the Ratings plugin, of course. The following query works as expected, and shows the pages having average votes, ordered by ratings then date : #set($xwql = select doc.fullName, ratings.averagevote

Re: [xwiki-users] DBCPConnectionProvider - Could not create a DBCP pool

2012-04-27 Thread jerem
Do you get this exception everytime or did it happen once ? What I can say is that with MySql my pool size is set to default (2) and I never had any problem of this kind ... -- View this message in context:

Re: [xwiki-users] Inserting the image between macro

2012-04-27 Thread jerem
I'm not sure I understood well your problem, but no, you can't insert an image into content that is dynamically generated, not directly. If you want to insert your image, you have to edit the macro content or code that generates this dynamic data, if it is possible of course. For example it would

Re: [xwiki-users] script variables inside PlantUML macro

2012-04-16 Thread jerem
You could try, though not very readable : Maybe clearer with {{groovy}} and strings. -- View this message in context: http://xwiki.475771.n2.nabble.com/script-variables-inside-PlantUML-macro-tp7468710p7469466.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] [XWiki 3.5] Exception from activity stream ?

2012-03-28 Thread jerem
Now I get this exception for a page that I created (from copy) (see below). It happens in view, edit, delete, ... modes... Other pages seem to be ok though I did not navigate everywhere. But I'm really not confident now, as it seems there's something really unstable on my instance but I can't

[xwiki-users] [XWiki 3.5] Exception from activity stream ?

2012-03-27 Thread jerem
Hello, My Dashboard page suddenly broke, with no apparent reason (I was renaming a page ...) First everything seemed to be broken in my wiki : home page full of velocity exceptions, renaming, copying, ..., conducing to velocity exceptions. I think I focused down to what might be the root cause

Re: [xwiki-users] [XWiki 3.5] Exception from activity stream ?

2012-03-27 Thread jerem
Seems clearly linked to Activity Streams, if I comment out the {{activity}} gadget from my Dashboard, everything is ok. Could there be some limit in the activity streams ?? For info I have 67169 rows in activitystreams_events table. -- View this message in context:

Re: [xwiki-users] wake-up URL?

2012-03-26 Thread jerem
I found that: http://cargo.codehaus.org/Merging+WAR+files Seems to be on the obscure side of Maven though ... ;) -- View this message in context: http://xwiki.475771.n2.nabble.com/wake-up-URL-tp7400050p7405062.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] Ratings Application not working

2012-03-26 Thread jerem
I don't think so ... When you restart Tomcat, do you have any error about the ratings plugin ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Application-not-working-tp7379389p7405148.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] Using Lightbox to create new page/objet

2012-03-23 Thread jerem
Hello Vincent, For the git contrib for my commits I'm ok, I'll add in progress things to this location. For now I've just started a xwiki-mailarchive-component, and I'll extract also another component for mail parsing / page creation from mail, but don't know the name for now (it's still embedded

Re: [xwiki-users] Using Lightbox to create new page/objet

2012-03-21 Thread jerem
Hello Vincent, Do you talk about the modal template or about the Mail Archive ? ;) BR, Jeremie -- View this message in context: http://xwiki.475771.n2.nabble.com/Using-Lightbox-to-create-new-page-objet-tp7354954p7391758.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] Ratings Application not working

2012-03-21 Thread jerem
Also, just in case, ensure that you have restarted xwiki container after having declared the plugin in xwiki.cfg. -- View this message in context: http://xwiki.475771.n2.nabble.com/Ratings-Application-not-working-tp7379389p7392409.html Sent from the XWiki- Users mailing list archive at

Re: [xwiki-users] Using Lightbox to create new page/objet

2012-03-16 Thread jerem
Well, the answer was not so complex. I took inspiration from the user registration code for this. I created a distinct page, MySpace.MyObjectCreation, that is in charge of : - showing the fields in edit mode for the new object to create (/xwiki/bin/view/MySpace/MyObjectCreation) - creating the

[xwiki-users] Using Lightbox to create new page/objet

2012-03-08 Thread jerem
Hello, I'm trying to use the lightbox.js to provide a nice UI for creating new custom pages/objects. Note : it's not the Lightbox application or macro, but the javascript from lightbox.js ... Idea is to provide a page with following use-case : - user clicks on create button - a pop-up (new

[xwiki-users] Translations field length

2012-03-02 Thread jerem
Hello xwiki community, I'm playing with the new (and wonderful) xwiki 3.5, and as I'm playing I'm adding extensions ... and values in the internationalization bundles list. Problem is, I reached the limit, and can't add new bundles anymore because of : Caused by: java.sql.BatchUpdateException:

[xwiki-users] Cascading livetables

2012-03-02 Thread jerem
Hello, I'd like to do that : In a page, have 2 livetables on 2 different wiki classes. A column in first livetable shows a clickable link. If user clicks this link, I would like to have second livetable updated depending on the row that was clicked in the first. In fact on click, an event should

[xwiki-users] Components : Bridge to old core and objects ?

2012-01-20 Thread jerem
Hello, I'm trying to convert a groovy class (in a wiki page) to a proper xwiki component in Java. Problem is : my groovy code makes heavy use of the document model, for example : - setting documents creator/author, dates, with and without triggering change events (modifying also internal

Re: [xwiki-users] Your feedbacks on a possible MailArchive application

2012-01-16 Thread jerem
Some news about this ... I'm slowly working on it. I'm implementing the admin page(s), some operations page (purge, split, merge ...), and just started writing the component (but it's really the beginning). For configuration parameters, I wonder if I'd better directly access my AdminClass to grab

Re: [xwiki-users] Which is the best strategy when migrating from one wiki version to another wiki version?

2012-01-12 Thread jerem
Approach 2 is good, when the 3.3 webapp will start, if database schema was changed it should be updated automatically - you just have to take care of setting correctly the properties for this (see here : http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingXWikiCore) What is

Re: [xwiki-users] Issues while importing previous working xwiki XAR file in to new installed XWIKI setup?

2012-01-12 Thread jerem
If all your customizations were done to wiki pages (and not directly to files server-side), then importing the xar should create an identical instance on B. Maybe something went wrong during export ? Did you have error messages ? Another thing that can be checked, is the content of the generated

[xwiki-users] Maven archetype for components

2011-12-06 Thread jerem
Hello, I'm trying to follow this guide for writing a new component : http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents It gives the command to generate a maven module for a component, given url of archetype-catalog.xml But the URL is broken ... After some search, I found that

Re: [xwiki-users] Maven archetype for components

2011-12-06 Thread jerem
Thanks, works well now ! :) I had not even think about searching in central ... ;) -- View this message in context: http://xwiki.475771.n2.nabble.com/Maven-archetype-for-components-tp7067286p7069654.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] Your feedbacks on a possible MailArchive application

2011-12-02 Thread jerem
Thanks ! :) For Java I understand, even if I'm not eager to verbosify the cool groovy classes I use into painful java ... :) (I must say here how much I love groovy) Performances are quite good so far, really. At least for now it scales well with 2300 topics and 5500 mails. -- View this message

Re: [xwiki-users] Your feedbacks on a possible MailArchive application

2011-12-02 Thread jerem
Of course Vincent, I completely agree with you ... It's more a joke hiding some kind of lazyness from my side, having to rewrite parts as components (and having to gain information about how to do that most of all ...) * How do you autocomplete in wiki pages I'm so used not having this feature

Re: [xwiki-users] Your feedbacks on a possible MailArchive application

2011-12-02 Thread jerem
Thanks for pointing this init problem Thomas ... But in my case the app relies on a scheduled job (in fact, for now it's in linux crontab but I'll move it to a scheduled job of course), so maybe it would be easy to workaround : the job could check if component is registered and if not register it,

[xwiki-users] Your feedbacks on a possible MailArchive application

2011-12-01 Thread jerem
Hello xwiki community ! Since a long time, I work on a MailArchive application, and try to find time to post it to the community ... It's used in my team and is satisfying, but as I'm working on it currently I think it's time to unveil what to expect from it, and have your feedbacks before I

[xwiki-users] Wysiwyg editing object properties

2011-11-29 Thread jerem
Hello, Using XWiki 3.2 I could not find any way to display edit of an object property in Wysiwyg mode ... I'm sure it used to work though. Tried to update the editor parameter of my textarea property, tried to update default editor set in my profile, then also default editor of the whole wiki,

Re: [xwiki-users] How to use doc.displayHidden ?

2011-11-25 Thread jerem
In fact, I have same behaviour (no output) if I replace displayHidden by displayView or displayEdit ... I must be doing something wrong but couldn't find it ... :/ -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-use-doc-displayHidden-tp7020234p7031174.html Sent from

[xwiki-users] Executing a page from another page

2011-11-22 Thread jerem
Hello, I'm trying to execute a page from another page. The executed page has some groovy and velocity, does some queries, and as output attaches a computed file to itself (and outputs some success or error message to page content). Executing it means just showing the page, as a result the

[xwiki-users] Adding RSS links to Livetables ?

2011-11-22 Thread jerem
Hello, I wonder how it would be possible to add RSS link(s) to the livetable components ? First I though it could be great to use the Tags Rss, but in fact the ideal solution would be to have a link with rss feed with exact same filters (tag, filters) and ordering than the currently configured

Re: [xwiki-users] Executing a page from another page

2011-11-22 Thread jerem
Seems great but ... I was not complete in my description. In fact the caller page is a groovy class ... And I want to execute MyPageToExecute from groovy, depending on conditions. Tried println {{include document/}} but it did not work. I could close my groovy block and restart after, but then

Re: [xwiki-users] Executing a page from another page

2011-11-22 Thread jerem
It's working with coding a sort-of wget from groovy code (Reader on URLConnection) :) Thanks, Jeremie -- View this message in context: http://xwiki.475771.n2.nabble.com/Executing-a-page-from-another-page-tp7019817p7019940.html Sent from the XWiki- Users mailing list archive at Nabble.com.

[xwiki-users] How to use doc.displayHidden ?

2011-11-22 Thread jerem
Hello, I'm trying to create a form on a page, and would like to use displayHidden but I couldn't make it work as I expected ... This is what I do (in groovy, for a class Space.Class, and for its field field) : As output, viewing the html source reveals that I get the form but nothing inside

[xwiki-users] RSS Feeds of tags ?

2011-11-18 Thread jerem
Hi, It seems there is no RSS feed icon anymore available in tag specific pages, contrarily to what is said here : http://www.xwiki.org/xwiki/bin/view/Main/RssFeeds Is it something that was lost, is there a possibility to generate such a feed on specific tag with a particular url ? xwiki 3.2

[xwiki-users] Characters '' or '' bad display in page title

2011-11-14 Thread jerem
Hi, - There seem to be some bad displays when a page title contains '' or ''. Display is correct in browser title bar, it is also correct in main content area, in hierarchy, but not in page title. For a page with title TestTest test, generated html looks like this : div id=hierarchy TestTest

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-11-10 Thread jerem
Hi and thanks Eduard, all your remarks seem logical to me ... The use case for duplicated user that you described seem to match what I did. To answer one of your questions, the new (workspace-local) profile is a real page with a real XWiki.XWikiUsers object inside of it, but with no link with my

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-11-10 Thread jerem
About the join workspace, this is what I can see (I'm logged, and to my global profile) : In workspace home page, in Workspace information : You are an administrator of this workspace. You are not currently a member of this workspace. If you like, you can join this workspace. (join this

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-11-08 Thread jerem
You're right, I had forgotten this ... So now it works ! I could create a workspace, but ran through some more little issues : - seems my user is duplicated between the main wiki and the workspace (for example I'm listed twice in the workspace homepage Top active members list) - I exported a space

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-11-08 Thread jerem
Thanks but this was solved thanks to Thomas, because I had forgotten to set the correct aliases, so default urls did not work ... But now it does ! :) However my new issue is that it seems main users and workspace users are not really considered and treated the same way depending on the use-cases

Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread jerem
I had the same issue (very slow activity stream), and last week-end it suddenly became horribly slow (few minutes for the home page). I added missing index, checked it was ok (request indicated from 2s to 0s), increased the document store cache to 2000, but it's still horribly slow. There are

Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread jerem
I had the same issue (very slow activity stream), and last week-end it suddenly became horribly slow (few minutes for the home page). I added missing index, checked it was ok (request indicated from 2s to 0s), increased the document store cache to 2000, but it's still horribly slow. There are

Re: [xwiki-users] Activity performance is slow

2011-11-07 Thread jerem
I had the same issue (very slow activity stream), and last week-end it suddenly became horribly slow (few minutes for the home page). I added missing index, checked it was ok (request indicated from 2s to 0s), increased the document store cache to 2000, but it's still horribly slow. There are

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-11-07 Thread jerem
Hello, I'm back on this subject ... Following recommendations, I've set db.prefix to test_ and renamed schema to test_xwiki instead of xwikitest, so my controller wiki is also my main wiki... In the process I made a mistake, instead of renaming workspacetemplate schema to test_workspacetemplate,

Re: [xwiki-users] XOffice not downloading pages, missing attachments

2011-10-26 Thread jerem
I must say I agree with Dale, here we still use mainly MSWord for nearly all documentation writing, and PDF exports. XOffice was feeling the gap, and allowing us to introduce XWiki in the existing process. Also, as a wiki (even xwiki) is not really bringing killer-features for the enterprise

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-21 Thread jerem
Hello, First thanks to all for information, and effectively I had forgotten to import the wikimanager xar. My wiki is under named xwikitest (so usual url is http://host:port/xwikitest/bin/view/Main/), its database name is xwikitest also. I did import wikimanager xar, and created a page

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-21 Thread jerem
... NOte : on another side I was able to check that I have no rights issue anymore with mysql user, as the WorkspaceManager.Install does not complain anymore, so thanks for that. But as all the rest is broken ... (I can't even login) -- View this message in context:

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-21 Thread jerem
Ok, found the answer while typing, in fact I renamed the server page to XWiki.XWikiServerXwikitest, and now generated urls are ok ! so wiki is browsable ... But still usual urls do not work (/xwikitest/bin/view/Main/ ...), but this could be solved with my reverse proxy. Now if I go to

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-21 Thread jerem
I have a last issue : default urls do not work. Problem is, that all urls now target xwikitest/wiki/xwikitest, except the one from first drop-down menu (MAIN), for example Administrate Main wiki is /xwikitest/bin/view/XWiki/XWikiPreferences and not

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-21 Thread jerem
Hum I saw in a list of wikis that as I was afraid I have in fact : - xwikitest - workspacetemplate - xwiki Problem is that my main controller should be xwikitest and not xwiki, because in mysql I already have 2 completely distinct wiki's catalogs : xwiki and xwikitest. I believe that when I

Re: [xwiki-users] Upgrade to 3.2 minor issues

2011-10-20 Thread jerem
I had the same issue, the workaround I used was solution 3 : move back table activitystream_events_params to use MyISAM ;) Switching to InnoDb is not without consequences : in my case I perform full online backups with mysqlhotcopy command, with InnoDb it won't be possible anymore. And to perform

Re: [xwiki-users] Extending XWiki collaboration toolset

2011-10-19 Thread jerem
I've heard of DITA in the past. What I'm not sure to understand is what is the benefit of supporting DITA. How do you actually model documents with DITA and suppose you are round tripping back to DITA from XWiki, what do you actually do with the output ? You model by creating documents parts

Re: [xwiki-users] Extending XWiki collaboration toolset

2011-10-19 Thread jerem
Do you have an example of a DITA document. I have some we use here, but if I strip any confidential info from them only the tags will remain :D I found something more exhaustive from the specs (1.0) about what can be put in the body of a topic:

[xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-19 Thread jerem
tried to grant all privileges (MySql) on *.* to my user xwiki on 127.0.0.1, but it did not change anything. To summarize : very good impression on xwiki 3.2, but not so good for now on workspaces :D Thanks for help, Jerem -- View this message in context: http://xwiki.475771.n2.nabble.com/Troubles

Re: [xwiki-users] Troubles with XWiki3.2 / Workspace Application

2011-10-19 Thread jerem
I'll retry that asap and let you know. For rewritten urls, is it normal behaviour when activating workspaces ? I'd need to change my proxy conf in this case (to rewrite /xwiki/bin to /xwiki/wiki/xwiki). -- View this message in context:

[xwiki-users] XWQL : order by count ?

2011-10-18 Thread jerem
Hi, I'm trying to use XWQL query language to select count of authors and would like to order this by descending order of this count. I ended up having this work fine : select count(myobject.author), myobject.author from Document as doc, doc.object(Space.MyClass) as myobject group by

Re: [xwiki-users] Extending XWiki collaboration toolset

2011-10-18 Thread jerem
On collaboration, but more an enterprise feature, I know a use-case for us would be to be able to do full round-tripping between DITA documents and XWiki markup. For now we could only found something for a concurrent wiki ... The idea would be to elaborate and model documents with DITA, use XWiki

Re: [xwiki-users] Watchlist email notification does not work for some users ...

2011-10-07 Thread jerem
I think I understood ... Because notifications were not sent anymore a few days after my workaround. I think that in fact it was due to the automatic watching feature. Every page I created was added to the list of watched pages, and so the related field in WatchListClass object. The problem in

Re: [xwiki-users] LDAP tool

2011-10-05 Thread jerem
Hi, I just installed the ldap tools xar, and I have same issue (2 groovy script execution exception in admin page ...) Thanks for help, Jeremie -- View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-tool-tp6312422p6861497.html Sent from the XWiki- Users mailing list archive at

Re: [xwiki-users] Watchlist email notification does not work for some users ...

2011-10-04 Thread jerem
I found how to correct the problem: I had to remove the WatchListClass object from concerned users, and recreate it (with exactly same parameters). After that, notifications are sent correctly ... I really don't know what's the problem behind though ... -- View this message in context:

Re: [xwiki-users] Receive an email every hour

2011-10-04 Thread jerem
I think depending on xwiki version you use, that you can use the watchlist feature. Simply go to your Forms space, and in the space menu (top of page) choose watch. Then in your own profile, in watchlist part, select that you want to be notified every hour. I think you won't receive emails only

Re: [xwiki-users] Data too long for column 'XWV_IP'

2011-10-03 Thread jerem
Hi again, Any clue on this previous post ? I didn't find anything about it ... Don't know if it's linked, but some users (including me) never receive any watchlist notifications ... Though others do ... Best regards, Jeremie -- View this message in context:

Re: [xwiki-users] Data too long for column 'XWV_IP'

2011-10-03 Thread jerem
I found ... I checked in hibernate mapping, it seems at some time length of column XWV_IP (in xwikistatsvisit) was increased from 32 to 255 ... Strangely in my instance it was not automatically migrated. I altered the column and don't get this error anymore. -- View this message in context:

[xwiki-users] Watchlist email notification does not work for some users ...

2011-10-03 Thread jerem
Hi, Some users on my xwiki 3.1 instance never receive notification emails, while others do. I couldn't find any useful difference in their profiles (use of Scheduler.WatchListHourlyNotifier, list of space and pages, email correctly set in profile ...). Tried to increase logs to debug for

[xwiki-users] Data too long for column 'XWV_IP'

2011-09-14 Thread jerem
Hi all, After migrating my XE from 2.x to 3.1, I get a bunch of these errors in my logs : [Statistics storing daemon] ERROR o.h.u.JDBCExceptionReporter- Data truncation: Data too long for column 'XWV_IP' at row 1 I suppose it's a change in the statistics related tables ... What should I do

Re: [xwiki-users] [xwiki-devs] [Proposal] XWiki Enterprise 2.0 Roadmap

2009-06-16 Thread jerem
The points I would focus on : - of course, syntax 2.0 and wysiwyg - Lucene search : I agree it's a key feature, and people do not find it very intuitive as it is ... Why not merging tags into lucene search bringing possibility to refine a search on a tags list ? It would give greater value to

[xwiki-users] Return image in http response

2009-06-14 Thread jerem
Hi all, I have some groovy page generating an image (BufferedImage), and I would like it to be returned and displayed in browser. I first tried to save this image as a png file with ImageIO, and it works pretty well and image can be displayed. If then I try to return it in http response, it

Re: [xwiki-users] Return image in http response

2009-06-14 Thread jerem
I tried to attach the image file back into the page, but if I call $xwiki.getDocument(...).addAttachment(...) it fails, as well as if I call xwiki.getDocument(...).addAttachment(...), saying it does not know the property xwiki. By the way my groovy scripts in syntax 1.0, migrated to 2.0, complain

Re: [xwiki-users] 1.8.4 : issues with new blog post system

2009-06-08 Thread jerem
From http://platform.xwiki.org/xwiki/bin/view/DevGuide/DsXWikiClasses here I found : hel wrote: XWiki Classes (xwikiclasses) Warning: In XWiki 1.1M4, this table is not populated. The XWiki engine retieves the class of an object using xwikiobjects.XWO_CLASSNAME in table xwikiobjects

Re: [xwiki-users] 1.8.4 : issues with new blog post system

2009-06-08 Thread jerem
Dumitriu-2 wrote: jerem wrote: From http://platform.xwiki.org/xwiki/bin/view/DevGuide/DsXWikiClasses here I found : hel wrote: XWiki Classes (xwikiclasses) Warning: In XWiki 1.1M4, this table is not populated. The XWiki engine retieves the class of an object using xwikiobjects.XWO_CLASSNAME

Re: [xwiki-users] How to display in inline mode, only an specific field from a class

2009-06-03 Thread jerem
If I understood well, I think you should be able to do it by updating the characteristics of your text fields in your class : you can choose the Editor to use (Text, PureText or WysiWyg). Choose wysiwyg to have the html editor, and text or puretext for standard text field. To display a field have

Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-06-03 Thread jerem
Problem cleared ... In fact it's the mysqldump that I reintegrated that was corrupted (missing pages ! :/ ). I still don't know why everything went wrong in first place, but now it's ok and running ... :) -- View this message in context:

Re: [xwiki-users] Velocity templates for skin

2009-06-03 Thread jerem
Hi, First : I have the same understanding you have ... :) Of course if you customize a template, you will have to check and merge if needed when you migrate to a newer version, but it does not happen too often (in my use cases at least). It's just the same when you customize a page that belongs

Re: [xwiki-users] 1.8.4 : issues with new blog post system

2009-06-03 Thread jerem
In my xwikidoc table XWD_HIDDEN has only 2 values : NULL or b'1', shouldn't it be true or false only ? I can't find any logic in existing lines for values of this field ... Recent and old pages seem to receive b'1' and others null, but with many exceptions. Don't know if it has a link with this,

Re: [xwiki-users] homepage in xwiki

2009-06-03 Thread jerem
Just an idea, maybe your wiki is not configured to be viewable by guest users, meaning xwiki will redirect to login page whenever a not logged in user try to view a page ? You might check the rights allowed to group XWikiAllGroup, in Rights under Administration pages, and the following options

Re: [xwiki-users] ERROR [BaseCollection] Failed to get class [internal] from wiki [...]

2009-05-26 Thread jerem
Same here with 1.8.4 ;) It does not seem to be a problem, except that it makes logs grow. -- View this message in context: http://n2.nabble.com/ERROR--BaseCollection--Failed-to-get-class--internal--from-wiki--...--tp2632698p2974471.html Sent from the XWiki- Users mailing list archive at

Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-05-06 Thread jerem
jerem wrote: Hi Sergiu, For encoding, on server side I have LANG=en_US.UTF-8. In xwiki.cfg : xwiki.encoding=ISO-8859-1 I was wondering : I believe in 1.5, there was no parameter for encoding. Does it mean that all strings were converted using platform encoding (LANG) ? Does it mean

Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-05-06 Thread jerem
Ok, so I reimported my data and performed the migration again. Now I have better view on exceptions that occurred at startup time : ** 2009-05-06 20:11:50,892 [http://vanille:8080/xwiki/bin/view/Main/WebHome] [http-8080-Processor25] INFO .AbstractXWikiMigrationManager - Current

Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-05-04 Thread jerem
, if I import 1 page after the other, it works. But it fails when trying to import 2 or 3 or more pages at the same time ... Thanks, Jeremie Sergiu Dumitriu-2 wrote: jerem wrote: Hi, I migrated the binaries from 1.5 to 1.8.2 (I'm on linux redhad / tomcat 5.5 / mysql 5). When importing

Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-05-04 Thread jerem
I finally found another exception in the logs, but it does not happen on each page import : 2009-04-30 17:46:26,582 [http://vanille:8080/xwiki/bin/import/XWiki/Import?editor=globaladminsection=Import] [http-8080-Processor22] ERROR packaging.Package - Failed to save document

Re: [xwiki-users] Modal window content without xwiki skin

2009-05-03 Thread jerem
Hi, I think you can add ?xpage=plain in the url of the page you display in your modal window. -- View this message in context: http://n2.nabble.com/Modal-window-content-without-xwiki-skin-tp2752448p2785690.html Sent from the XWiki- Users mailing list archive at Nabble.com.

[xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-04-30 Thread jerem
Hi, I migrated the binaries from 1.5 to 1.8.2 (I'm on linux redhad / tomcat 5.5 / mysql 5). When importing default xar, most of the pages fail to be imported. Logs show these kind of messages : ERROR packaging.Package - Failed to save document Stats.WebHome In some cases, it

Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-04-30 Thread jerem
In fact, to be complete, it seems I have many problems with my new migrated wiki ... For example, if I modify and save the xwiki preferences page, I get this : Error number 13007 in 3: Exception while loading lock Wrapped Exception: a different object with the same identifier value was

Re: [xwiki-users] Power of XWiki that no one have

2009-04-29 Thread jerem
Hi, What I really appreciate in XWiki is capability of customisation, it's like a framework made of HQL, Groovy, velocity, plus the classes/objects/forms features, that enable you to create pages and applications in wiki mode and customize almost everything, with security of CMS features (pages

Re: [xwiki-users] Multilingual problem in 1.8.1

2009-04-14 Thread jerem
Thanks for your answers, ... :) ... and sorry for not having searched enough before posting ... :( -- View this message in context: http://n2.nabble.com/Multilingual-problem-in-1.8.1-tp2627477p2631854.html Sent from the XWiki- Users mailing list archive at Nabble.com.

[xwiki-users] Multilingual problem in 1.8.1

2009-04-13 Thread jerem
Hi, I just installed XWiki 1.8.1 in ubuntu 8.10 / tomcat 6 / MySQL 5.0. My ubuntu is in english language (administration / language support / default language), so is my LANG environment variable. In my prefs by default I have language en, multilingual no. If I select yes for multilingual,

Re: [xwiki-users] Display a property edit field out of an object context

2008-11-06 Thread jerem
Many Thanks Sergiu, it works perfectly with your suggestion ! :) To add transit object on the URL, I just added this in my form : INPUT type=hidden value=$o name=My.Class_0 Jeremie -- View this message in context:

[xwiki-users] Display a property edit field out of an object context

2008-11-05 Thread jerem
Hello, I created a FAQ application, pretty much like the template, but with an added Category field. This Category is stored in a DBTreeList property, and contains classified categories, sub-categories, sub-sub categories ... When in the context of an FAQ object, this list displays well, and

Re: [xwiki-users] Help wanted on the database list class property, database tree class property and the Custom Display attribute.

2008-10-20 Thread jerem
I just tested that problem is the same with XWiki 1.6.1 ... -- View this message in context: http://n2.nabble.com/Help-wanted-on-the-database-list-class-property%2C-database-tree-class-property-and-the-Custom-Display-attribute.-tp508135p1355027.html Sent from the XWiki- Users mailing list

Re: [xwiki-users] Help wanted on the database list class property, database tree class property and the Custom Display attribute.

2008-10-15 Thread jerem
Hello, I'm posting here because I tried to implement solution proposed by Sergiu but it's not (yet) working ... (I'm using XWiki 1.5.2) I want to have a Database Tree List property in a class of type FAQ (FAQs.FAQClass). I would like to use this property to link together a FAQ property Category

Re: [xwiki-users] [1.5.1] Still problems with WatchList notifications ...

2008-09-12 Thread jerem
Hi, I solved part of problem by removing calls to getExternalURL() in XWiki.WatchListMessage, maybe something different in context caused exception while executed on server side in scheduler ? Mails are sent and do not contain exceptions anymore, but diff does not displays so I think it's not