[xwiki-users] Upgrade from 5.2 to 6.2
Hi XWiki Team, We're looking forward to upgrade to upcoming version 6.2 (Flamingo skin enabled by default) for our production installation (our dev team's wiki). There are however Backward Compatibility and Migration Notes each minor release that may contain important upgrade information. Last time when we upgraded from 3.x to 5.2 - I had to open release notes of each (including minor) release between them and carefully check if there are any additional steps to follow. Particular question is whether there's a simpler approach to get this list? More generic question (or a feature request): * How do I build list of Backward Compatibility and Migration Notes when migrating from version N.M to version X.Y? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-from-5-2-to-6-2-tp7591801.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] How to clean-up page history in one click
Hi, We are keeping record of daily team progress in XWiki which is basically a plain document with table listing all active tasks and their changing statuses. Each day we copy notes from previous day by copy XWiki document action. This has one major drawback: current version of the document is 2500 which means each day we create new document with 2.5K history versions. Is there a simple (without scripting) way to delete history? a) for single document b) for set of documents with common parent Regards, Roman PS: this is the reason for opening http://jira.xwiki.org/browse/XWIKI-10126 -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-clean-up-page-history-in-one-click-tp7590035.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] Clickable bar macro
This quick mock-up is exactly what I meant :) Thanks! -- View this message in context: http://xwiki.475771.n2.nabble.com/Clickable-bar-macro-tp7589940p7589960.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] Clickable bar macro
Hello, If I wanted to create a clickable bar layout on my wiki similar to http://spring.io/projects Which would be the best set of macros to use? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Clickable-bar-macro-tp7589940.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] [myxwiki] new wiki request
Hi, Please create new wiki instance. Data as requested on http://www.myxwiki.org/xwiki/bin/view/Main/WebHome: Description: A temporary wiki for https://github.com/open-council project, while we're establishing infrastructure. User name in mywiki.org: opencouncil Wanted prefix before .myxwiki.org: opencouncil Thanks, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7589586.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] [myxwiki] Fail to install Diagram Application
When installing Diagram Application on mywiki instance ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Diagram+Application ) I receive this error message: Found already installed extension with id [org.xwiki.platform:xwiki-platform-appwithinminutes]. Checking compatibility... The extension [org.xwiki.platform:xwiki-platform-appwithinminutes-5.2] is already installed class org.xwiki.extension.InstallException: Failed to resolve extension at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:697) ... Caused by: class org.xwiki.extension.InstallException: The extension [org.xwiki.platform:xwiki-platform-appwithinminutes-5.2] is already installed at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkAlreadyInstalledExtension(AbstractInstallPlanJob.java:320) Is it a defect in Extension Manager or the way Diagram Application packaged? -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-Fail-to-install-Diagram-Application-tp7589599.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] Changes in the database configuration between 4.2 and 5.2
Thanks, guys I'll try it on next upgrade to 5.3 :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Changes-in-the-database-configuration-between-4-2-and-5-2-tp7587730p7587833.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] Changes in the database configuration between 4.2 and 5.2
Hello, Were there any database configuration changes between XWiki 4.2 and 5.2? I'm trying to upgrade our XWiki installation, as usually configured hibernate.cfg.xml to point to local MySQL database (name='xwiki_52_innodb_utf8'): property name=connection.urljdbc:mysql://localhost/xwiki_52_innodb_utf8?useServerPrepStmts=falseamp;useUnicode=trueamp;characterEncoding=UTF-8/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property property name=connection.driver_classcom.mysql.jdbc.Driver/property property name=dialectorg.hibernate.dialect.MySQL5InnoDBDialect/property property name=dbcp.ps.maxActive20/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ mapping resource=activitystream.hbm.xml/ mapping resource=instance.hbm.xml/ But when XWiki starts it fails with an error: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'xwiki'@'localhost' to database 'xwiki' Is it still possible to specify database name different than xwiki? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Changes-in-the-database-configuration-between-4-2-and-5-2-tp7587730.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] Changes in the database configuration between 4.2 and 5.2
Creating DB with name 'xwiki' and modifying hibernate.cfg.xml accordingly works, but that's a workaround. Still want to give custom names to XWiki database (to differentiate versions on upgrades) -- View this message in context: http://xwiki.475771.n2.nabble.com/Changes-in-the-database-configuration-between-4-2-and-5-2-tp7587730p7587731.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] Do you Like XWiki?
Then it's a good idea to let people know about it http://alternativeto.net/software/confluence/ :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Do-you-Like-XWiki-tp7583392.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] Sanity check fix hints
Hello XWiki developers, As a reply to my own question #5 in corresponding thread [1] I found this Admin Tools [2] set of scripts. I have run Admin.SanityCheck and found that I have 10 records of DOCUMENTS: checking for data with bad characters in document name 1 record of ATTACHMENTS: checking for attachment where the document does not exist 6 records of ATTACHMENTS: checking for attachment with no attachment archive 3 records of ATTACHMENTS: select checking for attachment with no attachment content 137 records of DOCUMENT - Translations: Checking original documents that are marked translated 137 records of DOCUMENT - Translations: Checking orphaned translated document (without an original document) 377 records of DOCUMENT - Check that Parent fields still exist This seems like not that good statistics and I would gladly fix it, but I don't know how. More over it's not always clear what the issue is and what are its consequences (like in e.g. Document Translations' cases). Is it possible to extend the script with mentioned above info? You can reply to this thread explaining items one by one and providing instructions on how to fix each issue and then just gather the info into the script. [1] http://xwiki.475771.n2.nabble.com/Possible-upgrade-3-5-1-to-4-0-issue-tp7528896p7580357.html [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Admin+Tools+Application -- View this message in context: http://xwiki.475771.n2.nabble.com/Sanity-check-fix-hints-tp7580383.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] Possible upgrade 3.5.1 to 4.0 issue
Hi again, I have tried upgrading with the most recent release (4.1.3) and seem to have a successful upgrade. However there are issues in the logs (full stack attached [1]), which make me think there may be issues with the installation in the end. So my DB name is xwiki_utf8_innodb_413. 1. 2012-07-14 23:56:15,392 [http://localhost/xwiki/bin/view/Main/WebHome] WARN o.i.c.InfinispanConfiguration - ISPN000139: Infinispan configuration schema could not be resolved locally nor fetched from URL. Local path=null, schema path=schema/infinispan-config-5.1.xsd, schema URL=http://www.infinispan.org/schemas/infinispan-config-5.1.xsd I believe schema will be created automatically and this error can be ignored, correct? 2. 2012-07-14 23:56:18,251 [http://localhost/xwiki/bin/view/Main/WebHome] WARN h.R40001XWIKI7540DataMigration - Skipping database [xwiki] because it uses a custom annotation class. Comments and anotations will remain separated This one is really weird because my db name is xwiki_utf8_innodb_413 (and as you'll see in the logs the rest of upgrade items refer to name xwiki_utf8_innodb_413. More over I'd really like to use merged comments and annotations feature. What should I fix in order to merge comments and annotations? 3. Then there's a bunch of info messages following next pattern 2012-07-14 23:56:35,897 [http://localhost/xwiki/bin/view/Main/WebHome] INFO c.x.x.s.m.liquibase- Change set liquibase.xml::R4-000::sdumitriu failed, this error could be safely ignored until something worse happens. Error: Error executing SQL ALTER TABLE `$table_name$` DROP FOREIGN KEY `$FOREING_KEY_ID$`: Error on rename of './xwiki_utf8_innodb_413/$table_name$' to './xwiki_utf8_innodb_413/#sql2-dfb-c08f' (errno: 152) Where $table_name$ = {xwikiintegers, xwikistrings, xwikifloats, xwikidoubles, xwikilistitems, xwikidates, xwikilargestrings, xwikilists, xwikilongs, feeds_feedentrytags, feeds_aggregatorurlgroups} Even though the message says safely ignore, I tend not to trust it when I see words failed and something worse might happen, because in IT it does happen. So again how can I fix this message? 4. And finally there's a bunch of deprecated methods used in the end: method [com.xpn.xwiki.api.Util.parseInt] in unknown namespace@68,26 getter [com.xpn.xwiki.api.Util.getArrayList] in unknown namespace@788,35 method [com.xpn.xwiki.api.Util.parseInt] in unknown namespace@68,26 getter [com.xpn.xwiki.api.Util.getArrayList] in unknown namespace@788,35 Can they be fixed? 5. Also one more question: after this serious migration, is there a way to find out that my database and application has a valid state? (I mean some other way than just start using and find an error after 2-3 weeks of adding pages, to find out that it wont be able to either downgrade or fix the issue) [1] Full upgrade logs attached: http://xwiki.475771.n2.nabble.com/file/n7580357/db-migration.log db-migration.log -- View this message in context: http://xwiki.475771.n2.nabble.com/Possible-upgrade-3-5-1-to-4-0-issue-tp7528896p7580357.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] Something wrong with extension repository
Hello, I'm trying to install extensions from XWiki repository and receive error on requesting this page http://extensions.xwiki.org/xwiki/rest/repository/search?start=0number=20q=Excel See the screen-shot: http://xwiki.475771.n2.nabble.com/file/n7580356/Status_page_-_Mozilla_Firefox_2012-07-15_07-47-46.png So it looks like the repository is down. Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Something-wrong-with-extension-repository-tp7580356.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] Possible upgrade 3.5.1 to 4.0 issue
Hello, I have tried to upgrade to 4.0 and receive following error in the logs 2012-05-05 01:36:59,911 [http://localhost/xwiki/bin/view/XWiki/WatchListRss?xpage=plainoutputSyntax=plain] ERROR c.x.x.s.m.liquibase - Change Set liquibase.xml::R4-000::sdumitriu failed. Error: Error executing SQL ALTER TABLE `xwikifloats` DROP FOREIGN KEY `FKFB291FBF1DFF14A1`: Error on rename of './xwiki_utf8_innodb/xwikifloats' to './xwiki_utf8_innodb/#sql2-dfb-6f91' (errno: 152) liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `xwikifloats` DROP FOREIGN KEY `FKFB291FBF1DFF14A1`: Error on rename of './xwiki_utf8_innodb/xwikifloats' to './xwiki_utf8_innodb/#sql2-dfb-6f91' (errno: 152) Any ideas why this may happen? Database is mysql 5.0.71. PS: Interesting why Sergiu got mentioned in the logs :) Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Possible-upgrade-3-5-1-to-4-0-issue-tp7528896.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] State of the XWiki Community
Today got a link to this book http://www.aosabook.org/en/index.html Can't find chapter about XWiki ;) -- View this message in context: http://xwiki.475771.n2.nabble.com/State-of-the-XWiki-Community-tp5919692p7308429.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] how to use xwiki behind an authenticating http proxy?
Hello Patrice, If you're using Linux box you can also try using the workaround that works (yet unstable) for me I had similar issues so what has helped me is one of the following Option 1. Edit /etc/environment paste following lines ftp_proxy=http://myUser:MyPassword@myProxyHost:3128/ http_proxy=http://myUser:MyPassword@myProxyHost:3128/ Option 2. Run following commands export http_proxy=http://myUser:MyPassword@myProxyHost:3128/ export ftp_proxy=http://myUser:MyPassword@myProxyHost:3128/ (It's better to restart the container just in case after the changes) Don't remember now which one has actually helped, but anyways good that you've helped to identify a bug. Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/how-to-use-xwiki-behind-an-authenticating-http-proxy-tp7291129p7291644.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] State of the XWiki Community
Hi, Today I have noticed that XWiki made it into a commercial solution * http://www.cloudbees.com/platform-ecosystem.cb * http://www.marketwatch.com/story/cloudbees-adds-mongohq-papertrail-and-xwiki-to-integrated-partner-ecosystem-of-hosted-cloud-services-for-java-developers-2011-10-24 My congratulations! :) One more observation that XWiki is primarily presented in European counties on 2012.01.21 following request http://www.google.com/trends/?q=XWikictab=0geo=alldate=allsort=0 produced 1. Algeria 2. France 3. Morocco 4. Czech Republic 5. Switzerland 6. Belgium 7. Romania 8. Singapore 9. Austria 10. India I think it's essential to get other markets to increase the community (north America comes first to mind, however taking into consideration number of population - China, India and fast growing Latin America world that might depend) Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/State-of-the-XWiki-Community-tp5919692p7209612.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] How can I identify the reason of not being able to search through extension repository with Extension Manager?
Hello, How can I identify the reason of not being able to search through extension repository with Extension Manager? The symptoms are: no extensions returned on the extension search page, and following error is displayed in the logs 2012-01-03 12:50:15,672 [http://192.168.0.3/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=XWiki.AddExtensions] ERROR aultExtensionRepositoryManager - Failed to search on repository [org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository@17d76c] with pattern=[polls], offset=[0] and nb=[20]. Ignore and got to next repository. XWiki 3.3 Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/How-can-I-identify-the-reason-of-not-being-able-to-search-through-extension-repository-with-Extensio-tp7146394p7146394.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] Extending XWiki collaboration toolset
Found this diagramming tool http://pencil.evolus.vn/en-US/Home.aspx Keywords: OpenSource, Diagramming :) Might be worth checking for integration into XWiki, probably as an extension app because the source code is under GPLv2 (which makes me once more observe that modular structure of XWiki allows great flexibility - even with licenses). -- View this message in context: http://xwiki.475771.n2.nabble.com/Extending-XWiki-collaboration-toolset-tp6900649p7139087.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] Polls Application installation with Extension Manager issue
Hell Thomas, I guess this issue with template macro ID is the same as the one from this post http://xwiki.475771.n2.nabble.com/Incomplete-macro-definition-XWiki-WikiMacroTemplate-macro-id-is-empty-td6219611.html Is there any way I can fix it? (obviously provide an ID but which id and where to set it) Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Polls-Application-installation-with-Extension-Manager-issue-tp7130006p7132420.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] Polls Application installation with Extension Manager issue
I've removed the page and error is gone. Just in case I've attached that page. http://xwiki.475771.n2.nabble.com/file/n7133513/XWiki.WikiMacroTemplate.xar XWiki.WikiMacroTemplate.xar Thanks for your help, I'll update the bug -- View this message in context: http://xwiki.475771.n2.nabble.com/Polls-Application-installation-with-Extension-Manager-issue-tp7130006p7133513.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] Polls Application installation with Extension Manager issue
Thanks Guillaume, any issue you met was definitely a bug and should be reported. Following issues created [ http://jira.xwiki.org/browse/XCONTRIB-142 ] Ordering does not work for Ranking survey type under FF5-FF8 and Chrome [ http://jira.xwiki.org/browse/XCONTRIB-143 ] Polls Application installation with Extension Manager issue [ http://jira.xwiki.org/browse/XCONTRIB-144 ] Scroll bars are not rendered correctly in Weighted multiple choice survey type under FF5-FF8 and Chrome About the issue with registering translation keys, you should definitely log it and I'll +1 it afterwards :-) It might already be in JIRA though. Did not find anything like that in EM so created a new one [ http://jira.xwiki.org/browse/XWIKI-7329 ] Introduce notion of extension l10n bundle and update Extension Manager to respect it during installation Thanks for trying out those new features. We'd love to get more feedback about them - did you like it, what were the issues you met and so on. Thus far I'm trying to use application to vote for project TShirts design :) and it's covered by following use-cases (difficult yet possible to implement even with current set of features) * Voting consists of 2 parts: voting for the back and for the front design which brings the necessity of having 2 questions within 1 survey. Currently will workaround it by having 2 different surveys. * Need to have images displayed as options (Rating mode). Currently achieved by Wiki markup within options text + attaching images to survey itself. However editing is far from convenient (especially when you edit one option's text and then try to remove another option) If not the bugs listed above everything would have been fairly nice. But I hope we will be able to vote with IE9 which seems working. Anyways, thanks for this extension! Merry Christmas and a Happy (approaching) New Year! Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Polls-Application-installation-with-Extension-Manager-issue-tp7130006p7130476.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] Polls Application installation with Extension Manager issue
Hello, Recently I've tried installing Polls Application ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Polls+Application ) via Extension Manager and received error listed in the file attached: http://xwiki.475771.n2.nabble.com/file/n7130006/InstallPollsExtensionError.txt InstallPollsExtensionError.txt . The odd thing is the success message in the end of the file (I have added info and error macro markup to show how it looked like on the screen). Polls Application pages got created and I was able to create polls. With bugs but they worked. Questions: * Is the error during installation of the application important one or should be ignored? * I had to manually configure the l18n bundle after the installation - should I log an enhancement for EM to auto-configure it during installation? * Should I log any bugs I observe in Polls Application (and where to)? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Polls-Application-installation-with-Extension-Manager-issue-tp7130006p7130006.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] State of the XWiki Community
One more Idea to add here: * There definitely should be a demo movie recorded depicting the most appealing things in XWiki. A promo video. Rationale: I've been looking for an Agile management tool, and have come across this one http://www.clockingit.com/ it has great features, but the presentation is so awful that you will not really see them until you install the system. Which many users will not do. A user must fall in love (or lust at least) with suggested tool from the first site, enough to take the chance of installing it. For reference of what I mean under promo video, I'll name Google as one of the usual best promo-video makers - and its tools (gDocs, Circles, Wave and etc) -- View this message in context: http://xwiki.475771.n2.nabble.com/State-of-the-XWiki-Community-tp5919692p7095035.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] State of the XWiki Community
Ok, sorry once more for animating the old thread. * http://www.joelonsoftware.com/items/2011/09/15.html = one way to advertise = get more users - the more users you get, the more developers there will be required to maintain installations - the greater chance of gaining new committers. -- View this message in context: http://xwiki.475771.n2.nabble.com/State-of-the-XWiki-Community-tp5919692p7045990.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] [Announcement] XWiki Enterprise and XWiki Enterprise Manager 3.3 Milestone 2 Released
We could tell people to create such descriptors for their applications if they're not recognized in the EM UI (as a transitional and migration solution) or we could provide these descriptors in updated versions of these apps, or both. All this said, I don't think we need to support any of this: * the user knows what apps he has installed on his wiki * thus in the EM UI he can pick a version greater than the one he has installed locally and install it over the existing pages. A new revision of the pages will be created. The only issue is if the user has modified application pages and the way to solve it is by manually merging the changes after having installed the new version. Indeed automagic non-EM-installed plug-in discovery might indeed be quite complex AI-like nice-to-have task not worth the effort. However following use case must be taken into account 1. Install XWiki without extension manager 2. Install several extensions (both *.jar and *.xar based) 3. Migrate to XWiki powered with extension manager 4. Try re-installing/updating already installed extensions 5*. The use case might be made more complex by dealing with different extensions versions (e.g. originally installed extension is far older than the current one available in EM, page deletions/renames in xars and updated dependency versions in jars should be taken into account) If there are conflicts expected with this use case - it would be nice to at least provide the migration guidelines - because they eventually those advices will occur here, on users[at]xwiki.org -- View this message in context: http://xwiki.475771.n2.nabble.com/Announcement-XWiki-Enterprise-and-XWiki-Enterprise-Manager-3-3-Milestone-2-Released-tp7027420p7028145.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] Upgrade to 3.2 minor issues
And yes, that solved original problem -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-tp6883965p6967192.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] Upgrade to 3.2 minor issues
Hi Sergiu, I have updated my database engine to 'InnoDB'. I just took the query from previously attached file and by using Notepad++ and text replace created a set of alters to update engine. I ran those alters one-by-one. With a success :) == Some helpful queries and steps == 1. Backup current wiki mysqldump --user=xwiki --password=xwiki --default-character-set=utf8 xwiki_utf8 dump.sql 2. Create new database CREATE DATABASE db_name xwiki_utf8_innodb CHARACTER SET=utf8 COLLATE=utf8_general_ci 3. Import data from backup into new database mysql --user=xwiki --password=xwiki --default-character-set=utf8 xwiki_utf8_innodb dump.sql 4. Log-in to mysql mysql --user=xwiki --password=xwiki 5. Switch to newly created database use xwiki_utf8_innodb; 6. Get list of tables requiring update SELECT TABLE_SCHEMA, TABLE_NAME, ENGINE, COLLATION_NAME, CHARACTER_SET_NAME FROM information_schema.`TABLES` T, information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` CCSA WHERE CCSA.collation_name = T.table_collation AND T.table_schema = xwiki_utf8_innodb; 7. Capture the output from previous and replace '| xwiki_utf8_innodb |' - 'ALTER TABLE' '| MyISAM | utf8_general_ci | utf8 |' - 'ENGINE=InnoDB' 8. Run list of created alters from previous step one-by-one 9. Verify that all engines are updated. 10. Update your hibernate.cfg.xml to use new database 11. Restart Tomcat -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-tp6883965p6964005.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] Activity performance is slow
Ludovic, thanks for the handy tips, but ... I need some more :) I have installed the Admin Tool and it mentioned that indexes were not created. So before creating indexes I have decided to upgrade table engine from MyIsam to InnoDB as Sergiu has suggested in this post http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-td6883965.html After the change the overall time to load main XWiki page as administrator has gone from 5 to 25 seconds. My wiki currently is 1100 documents in count and 400M in size. Quick questions: * is caching enabled by default? * is caching limiting done simply by document count or by allocated memory (as most recent EHCache allows)? After the upgrade, I receive following error on XWiki Database Indexes Check page * Failed to check indexes for wiki xwiki: Table 'xwiki.xwikiattrecyclebin' doesn't exist I think this is related to fact that my database name is xwiki_utf8_innodb and not xwiki, because I receive similar results on MySQL Encoding Check page * Failed to check xwikidoc encoding for wiki xwiki: Unknown database 'xwiki' * Failed to check xwikidoc encoding or collation for wiki xwiki: Table 'xwiki.xwikidoc' doesn't exist but I don't know where to change that parameter to proper value - velocity scripts are overcrowded with 'xwiki' strings. -- View this message in context: http://xwiki.475771.n2.nabble.com/Activity-performance-is-slow-tp6961805p6964056.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] Extending XWiki collaboration toolset
Hello, Since XWiki is positioned as a collaboration tool, where collaboration is primarily on the documents, sooner or later there will emerge a need to provide functionality similar to what Google Docs has: simultaneous editing of documents, supporting text documents, spreadsheets (with ability to generate charts, calculating subtotals), presentations, embedding spreadsheet tables and charts into documents etc. - at least several times I found myself in a need to do manual table-based calculations and to simultaneously work on the document. One more possible improvement is support rich brainstorming sessions like in e.g. http://incubator.apache.org/projects/wave.html (integration?) So I was wondering, are there any plans for those directions? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Extending-XWiki-collaboration-toolset-tp6900649p6900649.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] Upgrade to 3.2 minor issues
Hello, Thanks a lot for 3.2 Release! From the good things I've noticed, the full text search indeed returns more relevant result - especially the look-up in search. However when doing an upgrade (from 3.1) I saw a weird exception 2011-10-12 07:57:54,556 [http://localhost/xwiki/bin/view/XWiki/WatchListRss?xpage=plainoutputSyntax=plain] ERROR .x.x.s.XWikiHibernateBaseStore - Failed updating schema while executing query [alter table activitystream_events_param s add index FKB94E2E7C763934E1 (eventId), add constraint FKB94E2E7C763934E1 foreign key (eventId) references activitystream_events (ase_eventid)] java.sql.SQLException: Can't create table './xwiki_utf8/#sql-dd6_11c9e.frm' (errno: 150) I did not notice anything broken (well, except that work-spaces menu item did not show-up, but I guess some configuration must be done to enable it). Is it ok just to ignore this exception? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-tp6883965p6883965.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] Upgrade to 3.2 minor issues
Please report anything you still don't like with the search results. Adjusting the scoring mechanism isn't something that can be precisely done without real word experiments, so real feedback is much appreciated (and needed). I'll keep that in mind :) Can you provide the full stack trace for this + mysql version? Stack trace: http://xwiki.475771.n2.nabble.com/file/n6884099/CannotCreateTableStackTrace.txt CannotCreateTableStackTrace.txt MySQL version: 5.0.77 -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-tp6883965p6884099.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] Upgrade to 3.2 minor issues
Could you upgrade the version of MySQL used? I can try to but that might take me couple of days since I'm not a MySQL guru Is the activitystream_events table correctly set up with utf8 encoding? Are the other tables using InnoDB or MyISAM? I have attached the file http://xwiki.475771.n2.nabble.com/file/n6884313/XwikiDatabaseCollationsAndEngines.txt XwikiDatabaseCollationsAndEngines.txt with engines/collations/encodings information. All of tables are on UTF8 but it turns out that all tables of my XWiki use 'MyISAM' engine except for 'activitystream_events_params' which uses 'InnoDB'. I have a strong feeling that's not how it should have been. Can this issue be also related to changing the hibernate dialect from 'org.hibernate.dialect.MySQLDialect' to 'org.hibernate.dialect.MySQL5InnoDBDialect'? -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-to-3-2-minor-issues-tp6883965p6884313.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] Is Rename Space code snippet still up-to-date?
So I've created a test-case and was able to reproduce the issue with another page. Logged a bug http://jira.xwiki.org/browse/XE-1025 -- View this message in context: http://xwiki.475771.n2.nabble.com/Is-Rename-Space-code-snippet-still-up-to-date-tp6861414p6865474.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] Is Rename Space code snippet still up-to-date?
Hello, I was trying to rename the space on my XWiki using http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space . The process has stuck after moving 10 pages of 53 to new space, no space home page was created at the time. The error log is in the attached file http://xwiki.475771.n2.nabble.com/file/n6861414/RenameFailure.txt RenameFailure.txt Is the script still valid for XWiki 3.1? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Is-Rename-Space-code-snippet-still-up-to-date-tp6861414p6861414.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] Is Rename Space code snippet still up-to-date?
Ok, I guess I found some kind of a bug. While working on restoring my Wiki manually (restore deleted documents in old space, revise links, delete pages in new space) I ended up being unable to delete a page with attachments. The root error is com.mysql.jdbc.PacketTooBigException: Packet for query is too large (37285720 33554432) (see attached log for full http://xwiki.475771.n2.nabble.com/file/n6862011/DeletePageFailure.txt DeletePageFailure.txt stack trace) and it occurs when we try to store the deleted page in [com.xpn.xwiki.doc.XWikiDeletedDocument] I guess the problem is that if e.g. max_allowed_packet 30MB then we can upload 10 files of 30MB in size. But when we later delete the page and it gets stored into recycle bin, max allowed packet is still 30MB while the page is treated as one with all its attachments thus weighing 300MB causing this error. Is my assumption correct? -- View this message in context: http://xwiki.475771.n2.nabble.com/Is-Rename-Space-code-snippet-still-up-to-date-tp6861414p6862011.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] Subscribe to RSS feed inpassword-protected wiki
Hi, Is there a way to subscribe to RSS feed in a totally protected XWiki (only log-in page described to anonymous)? E.g. with MS Outlook? I used common feed list approach described here http://blog.jonudell.net/2007/01/23/a-screencast-about-common-feeds-in-vista/ I'm able to see items when the feed is imported to outlook the first time, but then I do not get the updates. And here's http://blog.jonudell.net/2007/03/27/authenticated-rss-feeds/ where I found people discussing subscription to a password protected feed. Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Subscribe-to-RSS-feed-inpassword-protected-wiki-tp6471115p6471115.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] XWiki.war + JBoss AS6 + MySQL
To check the class loaders andyp wrote: can't find the tool you mention. 1) Go to JBoss JMX console (usually it's available at http://localhost:8080/jmx-console/ ) 2) In the 'jboss.classloader' locate string similar to 'deployment/xwiki.war', 3) Click on that link and you will be forwarded to XWiki MBean Inspector 4) use findClassLoaderForClass operation with 'org.slf4j.LoggerFactory' parameter to check which class loader it comes from Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p6368757.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] XWiki.war + JBoss AS6 + MySQL
I guess I was confusing in my statements. What I meant (or meant to mean) is that the issue might only be fixed by completely isolating the app from the JBoss class-path (or class loader), which we failed to do (warning that we still receive proves that). That is, parent class loader class-path is still visible from our application, which makes slf4j complain about multiple bindings. However, in our case we have minimized the slf4j errors to the following set 2011-05-13 18:46:42,072 ERROR [STDERR] (RMI TCP Connection(4)-127.0.0.1) SLF4J: Class path contains multiple SLF4J bindings. 2011-05-13 18:46:42,073 ERROR [STDERR] (RMI TCP Connection(4)-127.0.0.1) SLF4J: Found binding in [vfszip:/Path-to-lib-folder-inside-our-app-ear-file/lib/slf4j-log4j12-1.6.1.jar/org/slf4j/impl/StaticLoggerBinder.class] 2011-05-13 18:46:42,073 ERROR [STDERR] (RMI TCP Connection(4)-127.0.0.1) SLF4J: Found binding in [vfszip:/JBoss5.1Home/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class] 2011-05-13 18:46:42,073 ERROR [STDERR] (RMI TCP Connection(4)-127.0.0.1) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. and luckily it does work for us. In JBoss 7 they are going to change the class loading model and class loading configuration options, making it possible to overcome this issue (at least that's what I've heard somewhere, need a proof link). We're using JBoss 5.1 and the following code for META-INF/jboss-app.xml file of our application's ear file jboss-app loader-repository com.company:loader=MyAppName.ear loader-repository-config java2ParentDelegation=false /loader-repository-config /loader-repository /jboss-app I don't know whether things have changed for JBoss 6 or are different for war files, so isolation config you're using might turn out to be correct as well. I wish I could help you more. If you get lucky solving this issue, please let me know :) Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p6369009.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] XWiki.war + JBoss AS6 + MySQL
Hi Andy, Usually class cast exceptions with JBoss indicate that you have several jars of the same library in your class path. The class looks proper but being loaded with different class loaders, it's actually different. So what you should do now is to carefully check the JBoss class path to see where do the org.apache.xerces.jaxp.DocumentBuilderFactoryImpl and javax.xml.parsers.DocumentBuilderFactory come from. I believe there's a tool (somewhere in JBoss console) that lets you see where the classes in the classpath were loaded from. Regarding your question about slf4j - most likely you did the right thing :) http://xwiki.475771.n2.nabble.com/Proposal-Switch-from-Commons-Logging-Log4j-to-SLF4J-Logback-tp6343910p6352403.html Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p6356605.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] State of the XWiki Community
Sorry for animating this old thread, just wanted this to be in one place with the relevant rest. I've had an idea cross my mind today about promoting XWiki. It's hard to imagine more or less serious software project nowadays that could survive without: * Requirements tracking (Wiki) * Issue tracking [with agile tools] * Code Review * Continuous integration * Code metrics tracking * IDE integration (Eclipse, IntelliJ IDEA) In non free-ware world the ultimate ruler is Atlassian set of products. In the open source world the niche is still not taken. Yes, there are tools like IceScrum (which btw as well originates from France), XWiki, Jenkins (former Hudson), Review Board (yet it's not on Java), Sonar. There are even integration attempts e.g. Trac (wiki+bug tracking+code review) But all those tools are either written on different platforms (which is a real maintenance pain) or are not integrated as good as Atlassian set of tools is. If an Alliance of open-source projects is to emerge one day to cover the gap described above, it would better be XWiki, responsible for the wiki and page rendering part in the integration. So what XWiki development community could do in this regard, is to take the initiative of establishing this Alliance and leading it towards integration with XWiki. Current visible set of tasks is * Create list of available JAVA (!) open-source project covering different aspects of the integration (e.g. Sonar is best in code metrics, Jenkins - in continuous integration etc.) * Contact the development teams of the above projects and negotiate the initiative * Analyze code-bases for integration opportunities Hope you'll find this interesting. Regards, Roman-- View this message in context: http://xwiki.475771.n2.nabble.com/State-of-the-XWiki-Community-tp5919692p6316760.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] Phantom documents
Hello, I've recently noticed that one of the documents on XWiki is in the orphaned list while clicking on it redirects me to the document that obviously has parent (path in the above section is present). Going to the database I found out on einteresting thing mysql select xwd_id, xwd_name, xwd_fullname, xwd_parent, xwd_version, xwd_translation from xwikidoc where xwd_name like 'InitialRequirements'; ++-+--++-+-+ | xwd_id | xwd_name| xwd_fullname | xwd_parent | xwd_version | xwd_translation | ++-+--++-+-+ | 43295369 | InitialRequirements | MyHappySpace.InitialRequirements | | 5.1 | 1 | | -536599142 | InitialRequirements | MyHappySpace.InitialRequirements | xwiki:MyHappySpace.UserStories | 25.2| 1 | ++-+--++-+-+ 2 rows in set (0.00 sec) As I understand it's not quite normal to have document wit negative ID. I remember such issue happening before, the solution to it was to back-up the document content, delete the document. This would make the document behind (or phantom document) visible, delete the phantom document, and then create the document once more, restoring it from the backup. If you'd ask me for circumstances under which it occurred, I recollect only in general - we were simultaneously working on the document trying to create it and import its content from MSWord file. Is this a known issue? Any circumstances under which it might occur? I've experienced it at least on version 2.4 and 2.6. Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Phantom-documents-tp6221973p6221973.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] Phantom documents
Thanks for the hint, Caleb Indeed they have different xwd_language values mysql select xwd_id, xwd_language from xwikidoc where xwd_name like 'InitialRequirements'; ++--+ | xwd_id | xwd_language | ++--+ | 43295369 | en | | -536599142 | | ++--+ 2 rows in set (0.00 sec) one is en and one is empty. Multilingual option is turned off, I guess that's why XWiki cannot recognize these documents as a bundle and allow editing each document separately. -- View this message in context: http://xwiki.475771.n2.nabble.com/Phantom-documents-tp6221973p640.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] Phantom documents
One addition to that - I have checked and only 2 documents in our database have 'en' language. The rest of them have empty language value. I have checked the second document with 'en' set - and it too has a phantom. -- View this message in context: http://xwiki.475771.n2.nabble.com/Phantom-documents-tp6221973p668.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] Incomplete macro definition XWiki.WikiMacroTemplate macro id is empty
Hello, I'm trying to get rid of errors in my xwiki.log and this post is about XWiki complaining that XWiki.WikiMacroTemplate has empty ID. Environment: XWiki iteratively upgraded 2.2 - 2.3 - 2.4 - 2.6 - 3.0RC1 (there might have been minor version upgrade in-between) The question is: How should I fix this issue? (remove XWiki.WikiMacroTemplate? simply add random ID to the document?) And the actual exception 2011-03-29 17:48:05,389 [http://host/xwiki/bin/import/XWiki/XWikiPreferences?editor=globaladminsection=Import] [http://host/xwiki/bin/import/XWiki/XWikiPreferences?editor=globaladminsection=Import] ERROR ro.DefaultWikiMacroInitializer - Incomplete macro definition in [name = [WikiMacroTemplate], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type =[WIKI], parent = [null, macro id is empty org.xwiki.rendering.macro.wikibridge.WikiMacroException: Incomplete macro definition in [name = [WikiMacroTemplate], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null, macro id is empty at com.xpn.xwiki.internal.macro.DefaultWikiMacroFactory.buildMacro(DefaultWikiMacroFactory.java:133) at com.xpn.xwiki.internal.macro.DefaultWikiMacroFactory.createWikiMacro(DefaultWikiMacroFactory.java:99) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerMacro(DefaultWikiMacroInitializer.java:224) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerMacrosForWiki(DefaultWikiMacroInitializer.java:179) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerExistingWikiMacros(DefaultWikiMacroInitializer.java:148) at com.xpn.xwiki.internal.macro.DefaultWikiMacroInitializer.registerExistingWikiMacros(DefaultWikiMacroInitializer.java:105) at com.xpn.xwiki.internal.macro.RegisterMacrosOnImportListener.onEvent(RegisterMacrosOnImportListener.java:106) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:278) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:247) at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:606) at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:318) at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:140) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
[xwiki-users] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28, 33
Hello, I'm trying to get rid of errors in my xwiki.log and this post is about XWiki complaining about usage of deprecated method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33. Environment: XWiki iteratively upgraded 2.2 - 2.3 - 2.4 - 2.6 - 3.0RC1 (there might have been minor version upgrades in-between) The question is: How should I fix this issue? (ignore it? update something? else?) And the actual warning from the logs 2011-03-29 15:51:11,969 [http://host/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http://host/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33 Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Deprecated-usage-of-method-com-xpn-xwiki-api-XWiki-parseMessage-in-templates-login-vm-28-33-tp6219660p6219660.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] Tooltip macro not working after upgrade to 3.0RC1
Hello, Environment: XWiki iteratively upgraded 2.2 - 2.3 - 2.4 - 2.6 - 3.0RC1 (there might have been minor version upgrade in-between) After having upgraded to XWiki 3.0RC1, Tooltip macro ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Tooltip+Macro ) stopped working throwing the error shown below. I've checked several other macros - they still work. Should I log a bug in Jira for the macro or this can be fixed somehow? Failed to execute the [velocity] macro org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [(%class=tooltipHint #if($!xcontext.macro.params.display-icon == false) withoutIcon#end $!hintStyles%)#if($!xcontext.macro.params.id != )(%class=tooltipLabelId hidden%)$!xcontext.macro.params.id#else{{html clean=false}}$!xcontext.macro.params.label{{/html}}#end(%class=tooltip hidden $!tooltipStyles %)$xcontext.macro.content(%class=tooltipEvent hidden%)$tooltipEvent] at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:47) at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:303) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:199) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:57) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129) at org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:213) at org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:57) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72) at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7605) at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7554) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:836) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:785) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:879) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:556) at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:188) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:153) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1890) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1828) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:848) at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at
[xwiki-users] LDAP Plugin documentation update
Hello, I've updated plugin description page for LDAP plugin http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Tools#HLDAPconfigurationsection with information I recently needed (LDAP configuration properties description table). Could someone, please verify if it's feasible. Thanks. Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-Plugin-documentation-update-tp6158052p6158052.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] Issues with search on XWiki site
Hi, Today I have noticed several odds on XWiki site trying to find a macro. The use cases are 1) Search for code macro term in the Search extension bar on http://extensions.xwiki.org/xwiki/bin/view/Main/ page. The response returns empty results, however the macro does exist: http://extensions.xwiki.org/xwiki/bin/view/Extension/Code+Macro 2) The tag cloud behaves really weird. Having clicked on the code then watch then code again and so on. Form the user perspective I cannot understand what's going on. 3) I have noticed The environment prevents the table from loading data error (see attached screenshot http://n2.nabble.com/file/t229008/Extensions-Main.WebHome-XWiki-Mozilla-Firefox-4.png Extensions-Main.WebHome-XWiki-Mozilla-Firefox-4.png ) but were not able to reproduce it. 4) Staying on the http://extensions.xwiki.org/xwiki/bin/view/Main/ page type code macro into global full-text search bar (in the right upper corner) and you will notice that the code macro page is not in the results. I'm working in FF4b12 Hope this helps, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Issues-with-search-on-XWiki-site-tp6074187p6074187.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] State of the XWiki Community
Hi Sergiu, Thanks for the interesting story :) * How can we help speed up the growth of the community? Continue doing this brilliant work you do. And ... * How can we attract more developers outside XWiki SAS? ... here's a list of some ideas (might contain crazy ones) * First thing is to bring more users (see http://www.google.com/trends?q=xwiki%2C+foswiki%2C+twiki%2C+confluence ) among which new developers shall emerge * At many points XWiki is more powerful than Confluence, outline them * You have to populate the knowledge about XWiki to the Community * If you want to attract developers, advertize among developers * Advertize with features developers and development teams like * Probably advertize XWiki (sourceforge, apache, codehaus) through ads * Try to convince Apache (or at least projects within Apache you have close relations with), Codehaus etc. to host it's numerous docs on XWiki * XWiki functionality as a document storage is more than sufficient. Build more applications on top of it (e.g. agile tools, project management tools) to attract more users. (another e.g. we try to use XWiki for storing all the knowledge about our project, including meetings, user stories etc. It would be nice to bring in some agile features like meeting minutes, product backlog, integration with Jira) * Ability to build applications on top of XWiki is its main advantage you have to extend and advertise to a wide community. * If I owned a software development company I'd send my developers/managers/architects for internship on XWiki for 3-6 iteration cycles to learn all that cool things you do. Maybe I'm not the only one? Some concerns * Main XWiki competitor is Confluence * Unfortunately for XWiki, when one buys Jira - he's likely to buy Confluence * Now is the moment, of truth, XWiki either becomes popular, or vanishes in the fight with Confluence (which might start or already started receiving features from XWiki) * I really hope that XWiki.org will survive not to be either bought by or turn into a commercial company (like Compass and EHCache were somewhere in the past). It so demotivating for the open-source committer that someone has used his hard and volunteer work to get richer. Some major points from the story below * SearchEngineOptimization matters (http://www.google.com.ua/search?q=wiki+engine) * Project Homepage UI matters * Project UI matters (and currently its good, keep an eye on it ;) ) * Ease of installation matters * Ease of configuration / Hot configuration (ability to change smth without restarting the server) matters. And currently its the way you go (plugin management module) * Modularity / Extensibility (with numerous plug-ins) matter * Community (those who are able to support you) matter * Documentation / Tutorials matter (thanks for the numerous docs on how to setup and tune XWiki) * How easy you input your information matters (WYSIWYG + Document import rock!) * Healthy development process matters * Being heard by the community is nice * Frequent feature-fruitful releases are nice THE STORY BELOW Now I will tell you my story of getting addicted to XWiki. We required a wiki for our project and from all of the available choices we initially took FOS Wiki. However having an experience with Attassian Confluence, I neither liked the UI nor syntax. Being a Java developer (Tomcat/JBoss) I as well hated complex installation of that wiki itself as well as plug-ins for it. The structure of that wiki was hard to understand. Funny to mention but most of all I hated how it formats the Java code :) Soon after we started using FOS Wiki, having that heavy feeling of something isn't right I did a quick final random poke for other open-source frameworks (preferably Java, where I could develop the feature I miss or patch the bug I find). I must say that XWiki was far not the first one I found but ... I was conquered with sweet-as-a-candy design of XWiki site (Toucan Skin at that moment). So I quickly downloaded the installer, set it up on my local machine and started getting more and more astonished with the nice features XWiki provided. Just to name few * It had more logical (or at least more obvious) organization of documents * Eye-pleasing UI * Easy installation * A ton of plugins and extension * All was configurable and in many cases even from UI without the need to restart the server Hell, I was even capable to hack (patch) the code colorer library to use styles I wanted (later was added as config parameter)! * The syntax 2.0 was nice (again, thanks for the recent emoticons feature :) ) and the code from WYSIWYG editor came out clean and shining. * ... and logical addition is the Word documents import (no more download/edit/reupload attachments!!!) That was EXACTLY what I was looking for! And then I've learned programming abilities of XWiki which made me totally convinced that it's the most advanced open source wiki tool available.
Re: [xwiki-users] [l10n] issue posting translation to XWiki site
I believe that this property has wrong english text http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_330701080_plugin-tag-editcomment-added_uk And one more thing, should http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_-1208697545_hrtext_uk remain empty? -- View this message in context: http://xwiki.475771.n2.nabble.com/l10n-issue-posting-translation-to-XWiki-site-tp5163871p5180963.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] [l10n] issue posting translation to XWiki site
Understood. One more thing I wanted to know. Is there a way for me to 1. Download ONLY non-localized messages (empty ones) in the *.properties format 2. Translate part of them 3. Upload that translated part back into l10n application 4. Instantly see my changes as a list of to be reviewed items 5. If there were conflicts during upload (e.g. some uploaded translation message already existed) the review row is highlighted showing all available translation versions. (If not, sounds like a nice-to-have for l10n application) -- View this message in context: http://xwiki.475771.n2.nabble.com/l10n-issue-posting-translation-to-XWiki-site-tp5163871p5176319.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] IndexOutOfBoundsException in L10N application
Hello, I have IndexOutOfBoundsException visiting this page in L10N application: http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=reviewlanguage=uk Exception message attached in file [ http://xwiki.475771.n2.nabble.com/file/n5176383/IntexOutOfBoundsExceptionMessage.txt IntexOutOfBoundsExceptionMessage.txt ] Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/IndexOutOfBoundsException-in-L10N-application-tp5176383p5176383.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] [l10n] issue posting translation to XWiki site
Hello Thomas, I have a few question regarding l10n. There's a set of properties representing short-cuts: core.shortcuts.* E.g. http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_1342260095_core-shortcuts-view-class_uk Questions are: - how do I use those short-cuts on the UI? and - should those be translated at all? Thanks Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/l10n-issue-posting-translation-to-XWiki-site-tp5163871p5171693.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] [Vote][Proposal] Rights Management
+1 Looks very nice! Now it's really easy to see where each particular permission/denial comes from (feature I was missing in the beginning of my experience with XWiki) and manage it. I do have a question though. As I understood from the proposal description, by default rights table lists all groups available in the system. And if rights should be overridden for specific user, it's being added with add user lookup. Correct? The question is: was there an aim to allow displaying ALL of the rights that are applied to ALL users/groups at current moment. And in particular what if user is not assigned to any group, where do the rights come from? is this screen meant to display such information? Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Vote-Proposal-Rights-Management-tp5163401p5163855.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] [l10n] issue posting translation to XWiki site
Thanks for the hint, should have asked before doing something :) I can only hope that it would be more or less easy to integrate what's been translated thus far into existing bundle. Started learning l10n tool :) -- View this message in context: http://xwiki.475771.n2.nabble.com/l10n-issue-posting-translation-to-XWiki-site-tp5163871p5164741.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] Data too long for column 'XWV_UNIQUE_ID' error on save visit statictics
Hello, Recently I have enabled statistics module which works pretty nice. One thing though I have noticed in xwiki log file is the following exception occurring periodically 2010-04-28 23:35:34,679 [http://myhost/xwiki/bin/view/MySpace/] [Statistics storing daemon] ERROR xwiki.DocumentStatsStoreItem- Failed to save visit statictics object [class com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem XWiki.XWikiGuest 209.47.111.5Mozilla/4.0 (compatible; MSIE 8.0; Wind ows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3. 5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) 7WR28YZF6YHUMMIUZKZJ96HUOWDAFLSK] 2010-04-28 23:35:51,141 [http://myhost/xwiki/bin/view/MySpace/] [Statistics storing daemon] WARN util.JDBCExceptionReporter - SQL Err or: 0, SQLState: 22001 2010-04-28 23:35:51,141 [http://myhost/xwiki/bin/view/MySpace/] [Statistics storing daemon] ERROR util.JDBCExceptionReporter - Data tr uncation: Data too long for column 'XWV_UNIQUE_ID' at row 1 2010-04-28 23:35:51,141 [http://myhost/xwiki/bin/view/MySpace/] [Statistics storing daemon] ERROR .AbstractFlushingEventListener - Could n ot synchronize database state with session org.hibernate.exception.DataException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:855) at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:826) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:999) at com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem.storeInternal(VisitStatsStoreItem.java:110) at com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem.store(AbstractStatsStoreItem.java:99) at com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.register(XWikiStatsStoreService.java:167) at com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.runInternal(XWikiStatsStoreService.java:119) at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99) at java.lang.Thread.run(Thread.java:636) Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'XWV_UNIQUE_ID' at row 1 at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1669) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1085) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) ... 16 more Could someone tell if it's a serious issue and which type of error it identifies: configuration error or bug in statistics module? We are running XWiki Enterprise 2.2.4.28034 Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Data-too-long-for-column-XWV-UNIQUE-ID-error-on-save-visit-statictics-tp4980842p4980842.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] [XWiki Macro] Tabs
Hello Vincent! Thanks for noticing! I have updated the package and page description. There's a set of rendering issues related to white-spaces around directives. You might want to check them in-action on the home-page of the macro (Macro.TabsMacro), section Interesting layout bugs. Regards, Roman -- View this message in context: http://n2.nabble.com/XWiki-Macro-Tabs-tp4857504p4876179.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] [Code snippet] Full user name and link by log-in
Thanks for the info, updated version of the script looks like this {{velocity}} #macro(displayFullNameByLogin $login) #set($userDocName = XWiki.+$login) {{html}}$xwiki.getUserName($userDocName, true){{/html}} #end {{/velocity}} usage is the same (works as it meant to work: displays Full Name with URL to user's profile if user exists and login otherwise). -- View this message in context: http://n2.nabble.com/Code-snippet-Full-user-name-and-link-by-log-in-tp4838148p4841537.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] [Code snippet] Full user name and link by log-in
Sorry for spam, just can't resist sharing my first small victory in programming XWiki :) XWiki 2.0 Markup-based code-snippet for displaying user's full name with link to profile by log-in. {{velocity}} #macro(displayFullNameByLogin $login) #set($userDocName = XWiki.+$login) #set($userDoc = $xwiki.getDocument($userDocName)) #if (!$userDoc) $login (does not exist) #else #set($userObject = $userDoc.getObject(XWiki.XWikiUsers)) #if(!$userObject) User Sheet This stylesheet must be applied on a document containing a XWiki.XWikiUsers object. #else [[$xwiki.getUserName($userDoc.fullName, false)$userDoc.fullName]] #end #end #end {{/velocity}} Usage {{velocity}}#displayFullNameByLogin(rmuntyan){{/velocity}} Regards, Roman -- View this message in context: http://n2.nabble.com/Code-snippet-Full-user-name-and-link-by-log-in-tp4838148p4838148.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] I can't attach files to content
I receive almost the same error when trying to save the following text як думаєте чи є зміст розділяти Resolved на Resolved for Code Review i Resolved for QA? мається на увазі що після того як щось запрограмовано - воно обов’язково повинно бути віддане на Code Review і тільки після того на QA. Переваги: по-ідеї буде легше розрізняти що потребує Code Review і рівномірно розподіляти такі задачі на команду. Недоліки: додатковий формальний крок, по ідеї Code Review має робитися зразу - щоби не відтягувати віддачу в Trunk, тому на практиці це буде виглядати так: натисли кнопочку в жирі (це призводить до перекидання квитка на мене, як розподіляючого кому робити CR) і одразу підходите і питаєте, а хто би міг подивитися. З одного боку формальність - з іншого - нагадувалка яка дозволить запровадити обовязкове CR на рівні процесу. the error is Caused by: java.sql.BatchUpdateException: Incorrect string value: '\xD1\x8F\xD0\xBA \xD0...' for column 'XWR_PATCH' at row 1 at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1669) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1085) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246) ... 70 more Full stack trace attached in file http://n2.nabble.com/file/n4830873/ExceptionWhenSavingText-StackTrace.txt ExceptionWhenSavingText-StackTrace.txt -- View this message in context: http://n2.nabble.com/I-can-t-attach-files-to-content-tp4830758p4830873.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] Unable to restore page from orphaned list even though the parent is successfully set on update
Ok, I think I got down to the root of the issue with document parent not get updated. To achieve this I first gave up trying to find the reason and decided to create another page with different name and re-mapped all the dependencies from broken page to newly created one. Then I did back-up of my XWiki preparing to delete the broken page (btw that's when warnings about not being able to find the 3 images appeared in logs and that's when those 3 images disappeared again). Then I re-uploaded the 3 images again (to re-establish possible links in DB), then deleted all of the image from the page and from recycle bin. And finally deleted the broken page from space and from recycle bin. But checking the orphaned pages it turned out that the page with the same name (but different content is still there). I've tried to change it's parent and it worked. So I guess the reason for such a strange behaviour was that I somehow had 2 pages with the same name in the space. At least it's logical to think so. Any-ways I've got the fix now. 2 Marius: Regarding image names, they did not contain '#' character BUT they did contain the '_' (underscore) character which is being removed during image upload as I have noticed. One more thing that I have noticed with images is that currently back-links are tracked only by direct link to page. So if the reference is to the attachment in external document, then renaming this external document will lead to broken link. I did not find such ticket in Jira off-hand; if it's not still there it would be a nice enhancement. Thank you all! Regards, Roman -- View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-the-parent-is-successfully-set-on-update-tp4798786p4818789.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] XWiki Logo Challenge
I'm only 2-weeks-old XWiki user and I'm once more impressed with it. This time it's the amount of people having contributed to new logo design elections. My votes are * +1.0 for Proposal 16.A (nice idea of combining the X and the font for E and O :) ) * But as well I liked Proposal 11 * And as well I like the current XWiki logo :) Some thoughts aloud * When thinking of XWiki I see structuring documents, bringing order and simplicity of display to the knowledge. I see rectangle-based (which is as well a man's invention of structure) UI (by default currently it's colibri theme), simple and light-weight. So to make XWiki logo organically co-exist with XWiki's purpose an design it should be: simple and firm (angular with little-to-no round elements). (BTW, current XWiki logo satisfies this criteria.) That's the reason for my choice. Just interesting to notice * Proposal 2. The idea to use swastika and 4 colours of elements of nature is quite common (like Microsoft Windows and now Google do. accidentally?). So it might help project from esoteric point of view ;). One note though is that swastika in suggested template rotates counter-clock-wise (the one Nazi have been using) which symbolises chaos and destruction. So need to turn it to the opposite (again like MS and Google do) to be able to use it. And of-course some nit-picking remarks for the competes to my choice :) * Proposal 5. I think it's too heavy in details * Proposal 12,13,19. Contains asymmetric and amorphous (which means no internal structure) letter X (the cornerstone letter in logo) * In Proposal 15. Really big work has been done and interesting ideas behind symbols. Just noticed that applying the firm pattern will result in http://www.atlassian.com/software/jira/ Jira / http://www.atlassian.com/software/confluence/ Confluence logo. PS: It's always easier to find flaws than creating something on once own. So please accept my remarks as a requested feedback (tried to make at least constructive). Nice work, ALL! -- View this message in context: http://n2.nabble.com/XWiki-Logo-Challenge-tp4655618p4805521.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] Unable to restore page from orphaned list even though the parent is successfully set on update
An addition to this post. 1) When I go to edit page, then click preview and then click back to edit, I can see the links hierarchy properly rendered at the top of the page (according to the parent that is currently set in the parent input). But when I save the page, no link hierarchy rendered (only space and the page itself). 2) Another weird thing is that we had some error when uploading 3 images (by using WYSIWYG editor insert image functionality). Corresponding log from xwiki.log 2010-03-25 11:33:33,592 [http://wikihost/xwiki/resources/js/xwiki/wysiwyg/xwe/WikiService.gwtrpc] [http://wikihost/xwiki/resources/js/xwiki/wysiwyg/xwe/WikiService.gwtrpc] WARN server.DefaultWikiService - Failed to get attachment: SQLStatistics010sm83k6zpjb24032010.gif not found. So we re-uploaded them as attachments (preserving same names that were used in case of errors) with links added in xwiki mode. The weirdness is that from time those images simply disappear without any message in logs. I will try one use-case related to 2), will re-upload the images again, create a copy page and delete it. Looks like previous time I did that there was an error about those 3 charmed images in logs 2010-03-25 17:47:36,807 [http://wikihost/xwiki/bin/delete/TestSpace/2132425032010LoadTests2?confirm=1] [http://wikihost/xwiki/bin/delete/TestSpace/2132425032010LoadTests2?confirm=1] WARN .XWikiHibernateAttachmentStore - Error loading attachment content when deleting attachment EmChartBeanLoadTest2.1.3night24-25-03-2010.gif of doc TestSpace.2132425032010LoadTests2 2010-03-25 17:47:36,813 [http://wikihost/xwiki/bin/delete/TestSpace/2132425032010LoadTests2?confirm=1] [http://wikihost/xwiki/bin/delete/TestSpace/2132425032010LoadTests2?confirm=1] WARN .XWikiHibernateAttachmentStore - Error loading attachment content when deleting attachment SQLStatistics010sm83k6zpjb24032010.gif of doc TestSpace.2132425032010LoadTests2 2010-03-25 17:47:36,814 [http://wikihost/xwiki/bin/delete/TestSpace/2132425032010LoadTests2?confirm=1] [http://wikihost/xwiki/bin/delete/TestSpace/2132425032010LoadTests2?confirm=1] WARN .XWikiHibernateAttachmentStore - Error loading attachment content when deleting attachment SQLStatistics7mgg04hswgvtc24032010.gif of doc TestSpace.2132425032010LoadTests2 There was also some warning in the logs when copying the page 2010-03-25 17:44:42,264 [http://wikihost/xwiki/bin/view/XWiki/CopyDocument?sourcedoc=xwiki%3ATestSpace.2132425032010LoadTestslanguage=targetdoc=xwiki%3ATestSpace.2132425032010LoadTests2] [http://wikihost/xwiki/bin/view/XWiki/CopyDocument?sourcedoc=xwiki%3ATestSpace.2132425032010LoadTestslanguage=targetdoc=xwiki%3ATestSpace.2132425032010LoadTests2] WARN internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.XWiki.copyDocument] in velocity ma...@11,25 Regards, Roman -- View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-the-parent-is-successfully-set-on-update-tp4798786p4805710.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] Unable to restore page from orphaned list even though the parent is successfully set on update
Hello, Recently we have ran into a problem where it's impossible to restore page from orphaned pages list by any means. Page is listed in the root of the space where it has been created if looking at document tree. The are several weird thing about it: 1) If editing the page, proper parent value appears in the parent input box 2) the children of this page are able to properly render the link hierarchy at the top of the page I have checked the logs, they are clear from errors (at least from those that might be related to this issue). Any thoughts what might cause the page to get into such state? Any way to fix this without having to re-create the page? Thanks, Roman -- View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-the-parent-is-successfully-set-on-update-tp4798786p4798786.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] Unable to restore page from orphaned list even though the parent is successfully set on update
As far as I know we did no translations. It could have happened only by accident but currently multi-lingual support is set to No and it was so when the page have been added. -- View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-the-parent-is-successfully-set-on-update-tp4798786p4799594.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] Null pointer exception in formatDate() on rendering Main.RecentChanges
Hi, The problem has been mysteriously solved by doing an upgrade to 2.2.3 with clean-up of previous version. I also solved the problem with logging by using this link http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging Yet it's interesting to know what might cause the page's date to be null or trigger null-pointer exception with date format. Regards, Roman -- View this message in context: http://n2.nabble.com/Null-pointer-exception-in-formatDate-on-rendering-Main-RecentChanges-tp4783806p4790337.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] Null pointer exception in formatDate() on rendering Main.RecentChanges
Hello, Could you please point me to possible root of the following problems: 1) Null pointer exception in formatDate() method during Main.RecentChanges page rendering (it looks like $rcDt variable is null for one of the records, this is for scripts from xwiki-enterprise-wiki-2.2.2.xar). Full stack trace attached in http://n2.nabble.com/file/n4783806/RecentChangesStackTrace.txt RecentChangesStackTrace.txt 2) A weird lookfeel of the ManageGroups, ManageUsers and ManageRights ( http://n2.nabble.com/file/n4783806/ManageRightsBroken.JPG ManageRightsBroken.JPG , http://n2.nabble.com/file/n4783806/ManageGroupsBroken.JPG ManageGroupsBroken.JPG and http://n2.nabble.com/file/n4783806/ManageUsersBroken.JPG ManageUsersBroken.JPG page-captures correspondingly) Re-importing xwiki-enterprise-wiki-2.2.2.xar did not help. From the recent modifications made I can point out only the following * Set up 80(publicly available)-8080(where the XWiki is installed) port forwarding at firewall level * Restricted guest users from accessing the site and from registering Notes about environment * XWiki Enterprise Core/UI 2.2.2 * Most of users with LDAP Authentication + Several users with non-LDAP authentication * CentOS release 5.4 (Final) * Following errors on startup Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Could not find jndi Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm /usr/bin/rebuild-jar-repository: error: Could not find jaas Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm * XWiki cannot access file xwiki.log because of permission denied Regards, Roman -- View this message in context: http://n2.nabble.com/Null-pointer-exception-in-formatDate-on-rendering-Main-RecentChanges-tp4783806p4783806.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] Livetable
Hi, I had the same problem (index page empty after upgrade) several days ago. The upgrade was from XWiki Enterprise 2.1.2 to 2.2.2. It turned out that we forgot to upgrade the system documents in addition to war upgrade. So in my case re-importing pages from xwiki-enterprise-wiki-2.2.2.xar file solved the problem. Some useful links: * http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments Upgrading XWiki Documents * http://www.xwiki.org/xwiki/bin/view/Main/Download Download page where you can find corresponding *.xar file (I believe you'd have to upgrade to v2.2.3 now) Hope this helps. Regards, Roman -- View this message in context: http://n2.nabble.com/Livetable-tp4744002p4783834.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