Hi,
I installed Xwiki-Entreprise-Web8.0 stable using the .jar in a Tomcat server.
I just installed the extension LDAP Admin Application.
The xwiki seem to work perfectly except for LDAP Admin Application.
I configure dit but I noticied that there is no changes write in the xwiki.cfg file.
I checked the perms and they are set to tomcat :tomcat... chmod 744
Why ?
Sébastien
Hi,
I want to modify document content while user is saving a document, for
example: [[PageA]] will be replaced by [[PageA.WebHome]]. I want to write a
component extension to do that. Which component should I look into?
Thanks,
Wei
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-save-hook-to-modify-content-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I have a working xwiki 7.1.4 installation. It uses MySQL + file system
datastore and LDAP as an authentication backend.
I'm trying - so far unsuccessfully - to upgrade it to more recent version.
I've
tried 7.4.3 and 8.0 but in both cases I end up with broken UI - the search
bar at the top is missing - http://www.bankfotek.pl/image/1995162, the
right hand 'drawer' menu has much has only Log-in/Log out buttons:
http://www.bankfotek.pl/image/1995161 . In contrast this is how 7.1.4 looks
like: http://www.bankfotek.pl/image/1995168
The steps I'm taking during the upgrade process:
* i move the old instance of the xwiki into another folder
* there are no files left by the old instance
* i download and unzip xwiki-enterprise-jetty-hsqldb-7.4.3.zip or
xwiki-enterprise-jetty-hsqldb-8.0.zip
* i copy webapps/xwiki/WEB-INF/lib/mysql-connector-java from the
old xwiki installation
* i also copy the whole data/storage from the old instance
* i modify the webapps/xwiki/WEB-INF hibernate.cfg.xml coming from
7.4.3 or 8.0 and comment out there the definition of
<property
name="connection.url">jdbc:hsqldb:file:${environment.permanentDirectory}/database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property> -->
and replace it with own connection string to local mysql
in the xwiki.cfg taken from 7.4.3 or 8.0 i add:
xwiki.store.attachment.hint=file
xwiki.store.attachment.versioning.hint=file
xwiki.store.attachment.recyclebin.hint=file
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
Then I start the new xwiki using:
./start_xwiki.sh -p 8090 -ld /tmp/
When I visit the newly installed wiki [also after logging in] - there's no
Distribution
Wizard - just a familiar front page of our wiki.
I've tried triggering the Distribution Wizard by
removing data/jobs/status/distribution/status.xml
and restarting the xwiki but it did not help.
I'd greatly appreciate any suggestions that can help me with bringing 8.0
to fully usable state.
--
regards,
Pawel Kudzia
--
regards,
Pawel Kudzia
Let's say I have a page hirearchy like this:
- A
- - B
- - C
and page B contains an image. When I export page A with children, the page B
in the resulting PDF does not contain the image.
The url parameters used to perform the export are
?format=pdf&pagebreaks=1&attachments=1&includelinks=0&includechilds=6
The image is specified as an attachment of page B, and added into the page
using [[image:activation.png]].
>From the tomcat log, I see that the image URL cannot be found.
https://BASE_URL/bin/download/SPACENAME/WebHome/activation.png,
where BASE_URL is my site domain and SPACE_NAME is the name of the space.
Is this a known issue? WHat do you suggest I do to get the image exported in
the PDF as well?
Thank you,
--
View this message in context: http://xwiki.475771.n2.nabble.com/PDF-Page-Export-with-children-does-not-co…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
8.1 Release Candidate 1.
This release candidate brings a couple of improvements and bugfixes to
Extension Manager and other bundled components.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81RC1
The following people have contributed code to this release (sorted
alphabetically):
Alexandru Cotiuga
Clemens Robbenhaar
Denis Gervalle
Ecaterina Moraru (Valica)
Guillaume Delhumeau
Thomas Mortagne
Thanks for your support
-The XWiki dev team
Hi,
i use the macro "code" to highlight code blocks in the text. On export
(e.g. as pdf) only the text is colored and has another font, but there
is no border or background color, like in the web view. The text before
and after the code block is also not quite nice styled. It is indented
wich is not good for reading.
How can i change the style of the code blok and surrounding text in the
exported document?
With best regards
Alina
--
-----------------------------------
SOURCEPARK GmbH
B.Sc. Alina Kupgisch
Partner der Allianz für Cyber-Sicherheit
des Bundesamtes für Sicherheit in der
Informationstechnik (BSI)
Hohenzollerndamm 150, Gebaeude 7
14199 Berlin
Tel: +49 (0)30/398 068 30
Fax: +49 (0)30/398 068 39
e-mail: alina.kupgisch(a)sourcepark.de
WWW: www.sourcepark.de
-----------------------------------
SOURCEPARK GmbH
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
Geschäftsführer: Matthias Barmeier, Harald Dürr
-----------------------------------
Wichtiger Hinweis: Die vorgenannten Angaben werden jeder
E-Mail automatisch hinzugefügt und lassen keine Rückschlüsse
auf den Rechtscharakter der E-Mail zu.
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser E-Mail ist nicht gestattet.
Hi all,
my next request is regarding to let xwiki initialize a new, empty SQL Server database to use the xwiki with this empty database. The problem is that the table activitystream_events seems to be created twice:
com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object named 'activitystream_events' in the database.
Has somebody an idea of how I can solve that issue? There are some interesting logs that looks like access problems with the database, but if there are problems accessing the database it might not be possible to create any table, isn't it?
So here is the tomcat log, maybe it is helpful to solve the issue.
Kind regards,
Sebastian.
Hibernate: select this_.XWV_VERSION as XWV1_26_0_ from xwikidbversion this_
Hibernate: select count(*) as y0_ from xwikidoc this_
2016-05-04 15:19:37,334 [http://pippin:8080/xwiki2/bin/view/Main/] INFO .HibernateDataMigrationManager - Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR .HibernateDataMigrationManager - The empty database xwiki seems to be not writable, please check your configuration!
com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [xwiki]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
Caused by: org.hibernate.HibernateException: Failed updating schema while executing query [create table activitystream_events (ase_eventid varchar(48) not null, ase_requestid varchar(48) null, ase_stream varchar(255) null, ase_date datetime null, ase_priority int null, ase_type varchar(255) null, ase_application varchar(255) null, ase_user varchar(255) null, ase_wiki varchar(255) null, ase_space varchar(255) null, ase_page varchar(255) null, ase_hidden tinyint null, ase_url varchar(2000) null, ase_title varchar(2000) null, ase_body varchar(2000) null, ase_version varchar(30) null, ase_param1 varchar(2000) null, ase_param2 varchar(2000) null, ase_param3 varchar(2000) null, ase_param4 varchar(2000) null, ase_param5 varchar(2000) null, primary key (ase_eventid))]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:625) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:371) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.hibernateShemaUpdate(HibernateDataMigrationManager.java:198) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:179) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
... 77 common frames omitted
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: There is already an object named 'activitystream_events' in the database.
2016-05-04 15:19:37,570 [http://pippin:8080/xwiki2/bin/view/Main/] ERROR PreferencesConfigurationSource - Failed to access configuration property
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiPreferences]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:989) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680) [xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseObject(AbstractXWikiPreferencesConfigurationSource.java:86) ~[xwiki-platform-configuration-default-7.4.2.jar:na]
at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:139) ~[xwiki-platform-configuration-default-7.4.2.jar:na]
at org.xwiki.configuration.internal.AbstractXWikiPreferencesConfigurationSource.getBaseProperty(AbstractXWikiPreferencesConfigurationSource.java:156) ~[xwiki-platform-configuration-default-7.4.2.jar:na]
at org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315) [xwiki-platform-configuration-default-7.4.2.jar:na]
Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:738) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:911) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:843) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
... 69 common frames omitted
Caused by: com.xpn.xwiki.store.migration.DataMigrationException: The empty database xwiki seems to be not writable, please check your configuration!
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:556) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:533) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:734) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
... 72 common frames omitted
Caused by: com.xpn.xwiki.store.migration.DataMigrationException: Unable to update schema of wiki [xwiki]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:182) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.initializeEmptyDB(HibernateDataMigrationManager.java:142) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initNewDB(AbstractDataMigrationManager.java:445) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.initializeCurrentDatabase(AbstractDataMigrationManager.java:550) ~[xwiki-platform-legacy-oldcore-7.4.2.jar:na]
... 74 common frames omitted
Dear List,
After a Debian Upgrade from Wheezy to Jessie, my XWiki 7.2 was also
upgraded. But during the upgrade process, it seems there were some
conflicts I did not really bother as the system told me it could manage
them (Maybe I was a bit naive at this point ...).
After the upgrade process finished, I landed on my XWiki with all the pages
filled with "Failed to execute the [velocity] macro. Click on this message
for details."
Even the Admin user cannot access admin pages due to the error. I tried to
dig in the database to find if I could resolve the problem but I did not
succeed.
Do you have any pointer on how to solve the issue?
Thanks for all!
Best Regards,
Frédéric
Hi, again.
How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' .
TIA,
R.
Hello:
I installed XWiki 8.0 in tomcat 9 under windows 2008; The menu bar is
missing!! I thought this was the new layout of the screen, but I looked up
some screenshots, and apparently there is supposed to be a menu bar right
next to the xwiki logo, with "home" "add" "space" "page" items just like in
6.0. Why is it not showing in my installation? I tried both chrome and ie.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Missing-menu-bar-tp7599328.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
A few days ago I summited this as a bug http://jira.xwiki.org/browse/XRENDERING-448. I would like to thank Vincent for the quick response on it, but am a little surprised by the response and the change from "Bug" into "New Feature" request, because to me this feels like a bug in syntax precedence, where syntax tokens have a higher order of operations than the {{ }} macro syntax tokens when it should be the other way around: The macro should have higher precedence in the syntax tree and get evaluated before being used as a source for the image tag. In my opinion that would provide the most flexible and dynamic behavior for Xwiki users.
Can someone on this email list share more information on the rationale behind this design decision?
Thanks
Regards,
Francisco Peredo
Dear all,
thanks for your help regarding to my question about ACE related javascript errors when editing xwiki articles a few days ago. As we figured out it is likely not an issue regarding tot he xwiki system and come in from a particular addon. Due to the fact, that is is not easily trackable for us which addon is working wrong, we want to setup a second xwiki instance with a new database and without extentions. This is only to ensure the errors weg et is not related to xwiki and to get a closer view to the issue.
We tried simply to run a second xwiki using apache tomcat using an webapp directory called "xwiki2" with a xwiki 7.4.2 WAR-Distribution and the default (empty) HSQL Database. But this seems not to work due to the following issue. Could someone help me with fixing that issue?
Kind Regards,
Sebastian.
Here is what the error is about:
HTTP Status 500 - Failed to locate an ExtendedURL Resource Type Resolver component
type Exception report
message Failed to locate an ExtendedURL Resource Type Resolver component
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Failed to locate an ExtendedURL Resource Type Resolver component
org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:181)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103)
[...]
org.xwiki.cache.CacheException: Failed to get cache factory for role hint [infinispan]
org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:109)
org.xwiki.cache.internal.DefaultCacheManager.createNewCache(DefaultCacheManager.java:85)
org.xwiki.wiki.internal.manager.WikiDescriptorCache.createCache(WikiDescriptorCache.java:67)
org.xwiki.wiki.internal.manager.WikiDescriptorCache.initialize(WikiDescriptorCache.java:58)
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:184)
org.xwiki.resource.servlet.RoutingFilter.getResourceTypeResolver(RoutingFilter.java:177)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:103)
Hi everyone,
I’d like to give everyone some heads up about the plan I discussed with Marius (who’s working on the new CKEditor integration) regarding the new CKEditor-based WYSIWYG.
Goals:
======
* Replace the current GWT-based WYSIWYG editor with one based on CKEditor, see http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
* Keep it as an extension so that it can be installed using the Extension Manager on XWiki versions 7.4.x. We need to introduce some UIXP to be able to replace the existing editor in the XWiki menus so we’ll need to commit that in 7.4.x (with x >= 2).
* Make it possible to install the extension on XWiki versions 6.2.5+. However the installation will have some manual parts, to replace the GWT-based editor.
Timeline:
=========
* Before the 19th of Feb, a new version of the CKEditor integration will be released containing wiki page/attachment linking and image insertion features. At that point what will remain is:
** Support for editing macros
** Office importer (if needed)
** Configuration UI in the administration
** Add UIXP to integrate the CKEditor nicely into the platform (using extension points)
** Future: Add support for packaging CKEditor plugins as XWiki Extension.
* The goal is to implement all these remaining features around when 8.1M1 is released (i.e. early April 2016), except maybe the Future part which could be done later on.
* Starting 8.1M2, the goal would be to bundle the Extension in the distribution (default flavor) but to not make it the default yet. There would be some configuration option to select which WYSIWYG editor to use (GTW-based or CKEditor-based).
* Starting 8.2, if all goes alright, we would set the CKEditor WYSIWYG to be the default (still with ability for admins to configure the editor they wish to use so they can continue to use the GWT-based one if they want that).
* Starting 9.0, the idea would be to remove the GWT-editor and retire it to XWiki Contrib with instructions for advanced developers to build it and use it in XWiki should they still want to do that. However we won’t spend extra time to refactor it as an extension since that would spend too much time which we prefer to spend on improving the new WYSIWYG editor.
WDYT?
Thanks
-Vincent
PS: cc-ing the users list to let the XWiki users know about the plan ahead of time!
Hello again.
I don´t have really much knowledge in Velocity. So right now begging for help :D
#set($users = $xwiki.rightsmanager.usersApi.allUsers)
#foreach($user in $users)
I am getting an array of objects(user in xwiki). $users-array should be sorted by familyname
Here is the snippet from
https://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/g…
I am still kinda confused how to apply this on mine
Single Property Sort
#foreach($obj in $sorter.sort($objects, "name"))
$obj.name Ordinal= $obj.ordinal
#end
End
Thank you, guys =)
Hi,
I run the Wiki http://tutos.myxwiki.org on the community farm and search crashed
with "Solr query require programming right" error ... does someone can save the
required pages with the correct rights ? or better solution can give me
"programming rights"?
Regards,
Hi,
On 5 Jan 2016 at 10:09:27, KirbY ZhoU (kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com)) wrote:
> Sorry for reply so later, I have taken a vacation for days.
Hope you had some nice holidays! :)
> Actually, I modified Dashboard.WebHome after upgrade, and use {{spaces}} macro which comes from 7.3 release.
> Now I replace {{spaces}} with {{documentTree}}, but I have some little problem.
> 1. I want to avoid "xxx more", but limit=100 do not work.
> 2. I want to limit the tree level, but I have no idea.
All documentation for the tree macro can be found at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro
AFAIK there’s currently no way to configure how many items to display before “xxx more” appears. @Marius: is that correct? It seems it would be useful to have this in the future if that’s the case. WDYT? Do we have a jira issue about it already?
I’m not sure what’s your use case for point 2. I guess you mean limit the hierarchy but it seems it would prevent users from navigating correctly so I’m not sure what’s the use case.
Thanks
-Vincent
> 发件人: Vincent Massol 代表 "vincent@massol.net(mailto:vincent@massol.net)"
> 日期: 2015年12月23日 星期三 下午7:35
> 至: KirbY ZhoU , XWiki Users
> 主题: Re: [xwiki-users] How to avoid nested space?
>
> Hi,
>
> The default dashboard is located in Dashboard.WebHome. When you upgraded you should have had the Distribution Wizard upgrade that page. Was that the case? Could you check the history for that page?
>
> Now two things could have happened:
>
> 1) you overwrote the changes brought by the Distribution Wizard by importing old versions of pages from your previous wiki. If you’ve done that then you’ve most likely broken the upgrade process since you’ve removed all the upgrades that were required to all default wiki pages! :) See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade for the canonical way of upgrading an XWiki instance. If you’ve done that I suggest that you redo the upgrade.
>
> 2) you have modified Dashboard.WebHome. If this is the case then you’ll need to update your version to use the {{documentTree}} macro instead of the spaces macro.
>
> As I’ve mentioned already in my reply the notion of Spaces have been removed from the UI (I’ve linked you to some page with the explanation, have you been able to read that page? was it clear? should we improve things there with more explanations?).
>
> Thanks
> Hope it helps,
> -Vincent
>
>
>
> On 23 Dec 2015 at 12:19:45, KirbY ZhoU (kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com)) wrote:
>
> > I belived that I have use the space widget version 7.3.
> > I created a new Xwiki-7.3, and then import the old spaces one by one, excluding 'Main', 'XWiki' and all spaces coming with Xwiki default pages.
> >
> > I just want to get a simple space list.
> >
> >
> >
> > 发件人: Vincent Massol 代表 "vincent@massol.net(mailto:vincent@massol.net)"
> > 日期: 2015年12月23日 星期三 上午4:41
> > 至: XWiki Users
> > 抄送: KirbY ZhoU
> > 主题: Re: [xwiki-users] How to avoid nested space?
> >
> > Hi KirbY,
> > On 22 Dec 2015 at 21:27:47, KirbY ZhoU (kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com)(mailto:kirbyzhou@gmail.com)) wrote:
> >
> > > How to avoid nested space?
> > >
> > > Since the new nested space feature, a lot of nested space such as "XXX.YYY" appears in the "Space List" in my home page.
> > > If I want to create a sub page, a new nested space created silently. It becomes more and more, and bothers our users.
> > >
> > > I want keep the original simple one level space and documents tree model instead of the new nested space model. How can I get it?
> >
> > The issue is that you haven’t upgraded your home page (the dashboard I presume). We have replaced the Space widget with a Documents widget. Normally, when you have upgrade you should have had the Distribution Wizard kicking in and updating the default wiki pages. Please let us know what you’ve done when the Distribution Wizard has executed.
> >
> > The notion of Spaces has been removed starting with XWiki 7.2+
> >
> > Please see http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization
> >
> > The introduction of Nested Spaces is a large change and we wish to make it as seamless as possible to our users. Please let us know any issue you see and we’ll try to help you and see if we can improve things by default so that other users have less problems upgrading.
> >
> > Thanks for your help and patience.
> > -Vincent
> >
Hello:
I am using XWiki 6.0, and App Within Minutes. I have created several apps
that work fine. I can already customize the view and edit sheets and things
like that. But I don't like that AWM forces the home page to be called
{space} 'Home'. I'd like to change the behavior. There is an object of class
AppWithinMinutes.LiveTableClass which apparently is the hook for AWM to
display the home page. But I can't see in the LiveTableViewSheet where on
earth the space name is set! Where is the word 'Home' coming from? I tried
changing the Translations page (it contains the word 'Home') but that
doesn't fix it!!
Help!
Dan
ps.: I wanted to add a field to the LiveTableClass to hold the name of the
app. not sure if that would break anything.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Changing-the-app-name-in-App-Within-Minut…
Sent from the XWiki- Users mailing list archive at Nabble.com.
the default title should be "$doc.web - $doc.name"
I hope cover one page title (as blog main page) ,I know that Space
Preferences make a different title for each space,but I just want to cover a
page title
I try to use velocity code In the blog.Webhome as:
{{velocity}}
$doc.setTitle("My new title")
{{/velocity}}
it's not working
Is there any other way to cover a page title without modifying the database?
--
View this message in context: http://xwiki.475771.n2.nabble.com/how-to-cover-one-page-title-tp7599271.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Using a simple XWiki 7.4.2 system I'm having problems getting Export and
then Import to work. I'm want to export the entire contents of one Wiki
and import it into another one.
I think I'm following the instructions here correctly:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport
The Export seem to go OK and generates a xar file.
But when I try to Import that into a different 7.4.2 wiki (or even the
one it was exported from) I get told that "No package is available for
import".
Tim
Hi all,
I have doubts about how permissions are inherited in XWiki v7.4. Does
this statement from your documentation still apply for this version?
/"*Note on permission inheritance*//
//When a permission is explicitly set for a given group or user at a
certain scope (page, space or wiki) then other groups and users must
also have the right explicitly set as well, at this scope or a scope
upstream.//
//For example, when you decide to explicitly allow the view right for
"GroupA" on a given space, users that are not members of "GroupA" must
have the view right explicitly set either on the given space or on the
whole wiki to be able to view the space as well."/
I expose my problem:
GroupA with edit rights at Wiki level.
GroupB with view rights at Wiki level.
I grant GroupB edit permissions on a certain page => GroupA is no longer
able to edit this page (neither its children) until I specifically grant
them edit rights (again, as at Wiki level they have them). This
contradicts previous statement.
Could you please clarify? Thanks in advance!
--
ASOL Email Un cordial saludo,
Iago Lluque
/
*Alínea Software Solutions S.L.*
Travesía del Comercio 3, 2º 36002 Pontevedra España
Tel: +34 986 845 699
Email: info(a)alineasol.com <mailto:info@alineasol.com>
Web: http://www.alineasol.com
/
Hi,
I would like to gather your ideas about how we could simplify the Homepage
of XWiki Enterprise.
- Maybe is something that doesn't make sense to have on it?
- Maybe is something that is missing?
Thanks,
Caty
Interaction Designer on behalf of XWiki Development Team
One of our users accidently modified the search script, which prevented all other users from searching. All of our users have scripting right as they use "App within a Minute".
I found that these users may modify system scripts and I was unable to protect this scripts from modifications.
We are running Xwiki 7.4.2.
Users rights set:
View, Edit, Comment, Script, Register.
Any Idea what to do?
Wolfgang
Hello,
In our department, the actuel wiki is based on Mindtouch/dekiwiki and we
want to go to for a global wiki for the company with Xwiki.
To do that, we need to transfer our data from the actual wiki and I
managed to extract all the pages in HTML format (600+ files).
I have found in the mailing list history a reply from Vincent in August
2013 to a similar request :
------
Hi Jason,
I don't know of any existing Mindtouch converter to XWiki. However there
are several handmade converter tools on http://extensions.xwiki.org that
could serve as examples.
What is the markup syntax used by Mindtouch? I have the feeling they
only provide HTML which would be fine since XWiki's Rendering can
convert HTML into wiki markup for example (or keep it as HTML too).
So converting a page would be:
* Read the export format from Mindtouch (what is it? XML?)
* Use the XWiki API to create a wiki page, convert the HTML content to
wiki markup (easy to do), add attachments
Also note that Thomas Mortagne (one of the XWiki committer) is currently
working on a wiki stream API that is an ideal scaffolding for
importing/exporting wikis:
https://github.com/xwiki-contrib/wiki-stream . But there's non trivial
dev work to be done to make it work.
Another idea is to contact one of the companies providing professional
services around XWiki and ask them how much it would cost for a
conversion:
http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport
Hope it helps,
-Vincent
------
Could you please point me to the right direction to convert my 600+ HTML
pages to xwiki markup ?
If you have any information to help me for the integration, that would
be very kind of you
Thank you for your help.
Daniel.
The XWiki development team is proud to announce the availability of XWiki 7.4.3.
This is a bugfix release that fixes important bugs discovered in the 7.4.2 version.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki743/
The following people have contributed code to this release (sorted alphabetically):
Alexandru Cotiuga
Clemens Robbenhaar
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
The XWiki development team is proud to announce the availability of XWiki
8.1 Milestone 2.
This milestone release brings a new parameter to the Document Macro, the
synchronization of the avatars coming from LDAP and the support of feeds
delivered over HTTPS in the RSS Macro.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81M2
The following people have contributed code to this release (sorted
alphabetically):
- Alexandru Cotiuga
- Clemens Robbenhaar
- Eduard Moraru
- Guillaume Delhumeau
- Lukas Raska
- Manuel Smeria
- Marius Dumitru Florea
- Thomas Mortagne
- Vincent Massol
- Yuri Konotopov
Thanks for your support
-The XWiki dev team
Hello everyone,
I want to disable the skin preview functionality from my xwiki instance. so
that urls in the form https://mywiki.com?skin=colibri do not actually
change the current skin, and just use my default.
The reason for this is that I've overridden a skin with extra functionality
and made that my default skin, reverting to a different one now breaks some
of the wiki functionality that relies on my changes.
Any idea on where the modifications to support this can be made?
Thanks
Hi all,
tomorrow we will perform some operations on www.myxwiki.org to migrate
it to a new virtualization platform.
These operations will last around 4h (depending on how fast the
data-transfer will be)
We are going to start around 9h30 (Paris time) and if everything goes
fine the wiki should be back at the end of the morning.
During the operations the wiki will stay up and accessible but it will
be set in read-only mode.
We apologize for the inconvenience.
Thanks,
Fabio Mancinelli
Infrastructure Manager
XWiki SAS
Hello all:
working on an App Within Minutes application, and I'm including a Database
List field. It keeps including as one of the results an item called
Blog.BlogPostTemplate. where on earth is that coming from, why is it getting
into my list, and how do I get rid of it?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Blog-BlogPostTemplate-in-Database-List-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
we are going to perform some operations on l10n.xwiki.org to migrate
it to a new virtualization platform.
These operations will last around 4h (depending on how fast the
data-transfer will be)
We are going to start at 16h30 (Paris time) and if everything goes
fine the wiki should be back at the end of the day.
During the operations the wiki will stay up and accessible but it will
be set in read-only mode.
We apologize for the inconvenience.
Thanks,
Fabio Mancinelli
Infrastructure Manager
XWiki SAS
Hi all,
I'm an XWiki newbie. I've written a script that generates an HTML file,
and then I upload it as an attachment to XWiki. When I create a link on
that file, and then click the link, I get the HTML file downloaded by the
browser, rather than displayed.
>From what I've read, this may be caused either by something in my HTML or
by an XWiki setting.
In the HMTL, my headeer looks like this:
<!DOCTYPE html><html><head><meta http-equiv="Content-Type"
content="text/html; c
harset=utf-8" /><h1 align=center>NITS Solutions AWS Server
List</h1><style>table
, th, td { border: 2px solid black; border-collapse: collapse;
}</style></head>
My undedrstanding is that the 'text/html' should tell the browser to
display rather than download.
Also, in the xwiki.properties file, in the Attachment section, I found the
'attachment.download.whitelist' and 'attachment.download.blacklist', but
both were commented out, which I assume means this feature is disabled? I
even tried uncommenting the whitelist and making sure it contained
'text/html', and then bouncing, but it made no difference.
Can anyone offer me a clue? I just want my simple little document to
display rather than download.
Thanks,
-Mark
I made an App within Minuts application that is basically a list of job
responsibilities. It's just two fields, job name and job description. Can I
change the "edit" behaviour? If I go to the main page, there is a live table
showing a list of all the job descriptions. If you want to "edit" one, you
press the edit action, and it takes you to the data input screen to edit the
job description. But when you press the "save" button, I want it to save the
data and automatically take you back to the main App screen (the list of
jobs). Casual users won't know that they are supposed to go back to the main
screen.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Changing-App-within-minutes-behaviour-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
So I was trying to do a custom mapping of an xobject to a mysql file, I think
I followed the instructions (but obviously not) and it doesn't work. Where
in the logs will I find error messages (if any) from hibernate?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Hibernate-logs-tp7599172.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi.
I have a problem with solr search (Xwiki 7.2.4), I suppose it is language-related. My config is:
Multilingual=no
Supported languages = pl
Default language = pl
I have imported some documents (from .xar-s) from older xwiki instance. Most of them had (wrong) language - it was set to 'en' in old wiki. Because I want to clear up the new installation, I've changed 'xwd_default_language' for this documents in database to 'pl', restartex xwiki, removed solr index.
Is it possible, that I missed something and it that's why I cannot find some documents by part of title?
R.
It is my understanding that XWiki includes the Apache Batik library to handle
SVG content, so my question is why does XWiki not handle SVG content
natively (without the SVG Macro), and why does the browser have to support
SVG? With Batik, shouldn't XWiki be able to render the SVG without the help
of the browers?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-SVG-and-Apache-Batik-tp7599123.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
When I try to delete group page with 4000+ members then I see error below.
I resolve this error with attached files by disable version control, but I
don't know how resolve it in this case.
-Xms512m -Xmx6144m -XX:MaxPermSize=256m
I tried increase Xmx to 14000m, but not helped
Error number 0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:435)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:798)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:338)
at java.lang.StringBuffer.append(StringBuffer.java:204)
at org.suigeneris.jrcs.rcs.impl.Node.toText(Node.java:719)
at org.suigeneris.jrcs.rcs.Archive.toString(Archive.java:914)
at org.suigeneris.jrcs.rcs.Archive.toString(Archive.java:673)
at org.suigeneris.jrcs.util.ToString.toString(ToString.java:42)
at
com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:200)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4512)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4540)
at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:4280)
at com.xpn.xwiki.doc.XWikiDocument.toFullXML(XWikiDocument.java:4192)
at
com.xpn.xwiki.doc.XWikiDeletedDocument.setDocument(XWikiDeletedDocument.java:193)
at
com.xpn.xwiki.doc.XWikiDeletedDocument.<init>(XWikiDeletedDocument.java:89)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:122)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3580)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3558)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:97)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:407)
... 49 more
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-delete-group-page-with-4000-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi.
Is there an easy way to add link to Jira Issue Collector to every page in xwiki? It should be sufficient to add a some javascript in <head> </head>, but looking and Flamingo skin's docs It is not clear to me how to do this.
Best regards,
R.
Hi all,
I'm wanting to create a simple XWiki "app" and being new to this wanted
to get some advice before starting.
What I want is probably not too far removed from the FAQ app, so it may
well look a bit like this, but I wanted to get some pointers before
heading off in the wrong direction.
The app is essentially a directory of "things" where each "thing" will
be its own wiki page, and there will be a master page that lists them
all and allow pagination, filtering etc. (livetable etc.)
The "things" will have a small number of "fields", not too different
from the FAQ app. But where it may differ is that the page for each
"thing" should also allow free form editing of the wiki page so that
arbitrary additional info can be added (even including scripts etc.)
This arbitrary extra info will just be part or the page, not part of the
directory.
The page for each "thing" will therefore be a combination of structured
info (the fields) appearing at the top of the page in a consistent
manner across all pages), and non-structured info appearing below this.
All advice greatly appreciated.
Tim
Hi,
starting a few days ago, our XWiki application isn't running anymore.
After restarting Tomcat, the following Stacktrace is shown. The XWiki
version is 5.2.1. The logfiles mostly also show this stacktrace.
Any help is welcome, thank you in advance.
Matthias
javax.servlet.ServletException: java.lang.RuntimeException: Component
manager has not been initialized before lookup for
[org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String
>] for hint [currentmixed]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
java.lang.RuntimeException: Component manager has not been initialized
before lookup for [org.xwiki.model.reference.DocumentReferenceResolver<
java.lang.String >] for hint [currentmixed]
com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
com.xpn.xwiki.XWikiContext.<init>(XWikiContext.java:151)
com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:426)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
--
Matthias Albert
Rastatter Straße 26
76199 Karlsruhe
Tel. +49 (0)721 885744
Email: matthias.albert(a)posteo.de
Dear all,
a view weeks ago we updated our xwiki application from version 6.2 to version 7.4, but since upgrading the wiki we encountered several problems with the ACE editor. The problems causes unexpected behaviors (loading the article content in the ace editor will never end due to javascript errors) when editing articles or create new ones.
The root problem seems to be the Xuake script (http://baseurl/xwiki/bin/jsx/XWiki/Xuake?language=de&docVersion=1.1) tries to intialize the ace library, but I guess something is missing.
Below is listed the console output when running the create new page wizzard in the xwiki.
HTML1406: Invalid tag start: "<?". Question marks should not start tags.
WebHome (1,2)
-------------------------------------------------------------------------------------------------------
SCRIPT1010: Expected identifier
WebHome (1,9)
--------------------------------------------------------------------------------------------------------
SCRIPT5009: 'ace' is undefined
Xuake (143,7)
-------------------------------------------------------------------------------------------------------
SCRIPT5007: Unable to get property 'noConflict' of undefined or null reference
WebHome (81,54)
---------------------------------------------------------------------------------------------------------
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
WebHome
---------------------------------------------------------------------------------------------------------
SCRIPT1002: Syntax error
text.js (1,1)
--------------------------------------------------------------------------------------------------------
SCRIPT5007: Unable to get property 'normalize' of undefined or null reference
require.min.js (20,263)
---------------------------------------------------------------------------------------------------------
SCRIPT5022: Load timeout for modules: text!ace/css/editor.css_unnormalized2,jsTree,text!ace/theme/textmate.css_unnormalized3
http://requirejs.org/docs/errors.html#timeout
require.min.js (8,137)
---------------------------------------------------------------------------------------------------------
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
---------------------------------------------------------------------------------------------------------
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
---------------------------------------------------------------------------------------------------------
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
---------------------------------------------------------------------------------------------------------
SCRIPT438: Object doesn't support property or method 'getLayout'
prototype.js (11,59324)
--------------------------------------------------------------------------------------------------------
Hopefully somebody has an idea what is missing and can give me some help with that issue.
Let me thanks you for your investigations in advice.
Mit freundlichen Grüßen / Kind regards
Sebastian Schabbach
Hi,
I am evaluating the XWiki Rendering Framework for a project of ours.
It was no problem to create a little POC to render some sample XWiki syntax
into HTML. Next I tried to write a little colour macro that simply renders
some text in a colour which is specified as a macro parameter. However, I
did not manage to get the macro executed. In the resulting HTML output I
get the error message:
Unknown macro: colour.The "colour" macro is not in the list of registered
macros. Verify the spelling or contact your administrator.
Now I have the following questions:
Is it possible at all to render a macro and execute it standalone with the
rendering framework (as opposed to running it in the XWiki Platform)?
As mentioned above, I implemented a little POC application that simply
renders XWiki syntax. The macro itself I implemented as a standalone jar. I
put the macro jar in the class path and the macro's package to the
context.txt of the POC application. Is that correct so far?
Am I missing something totally altogether?
Thanks for your help in advance.
Regards,
Thomas
Hi Users,
i want to hide the header bar on the login screen and marked for that
###template("startpage.vm")
out in login.vm. Then i restart the server. But nothing changed. I cleared
the browser cache but this is not the problem.
Is this not the right place?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Hide-Harder-Bar-on-Login-Screen-tp7599022…
Sent from the XWiki- Users mailing list archive at Nabble.com.
So I am writing this Quality Manual using XWiki; The main manual is one page,
has many headings, and a TOC. There's also a bunch of supporting procedures,
all linked to one another, and the system is really slick
The problem is, we sometimes need to hand out hard printed copies of the
manual to source inspectors to take with them. So when I go to print the
manual, I want to include an Index with page numbers like in a book. Is
there a way to do that?
Dan.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Printable-Index-tp7599082.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi.
Is there a way to migrate (xwiki 7.2.4) an application created via AppWithinMInutes to another node in the same wiki tree, with all documents created by the app ? The easy way (move parent document with all children) doesn't seem to work.
TIA,
R.
Hi
I started off on something I thought would be simple, but my limited knowledge is failing me and Google isn’t bringing up anything useful.
Basically, I have a url that returns JSON content (for the sake of this example – assume the url is https://status.com/api/status.json)
The content returned by the URL is:
{"page":{"id":"9jyl5nk7mszv","name":"Custodian DataCentres","url":"http://status.custdc.net","updated_at":"2016-04-19T15:45:36.626+01:00"},"status":{"indicator":"none","description":"All Systems Operational"}}
What I wanted to do was to simply read that JSON and then process the values and possibly output something like:
Status: All Systems Operational
Last Update: 2016-04-19T15:45:36
So far I have managed to get the URL content with:
{{velocity}}
#set($jsoncontent = $xwiki.getURLContent(‘https://status.com/api/status.json’))
$jsoncontent
{{/velocity}}
This is where I get stuck. How do I get the $jsonconent into an array or somehow read the values?
Apologies for the basic question, but I hope someone can either point me in the right direction or provide an example I can work from. Thanks.
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
Hello,
our XWiki installation isn't running anymore. After restarting Tomcat, there
is always the stacktrace below. No change to content has been made, afaik.
Any help is most welcome. The XWiki version is 5.2.1 according to the
"version.properties" file.
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/General-XWiki-Exception-after-Tomcat-Star…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear all,
I'm new to the list and I would like to enter this community with a
little contribution from my side to thank you all for the very nice wiki
platform XWiki is. We are using it for some weeks by now and we are
finding it very nice and useful.
To install and configure XWiki for a project, I developed this Ansible
playbook:
https://github.com/rastandy/xwiki-ansible-playbook
I'm happily sharing it with you, hoping someone could find it useful.
Thank you and happy wiking,
Andrea.
--
Andrea Russo, Junior Research Associate
Fondazione CMCC
Centro Euro Mediterraneo sui Cambiamenti Climatici (http://www.cmcc.it)
Address: via Augusto Imperatore, 16 - 73100 Lecce
Phone: +39 0832 671064 - Fax: 0039 0832 671064
Dear,
I'm looking in a way to display a Masonry style page in XWiki for blog or
application.
The masonry style (often called "grid") is something like this :
http://mariustheme.tumblr.com/
// Why ?
In termes of ergonomics it show it full potential when images speak better
than text. This is why Google images and Pinterest use it.
Typical applications for XWiki could be :
- Physicial products database : the image help finding the product quicly
when not sure of the name.
- Designs database : not just an image, a design goes with some description
and data so it is usefull to link to a page.
- Physicial defects database : in industry, to quicly caracterise a defect
that appears visually on a part.
- ...
My need is for a nice looking collaborative product designs database.
This database would be one app in a Wiki that has other uses.
// The question :
What would be a simple way to make it in XWiki with a minimum coding ?
// My current search state and ideas :
I already searched the plugin database and couldn't find someting already
build. But I could have missed something.
Then, I thinked in making an app with App Within Minuts and modifing
LiveTable.
First step would be to edit the code to display only the first attachement
as a bigguer image.
It could be a quick fix waiting for the second step, more complex, to
display the LiveTable as a masonry view. There is already existing code
that could be adapted. However this would be at the limit of my few
programming skills and then taking a lot of time.
Also I'm not sure if LiveTable can be modified on the context of one
application only (not modifiing the others applications).
- If yes, would it still be possible to use Apps Within Minutes to modify
other parts of the app, not reversing the handmade code modifications ?
- If not I gess this mean I need a more complex plugin to add a "massonery
view" option to LiveTable and another option to Apps Within Minuts to
display it by default ?
This is only a XWiki beginner ideas so maybe someone has an idea of a
simpler way to do it ?
Regards
--
Thibaut DEVERAUX
+33 (0)6 75 51 20 80
Hello, I'm writing a macro extension in groovy. I need to use services
rendiring.parse () and i get an exception every time I try to use it. Can
anyone give a good example as to how to use it in a groovy script ? Thanks!
Dan.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-make-a-groovy-macro-work-tp7599001.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I wanted to assess how difficult it might be to disable all javascript
execution in HTML macros on XWiki. My main concern would be to avoid
breaking any important XWiki pages that utilize javascript within the HTML
macro (as referenced here:
http://lists.xwiki.org/pipermail/users/2009-June/012226.html). Is there any
XWiki functionality that is still dependent on executing javascript via
{{html}}?
I also noticed in the comments on this JIRA issue
(https://jira.xwiki.org/browse/XRENDERING-27?jql=text%20~%20%22html%20macro%…),
Vincent Massol mentioned that wiki macros 2.0 will be designed in such a way
that we can override the HTML macro and filter out javascript usages. I was
wondering if this was still the best solution to disabling future javscript
usage within {{html}}. Thank you!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disabling-javascript-in-HTML-macro-tp7599…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
You can use the new version of Apache's HTTP library, as follows, hope
it'll help you.
public class RestTest {
/**
* Create and initialize the http client.
*
* @return an HttpClient object
*/
HttpClient getClient(host, port, username, password) {
HttpClient httpClient = new HttpClient();
httpClient.getParams().setAuthenticationPreemptive(true);
httpClient.getState().setCredentials(
new AuthScope(host, port, AuthScope.ANY_REALM),
new UsernamePasswordCredentials(username, password)
);
return httpClient;
}
public static void main(String[] args) throws IOException {
// Get request example
HttpClient httpClient = getClient(yourHost, yourPort, yourUsername,
yourPassword);
GetMethod getMethod = new GetMethod(getURL);
getMethod.addRequestHeader("Accept", "application/json");
getMethod.setDoAuthentication( true );
String getURL = "your get url";
try {
int status = httpClient.executeMethod(getMethod);
System.out.println(getMethod.getResponseBodyAsString());
} catch (Exception e) {
//...
} finally {
// release any connection resources used by the method
getMethod.releaseConnection();
}
// Put request example
String putURL = "your put url";
PutMethod putMethod = new PutMethod(putURL);
putMethod.addRequestHeader("Accept", "application/json");
putMethod.setDoAuthentication( true );
try {
int status = httpClient.executeMethod(putMethod);
System.out.println(putMethod.getResponseBodyAsString());
} catch (Exception e) {
// ...
} finally {
// release any connection resources used by the method
putMethod.releaseConnection();
}
}
}
Best regards,
Mohamed.
On Sun, Apr 17, 2016 at 9:24 PM, Mohamed Boussaa <mohamed.boussaa(a)xwiki.com>
wrote:
> Hi,
>
> You can use the new version of Apache's HTTP library, as follows, hope
> it'll help you.
>
> public class RestTest {
> /**
> * Create and initialize the http client.
> *
> * @return an HttpClient object
> */
> HttpClient getClient(host, port, username, password) {
> HttpClient httpClient = new HttpClient();
> httpClient.getParams().setAuthenticationPreemptive(true);
> httpClient.getState().setCredentials(
> new AuthScope(host, port, AuthScope.ANY_REALM),
> new UsernamePasswordCredentials(username, password)
> );
> return httpClient;
> }
>
> public static void main(String[] args) throws IOException {
> // Get request example
> HttpClient httpClient = getClient(yourHost, yourPort, yourUsername,
> yourPassword);
> GetMethod getMethod = new GetMethod(getURL);
> getMethod.addRequestHeader("Accept", "application/json");
> getMethod.setDoAuthentication( true );
> String getURL = "your get url";
> try {
> int status = httpClient.executeMethod(getMethod);
> System.out.println(getMethod.getResponseBodyAsString());
> } catch (Exception e) {
> //...
> } finally {
> // release any connection resources used by the method
> getMethod.releaseConnection();
> }
>
> // Put request example
> String putURL = "your put url";
> PutMethod putMethod = new PutMethod(putURL);
> putMethod.addRequestHeader("Accept", "application/json");
> putMethod.setDoAuthentication( true );
> try {
> int status = httpClient.executeMethod(putMethod);
> System.out.println(putMethod.getResponseBodyAsString());
> } catch (Exception e) {
> // ...
> } finally {
> // release any connection resources used by the method
> putMethod.releaseConnection();
> }
> }
> }
>
>
>
>
> Best regards,
> Mohamed.
>
> On Sun, Apr 17, 2016 at 7:25 PM, Tobi <gman007(a)yandex.ru> wrote:
>
>> Hello,
>>
>> I was trying to write a program which would upload new pages on my wiki. I
>> was following these instructions
>> http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI , but
>> unfortunately most of the examples use old version of Apache's HTTP
>> library,
>> so they are not very useful for me.
>>
>> So I decided to try writing a program by following Apache's examples, but
>> when I was testing connectivity I realised that I can't even get access to
>> admin-only pages.
>>
>> Here's my code:
>>
>> import java.io.IOException;
>> import org.apache.http.auth.AuthScope;
>> import org.apache.http.auth.UsernamePasswordCredentials;
>> import org.apache.http.client.CredentialsProvider;
>> import org.apache.http.client.methods.CloseableHttpResponse;
>> import org.apache.http.client.methods.HttpGet;
>> import org.apache.http.impl.client.BasicCredentialsProvider;
>> import org.apache.http.impl.client.CloseableHttpClient;
>> import org.apache.http.impl.client.HttpClients;
>> import org.apache.http.util.EntityUtils;
>>
>> public class RestTest {
>>
>> public static void main(String[] args) throws IOException {
>> CredentialsProvider credsProvider = new
>> BasicCredentialsProvider();
>> credsProvider.setCredentials(
>> new AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT,
>> AuthScope.ANY_REALM, AuthScope.ANY_SCHEME),
>> new UsernamePasswordCredentials("Tobi", "mypass"));
>> CloseableHttpClient httpclient = HttpClients.custom()
>> .setDefaultCredentialsProvider(credsProvider)
>> .build();
>> try {
>> HttpGet httpget = new
>> HttpGet("http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHome");
>>
>> System.out.println("Executing request " +
>> httpget.getRequestLine());
>> CloseableHttpResponse response = httpclient.execute(httpget);
>> try {
>>
>> System.out.println("----------------------------------------");
>> System.out.println(response.getStatusLine());
>> EntityUtils.consume(response.getEntity());
>> } finally {
>> response.close();
>> }
>> } finally {
>> httpclient.close();
>> }
>> }
>>
>> }
>>
>> It gives me:
>> Executing request GET http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHome
>> HTTP/1.1 <http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHomeHTTP/1.1>
>> ----------------------------------------
>> HTTP/1.1 401 Unauthorized
>>
>>
>> I would really appreciate any help! Also, it would be great if you show me
>> more examples of using PUT method for xWiki RESTful!
>>
>>
>>
>> --
>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/xWiki-RESTful-HTTP-Connection-tp7599026.h…
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
Hello my fellow XWIKI-people.
I would like to create a button to generate some content.
Pseudo-code example
{{velocity}}
#set(button=false)
Click this Button causes #set(button=true)
#if($button)
script starts
#end
{{/velocity}}
Any ideas? I am pretty new to WIKI
Mit freundlichen Grüßen / Best regards
Oleg Rochlin | Werkstudent | System implementation
SSI SCHÄFER | SSI Schäfer Noell GmbH | i_Park Klingholz 18/19 | 97232 Giebelstadt | Germany
oleg.rochlin(a)ssi-schaefer.com<mailto:oleg.rochlin@ssi-schaefer.com>
Website<http://www.ssi-schaefer.de/> | Blog<http://www.ssi-schaefer.de/blog> | YouTube<http://youtube.com/lagerlogistik1> | Facebook<http://facebook.com/SSI.SCHAEFER.DE>
SSI Schäfer Noell GmbH | 97232 Giebelstadt | Germany
Incorporated in Würzburg | Commercial Register B 6936 | VAT no. DE170860279
Managing Directors: Rudolf Keller, Henricus Swinkels
Hi all,
Im running Xwiki 7.0.1 and I would like to configure LDAP Authentification.
I configured my xwiki.cfg like that http://pastebin.com/08DAw0eb
BUT I can't connect with my AD user.
Can you help me to setup this features please ?
Thanks you very much in advance.
Sébastien
Hello,
I was trying to write a program which would upload new pages on my wiki. I
was following these instructions
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI , but
unfortunately most of the examples use old version of Apache's HTTP library,
so they are not very useful for me.
So I decided to try writing a program by following Apache's examples, but
when I was testing connectivity I realised that I can't even get access to
admin-only pages.
Here's my code:
import java.io.IOException;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
public class RestTest {
public static void main(String[] args) throws IOException {
CredentialsProvider credsProvider = new
BasicCredentialsProvider();
credsProvider.setCredentials(
new AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT,
AuthScope.ANY_REALM, AuthScope.ANY_SCHEME),
new UsernamePasswordCredentials("Tobi", "mypass"));
CloseableHttpClient httpclient = HttpClients.custom()
.setDefaultCredentialsProvider(credsProvider)
.build();
try {
HttpGet httpget = new
HttpGet("http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHome");
System.out.println("Executing request " +
httpget.getRequestLine());
CloseableHttpResponse response = httpclient.execute(httpget);
try {
System.out.println("----------------------------------------");
System.out.println(response.getStatusLine());
EntityUtils.consume(response.getEntity());
} finally {
response.close();
}
} finally {
httpclient.close();
}
}
}
It gives me:
Executing request GET http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHome
HTTP/1.1
----------------------------------------
HTTP/1.1 401 Unauthorized
I would really appreciate any help! Also, it would be great if you show me
more examples of using PUT method for xWiki RESTful!
--
View this message in context: http://xwiki.475771.n2.nabble.com/xWiki-RESTful-HTTP-Connection-tp7599026.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
i want to count over different document a $counter in velocity. Do you have
an easy way that i can store and read that value so i can use it on all
documents (with different context)?
Is there a macro for such a job? I not found anything.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Parameter-in-different-contexts-tp7598994…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello:
I want to upload the latest PlantUML.jar server as an attachment to the
PlantUMLMacroGClass page. The current PlantUML.jar is outdated, and is
already an attachment to this page.
I press the "chose file"button, search for the .jar file, and invariably it
stops at about 2MB with an error message that says "an error occured while
uploading plantuml.jar". What could be the problem? the file is about 5MB
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Uploading-jar-as-attachment-to-page-fails…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello there. I am pretty new to XWIKI. I have some questions to LDAP and User information.
User management is currently used with LDAP. I changed user profile information and mapped fields to LDAP. Information is as usual updated once user logged in to XWIKI
I would like to know if there is any possibility to auto update user information in some time periods without pushing them to login in wiki.
Thanks!
Mit freundlichen Grüßen / Best regards
Oleg Rochlin | Werkstudent | System implementation
SSI SCHÄFER | SSI Schäfer Noell GmbH | i_Park Klingholz 18/19 | 97232 Giebelstadt | Germany
oleg.rochlin(a)ssi-schaefer.com<mailto:oleg.rochlin@ssi-schaefer.com>
Website<http://www.ssi-schaefer.de/> | Blog<http://www.ssi-schaefer.de/blog> | YouTube<http://youtube.com/lagerlogistik1> | Facebook<http://facebook.com/SSI.SCHAEFER.DE>
SSI Schäfer Noell GmbH | 97232 Giebelstadt | Germany
Incorporated in Würzburg | Commercial Register B 6936 | VAT no. DE170860279
Managing Directors: Rudolf Keller, Henricus Swinkels
From the XWiki source code, I see there is a difference in passing a document to the evenmanager:
The DocumentDeletingEvent is passing a “new XWikiDocument(doc.getDocumentReference())"
The DocumentUpdatedEvent (as an example) is passing the doc (the actual XWikiDocument)
The difference is, that the Document passed in the DeleteEvent is a new XWikiDocument and not the XWikiDocument that is about to be deleted.
Is there a reason why this difference exists?
Br,
Peter
Hello:
hyperlinks don't work in svg images. I have the following example on a page:
but you cannot click on it. You should be able to. Does it have something to
do with how xwiki renders images? or is the problem in the svg macro? I
really would like this to work.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/hyperlinks-in-SVG-images-tp7598960.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there, I would like to request a wiki for our organization
Description: The organization is California Dragon Boat Association (
http://cdba.org/) and we are a non-profit helping to push the sport of
dragon boating in our community for adults, college students, and youths.
I'm hoping to create a space for all collaborators to not only keep track
of our ongoing projects and logistical planning but to also archive
historical information.
Owner Name: John Yu
Wiki Name: cdba
Much appreciated and thank you!
--
John Yu
Hi all,
I'm new to Xwiki, and I recently imported a XAR for an extension, to see
what the process would be like for airgapped instances. Unfortunately, that
extension was already installed, and that seems to have broken its status
in the extension manager. If I click uninstall from the extension manager,
i get:
Starting job of type [uninstallplan] with identifier
[extension/plan/org.xwiki.contrib:application-project-management-taskmanager/wiki:xwiki]
Extension [org.xwiki.contrib:application-project-management-taskmanager] is
not installed
Finished job of type [uninstallplan] with identifier
[extension/plan/org.xwiki.contrib:application-project-management-taskmanager/wiki:xwiki]
Manually deleteing all of the extension's pages doesn't work either. How
can I fix things so I can use extension manager for this extension again?
Hi,
@Marius: No that does not work :(
Adding .WebHome leads to the same exception:
org.xwiki.rendering.macro.MacroExecutionException: Cannot find section [HFSS.properties] in document [produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
Does anybody has another hint ?
I use XWiki Enterprise 8.1-milestone-1 assuming that this is a stable
Version.
Ciao
Matze
Am 07.04.2016 um 18:02 schrieb Marius Dumitru Florea:
> On Thu, Apr 7, 2016 at 6:55 PM, Matthias Barmeier <
> matthias.barmeier(a)sourcepark.de> wrote:
>
>> Hi,
>>
>> I try to embedd a table (in a section) from another wiki page. I tried to
>> use the include macro in the following form:
>>
>> {{include reference="Synaptic.Technik.Konfigurationsdateien"}}
>>
>> The whole document is embedded as expected. After adding the section
>> attribute:
>>
>>
>> {{include reference="Synaptic.Technik.Konfigurationsdateien"
>> section="HFSS.properties"/}}
>>
> Try with reference="Synaptic.Technik.Konfigurationsdateien.WebHome" . Does
> it work? See http://jira.xwiki.org/browse/XWIKI-13066
>
>
>> I get:
>> Failed to execute the [include] macro. Cause: [Cannot find section
>> [HFSS.properties] in document
>> [produkte:Synaptic.Technik.Konfigurationsdateien]]. Click on this message
>> for details.
>>
>> but the document contains the necessary heading.
>>
>> This link works perfect when added to the document:
>>
>
>> [[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]
>>
> The link reference is handled a bit differently (for the moment) than the
> include reference. See
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80#HLinks…
>
> Hope this helps,
> Marius
>
>
>> Can any body give me a hint what is wrong ?
>>
>> Thanks.
>>
>> Ciao
>>
>> Matthias
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
-----------------------------------
SOURCEPARK GmbH
Dipl.-Inform. Matthias Barmeier
Geschäftsführer
Partner der Allianz für Cyber-Sicherheit
des Bundesamtes für Sicherheit in der
Informationstechnik (BSI)
Hohenzollerndamm 150
14199 Berlin
Tel: +49 (0)30/398 068 30
Fax: +49 (0)30/398 068 39
e-mail: matthias.barmeier(a)sourcepark.de
WWW: www.sourcepark.de
-----------------------------------
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
Geschäftsführer: Matthias Barmeier, Harald Dürr
-----------------------------------
Wichtiger Hinweis: Die vorgenannten Angaben werden jeder
E-Mail automatisch hinzugefügt und lassen keine Rückschlüsse
auf den Rechtscharakter der E-Mail zu.
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser E-Mail ist nicht gestattet.
Hi Users,
i programmed two years ago the Citation-Extension at
https://github.com/matthiaw/xwiki-rendering-macro-citations.
Now i found a bug in XWiki 8.x when i add on different pages the
CitationClass-Object. There is a null-pointer-exception at Line 79, see
https://github.com/matthiaw/xwiki-rendering-macro-citations/blob/master/xwi…
The Problem is that all Documents with the custom-object (doc in line 77)
are found, but the method returns an empty null-list for nested documents.
The Macro works when the Document with added XWiki.CitationClass-Objects is
NOT nested. But when it is nested then the reference looks like
Parent\.Child.WebHome. Is the Backlash the Problem? And when yes, where does
it come from?
You have any clue what i can do? Is that a bug or a mistake?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-in-Extension-tp7598895.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have an XWiki installation, and I noticed that emoji's were not getting
saved correctly and were rendering as question marks in XWiki. This is
caused by MySQL's default encoding which is "utf8" and not "utf8mb4"
(4-byte UTF to store the full unicode character set)
To fix this, I am in the process of converting all my MySQL database tables
into utf8mb4 encoding, which is turning out to be quite a lot of manual
work.
When XWiki creates the database tables for MySQL, can it use utf8mb4
encoding by default? Is this something I could open a bug request for?
Hi Mark,
> On 08 Apr 2016, at 23:18, Mark Bickford <mbickford(a)gmail.com> wrote:
>
> I am wondering if you are the correct person to contact regarding deleting my wiki: “mbickford.myxwiki.org”. If not, could point point me in the right direction? Thanks.
I can delete it for you. Anything you want to salvage? Do you need some XAR export for it?
Also, may I ask if there’s any specific reason you wish to delete this wiki for (for which we could do something about it)?
Thanks
-Vincent
PS: cc-ing the users list since that’s the right place where to ask
>
> -Mark
We set up a new Box with a fresh install of a 7.4.1 version. While
configuring and testing (permissions) everything all was perfect and clean.
Then we migrated the pages from the old wiki (also 7.4.1 - we wanted a fresh
install) - precisely only content pages, nothing else. Then we switched the
IP for the old domain and all of our LDAP user populated the new wiki, one
by one.
Since the fresh start all users experience the trouble that after the end of
the tomcat session (30 minutes) a re-login is required. After re-login a
XWiki message appears "you do not have the appropriate rights" (or similar).
Deletion of the cookie ~or closing the browser window and login again
reestablishes normal functions until the tomcat session is over again.
catalina.out: 2016-03-03 11:55:26,813
[https://wiki.sub.domain/xwiki/bin/view/Main/] WARN
u.i.x.MyPersistentLoginManager - Login cookie validation hash mismatch!
Cookies have been tampered with
Research in this forum did bring up discussions about the mess from 2010 and
bevor without any valuable pointers.
We updated to 7.4.2 without any change for the situation.
The site ist secure with a nginx proxy.
Any ideas?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Coo…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Vincent
Thanks. The viewer=children option is a usable workaround for now. The SpaceIndex option was slightly nicer because it was sortable on document title (not just location).
I was going to try editing XWiki.LiveTableResults but I couldn't work out where that was (which probably means I shouldn't touch it :-) )
Thanks again. I look forward to the final fix. Though 8.1 milestone 1 looks like will change more of the stuff we actually came to like in XWiki. But such is life. Thanks for the hard work.
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: 08 April 2016 09:21
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Nested pages livetable
Hi Mahomed,
> On 07 Apr 2016, at 19:01, Mahomed Hussein <Mahomed(a)CustodianDC.com> wrote:
>
> This issue has kind of bitten us as well. The table format of listing all documents in a particular space is really useful (regardless of nested pages or not). Sadly the spaceIndex (which I think is slightly different but related to this) doesn't list the new type pages.
Yes indeed, see http://jira.xwiki.org/browse/XWIKI-13239
I’ll probably take care of it in the coming days.
Thanks
-Vincent
> Kind regards,
>
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: Mahomed(a)CustodianDC.com
> http://www.CustodianDC.com
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of CarlJ
> Sent: 24 March 2016 11:51
> To: users(a)xwiki.org
> Subject: Re: [xwiki-users] Nested pages livetable
>
> Hi,
>
> I hate to bug but is there no way to display the children of a page in a
> livetable, because if there isn't I am going to have restore my wiki back to
> before I upgraded from our backup.
>
> Thanks and sorry to bug.
> - Carl
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi All,
I have just updated our install of our Xwiki to Version 8 from 7.1.2 and I
seem to have a problem with the new nested pages feature.
The problem I am having is with the Pages (previously called documents)
Macro that we use to list out the children of a particular page but it
doesn't seem list the pages that are using the new Nested Pages format it
only lists older format terminal page (That's what I believe they are
called).
What I wondering is this a bug or is there a new way to list nested pages in
a livetable?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Nested-pages-livetable-tp7598571.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I try to embedd a table (in a section) from another wiki page. I tried
to use the include macro in the following form:
{{include reference="Synaptic.Technik.Konfigurationsdateien"}}
The whole document is embedded as expected. After adding the section
attribute:
{{include reference="Synaptic.Technik.Konfigurationsdateien"
section="HFSS.properties"/}}
I get:
Failed to execute the [include] macro. Cause: [Cannot find section
[HFSS.properties] in document
[produkte:Synaptic.Technik.Konfigurationsdateien]]. Click on this
message for details.
but the document contains the necessary heading.
This link works perfect when added to the document:
[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]
Can any body give me a hint what is wrong ?
Thanks.
Ciao
Matthias
I have a script as follows that displays a list of users that meet some
criteria (the actual where clause I'm using is a bit more complicated than
shown below):
{{velocity}}
#set ($users=$services.query.xwql("FROM doc.object(XWiki.XWikiUsers) AS user
WHERE (user.first_name LIKE '%Mar%')").execute())
#set ($numUsers = $users.size())
#if ($numUsers > 0)
#foreach ($user in $users)
#if (!$user.isHidden())
[[$user]]
#end
#end
#end
{{/velocity}}
My problem is that the isHidden method is filtering out the users whose
pages I've marked as hidden. How can I fix this script to list only the
users who are not hidden?
Mark
--
View this message in context: http://xwiki.475771.n2.nabble.com/Display-users-that-are-not-hidden-tp75988…
Sent from the XWiki- Users mailing list archive at Nabble.com.
or another concurrent SSX object? => You can check wich SSX object is applied with firebug
--------------------------------------------
En date de : Jeu 7.4.16, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: Re: [xwiki-users] Numbered headings
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 7 avril 2016, 11h22
Hi,
Me too, macro working well on xwiki 7.0.1
May be Ctrl+F5 needed because you just apply it on all
wiki?
Pascal B
--------------------------------------------
En date de : Jeu 7.4.16, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
a écrit :
Objet: Re: [xwiki-users] Numbered headings
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 7 avril 2016, 9h56
Hi Dan,
This extension works fine for
me. I just installed it on XWiki 8.1M1, I
edited Sandbox home page, put
{{numberedheadings/}} at the start then
saved. The headings were correctly numbered.
Hope this helps,
Marius
On Wed,
Apr 6, 2016 at 7:28 PM, dullfig <dan.u(a)grmcompany.com>
wrote:
> hello:
>
> We are using the wiki
to write procedures for our company. It is an
> aerospace environment, so customers are
used to seeing procedures with
> numbered
headings like "paragraph 1.1.2" etc.
>
> Has anyone used the
"numbered headings" macro? I installed the
extension
> but
> the
headings don't increment. they all come out "0.1
xxxxx". I need this to
> work.
>
> Dan
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Numbered-headings-tp7598833.html
> Sent from the XWiki- Users mailing list
archive at Nabble.com.
>
_______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
Me too, macro working well on xwiki 7.0.1
May be Ctrl+F5 needed because you just apply it on all wiki?
Pascal B
--------------------------------------------
En date de : Jeu 7.4.16, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] Numbered headings
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 7 avril 2016, 9h56
Hi Dan,
This extension works fine for
me. I just installed it on XWiki 8.1M1, I
edited Sandbox home page, put
{{numberedheadings/}} at the start then
saved. The headings were correctly numbered.
Hope this helps,
Marius
On Wed,
Apr 6, 2016 at 7:28 PM, dullfig <dan.u(a)grmcompany.com>
wrote:
> hello:
>
> We are using the wiki
to write procedures for our company. It is an
> aerospace environment, so customers are
used to seeing procedures with
> numbered
headings like "paragraph 1.1.2" etc.
>
> Has anyone used the
"numbered headings" macro? I installed the
extension
> but
> the
headings don't increment. they all come out "0.1
xxxxx". I need this to
> work.
>
> Dan
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Numbered-headings-tp7598833.html
> Sent from the XWiki- Users mailing list
archive at Nabble.com.
>
_______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
hello:
We are using the wiki to write procedures for our company. It is an
aerospace environment, so customers are used to seeing procedures with
numbered headings like "paragraph 1.1.2" etc.
Has anyone used the "numbered headings" macro? I installed the extension but
the headings don't increment. they all come out "0.1 xxxxx". I need this to
work.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Numbered-headings-tp7598833.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Ok. I followed through on the "FAQ" app that is given as an example of a
(loose) one to many database app. Worked perfect. But...
I want something a little more advanced. I'm writing the company quality
manual using XWiki, and I think it would be fantastic if the wiki also was
the actual database running the company (like accounting, job scheduling
etc). That way it's all integrated and you "help file" is also the company
manual. This of course would require a more robust data model with
referential integrity and all that. What would be the most elegant way of
accomplishing this? is there an add-on to do relational databases? I am
running MySQL in the background to store the wiki already.
So what I envision is that some of the pages on the wiki would be data entry
pages, to input data into the system.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Using-XWiki-for-a-database-application-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone:
We have only been using XWiki for a while now (version 6), and it seems to
me that loading individual pages takes a while. Not sure how long it should
take to load a new page. Seems sluggish, but I don't know what's expected.
Any rule of thumb on how long it should take?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Sluggish-performance-tp7598821.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Due to another issue, I had to recreate some users (including the one I had
been using as the administrator). Instead of just hiding the old users, I
decided to delete them. It was a mistake to delete the old admin user
because, now, scripts that were last modified by that user will not execute
(even by the new admin user). The new admin user needs make some new
modification to the script in order to execute it.
Is there a mechanism by which I could get a list of all the scripts that
were last modified by that old user so that I could go in and clean up this
problem at one go instead of one by one as I stumble onto those pages? Is
there another workaround a person can use when they shoot themselves in the
foot like this?
Note that I tried restoring the old admin user from the deleted documents.
He then appears in the user directory as expected. But the scripts will
still not execute. So it appears that restoring a user has the effect of
creating a new user with the same attributes as the old one instead of
actually recreating the old user. Could this be considered an issue (defect
or improvement) worthy of recording in JIRA?
Mark
--
View this message in context: http://xwiki.475771.n2.nabble.com/Deleting-admin-user-blocks-execution-of-s…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I don't have that much experience with XWiki, so I just need a gentle nudge
in the right direction
I use XWiki to write internal procedures in the company. I also want to do a
yearly audit to verify compliance to the procedures. So what I want to do is
have in each procedure one section called "audit items", and have any items
in that section show up in a master audit list. Also, I want the main audit
list to be a live table, so I can check "yes" or "no" each item.
Can this be done with the "app in minutes" wizard somehow?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-items-from-pages-into-an-app-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
8.1 Milestone 1.
This milestone release brings an upgrade to Java 8 runtime, improvements to
Extension Manager and Flavors, and a new Tips panel that replaces the old
Quick Links panel.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81M1
The following people have contributed code to this release (sorted
alphabetically):
Alexandru Cotiuga
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Jean SIMARD
Manuel Smeria
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Is it possible to pass an array as a macro parameter? So far my attempts have failed.
Macro code:
#set( $a = $xcontext.macro.params.array)
$a
#foreach($i in $a)
$i
#end
Page code:
#set( $array = ['Chapter 1', 'Chapter 2', 'Chapter 3'])
$array
#foreach($i in $array)
$i
#end
{{test array=$array/}}
The array processed in the page works as expected. The array passed to the macro only prints up to the first space between Chapter and 1. I have also tried to enter the array as a string which passes the string but the macro does not treat it as an array, which doesn’t surprise me. The comments from Stefan and Vincent on http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial seem to touch on this issue but I do not understand the answer provided. Thank you for any clarification to this issue you can provide.
Regards,
Jesse Bright
Hello, can someone please re-open the wiki at mcdev.myxwiki.org? It's been
flagged as spam.. Maybe it had free registration on?
Thanks in advance!
-Joe
My bad, with that, it is working well in my xwiki page :-)
xc = xcontext.getContext()
gArch.removeVersions(gArch.getLatestVersion(), gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())),xc)
--------------------------------------------
En date de : Lun 4.4.16, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: Error with groovy script from a page but not in scheduler
À: "XWiki Users" <users(a)xwiki.org>
Date: Lundi 4 avril 2016, 11h46
Hi,
I can't understand an error when I launch a groovy script
from a wiki page but I haven't error when my groovy script
is launched in scheduler...
My nice script delete previous version of MyPage with
removeVersions methods:
MyGroupAuto =
xwiki.getDocument("Space.MyPage")
// remove last version
gArch = MyGroupAuto.getDocumentArchive()
gArch.removeVersions(gArch.getLatestVersion(),
gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())),
context)
MyGroupAuto.save()
***************
public void removeVersions(org.suigeneris.jrcs.rcs.Version
newerVersion,
org.suigeneris.jrcs.rcs.Version olderVersion,
XWikiContext context)
throws XWikiException
Remove document versions from vfrom to vto, inclusive.
***************
When I launch same script in a wiki page (betwwen {{groovy}}
tags and page recorded by Admin with PR), I obtain this
error and my script stopped but same script working well in
scheduler:
Caused by: javax.script.ScriptException:
javax.script.ScriptException:
groovy.lang.MissingMethodException: No signature of method:
com.xpn.xwiki.doc.XWikiDocumentArchive.removeVersions() is
applicable for argument types:
(org.suigeneris.jrcs.rcs.Version,
org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.api.Context)
values: [29.1, 27.1, com.xpn.xwiki.api.Context@3f45ea13]
Possible solutions:
removeVersions(org.suigeneris.jrcs.rcs.Version,
org.suigeneris.jrcs.rcs.Version,
com.xpn.xwiki.XWikiContext)
at
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)
All ideas why this behavours is welcome :-)
thxs
Pascal B
Hi,
I can't understand an error when I launch a groovy script from a wiki page but I haven't error when my groovy script is launched in scheduler...
My nice script delete previous version of MyPage with removeVersions methods:
MyGroupAuto = xwiki.getDocument("Space.MyPage")
// remove last version
gArch = MyGroupAuto.getDocumentArchive()
gArch.removeVersions(gArch.getLatestVersion(), gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())), context)
MyGroupAuto.save()
***************
public void removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion,
org.suigeneris.jrcs.rcs.Version olderVersion,
XWikiContext context)
throws XWikiException
Remove document versions from vfrom to vto, inclusive.
***************
When I launch same script in a wiki page (betwwen {{groovy}} tags and page recorded by Admin with PR), I obtain this error and my script stopped but same script working well in scheduler:
Caused by: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: com.xpn.xwiki.doc.XWikiDocumentArchive.removeVersions() is applicable for argument types: (org.suigeneris.jrcs.rcs.Version, org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.api.Context) values: [29.1, 27.1, com.xpn.xwiki.api.Context@3f45ea13]
Possible solutions: removeVersions(org.suigeneris.jrcs.rcs.Version, org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.XWikiContext)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)
All ideas why this behavours is welcome :-)
thxs
Pascal B
On Sun, Apr 3, 2016 at 4:32 PM, Peter Huisman <p.huisman(a)ximm.nl> wrote:
> Hi,
>
> A few short questions:
>
> What is the storage limit when NOT using Relational Storage for each
> selected item? - I assume this is 255 but I’m not sure.
> What is the storage limit when NOT using Relational Storage for all
> selected items in total? - I do not know what to make of this.
>
I think the quote you pasted is pretty clear: if you're not using
Relational Storage then all the selected items (values) are saved in the
same VARCHAR field which is limited, normally, to 255 characters. So
there's no per-selected-item limit but only for-all-selected-items limit
(i.e. for the concatenation).
Hope this helps,
Marius
>
> The only reference I could find is a quote in an XWiki-devs mail in 2011:
>
> > Make sure you select the Multiple Select and Relational Storage
> > checkboxes. Multiple Select allows you to select and store multiple
> > values from the list, while Relational Storage makes it easier to
> > integrate that property into other queries by storing each selected item
> > in its own entry in the database (without it all the selected values are
> > stored in one row, concatenated into a VARCHAR column), and to store
> > more than a few selected values (since the column allows at most 255
> > characters in total).
> With kind regards,
>
> Peter
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
I deleted all of the 8%2E0 folders and reset the DB. Now it's loading with 8.0, but this time I never got the DW wizard at all. So I am switching us to production MySQL. I have a sneaky suspicion that the UI is not updated properly, but it's working (and it does seem faster, as the release notes indicate), so I am calling this good enough until we run into a problem.
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Sunday, April 3, 2016 12:10 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem
I just tried again. After upgrading the application files, I skipped the Distribution Wizard and we still have the correct permissions. So I ran the DW and I got this:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki] class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
....................
So I removed all of the folders named "8%2E0", that allowed me to complete the DW. I did see a page about XWikiAdminGroup being changed, so I kept my old version this time. However, after the DW was complete, permissions are gone again.
Resetting back to 7.4.2 to try again.
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Friday, April 1, 2016 10:55 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem
Hmm, no response. Does nobody have any ideas or are you all mad at me about my documentation comments?
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Monday, March 28, 2016 9:05 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem
I still can't figure out what is causing this issue. We use LDAP (Active Directory) if that helps.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 5:21 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:52 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki] class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I still can't figure out what is causing this issue. We use LDAP (Active Directory) if that helps.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 5:21 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:52 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
I have pages which include the text: (i)
The Xwiki syntax is converting this into: image:icon:information
I have tried the following in an attempt to escape this text:
~(i~) which is completely ignored.
{{{(i)}}} which leaves only a blank space
Any suggestions on how I can get the desired plain text? Thanks for your time.
Regards,
Jesse
Hi,
I spent the last week or so figuring out very strange behavior which I could not explain. I’m not sure if any sort of code would be helpful so I just explain what the situation is:
We have a class “caseClass” containing (among others) the following DBList:
Name = product
Pretty Name = product
Custom Display = [
{{velocity}}
#set ($propertyClass = $object.getxWikiClass().get($name))
#if ($type == 'edit')
{{html clean=false}}
$doc.displayEdit($propertyClass, $prefix, $object)
{{/html}}
#else
#set($listMap=$propertyClass.getMapValues())
#foreach($fieldKey in $object.getProperty($name).value)
#set($fieldValue=$listMap.get($fieldKey).getValue())
[[${fieldValue}>>$services.PropertyManager.getSourceURL(${fieldKey})]]
#end
#end
{{/velocity}}
]
DisplayType = select
Multiple Select = true
Since of box = 10
Multiselect seperators = [empty]
Join seperator = [ , ]
Sort = none
Relational Storage = true
Cache = false
Hibernate Query = [
SELECT idVarProp.value, CONCAT(codeVarProp.value, ' - ', naamVarProp.value, ' (', codeProdProp.value, ' - ', naamProdProp.value, ')')
FROM BaseObject obj, StringProperty idVarProp, StringProperty codeVarProp, StringProperty naamVarProp, StringProperty idVarProdProp,
BaseObject obj2, StringProperty idProdProp, StringProperty codeProdProp, StringProperty naamProdProp
WHERE obj.className = 'PDCKlassen.VariantClass' AND
obj2.className = 'PDCKlassen.ProductClass' AND
idVarProp.id.id = obj.id AND idVarProp.id.name = 'identificatieString' AND
codeVarProp.id.id = obj.id AND codeVarProp.id.name = 'codeVariant' AND
naamVarProp.id.id = obj.id AND naamVarProp.id.name = 'naamVariant' AND
idVarProdProp.id.id = obj.id AND idVarProdProp.id.name = 'product' AND
idProdProp.id.id = obj2.id AND idProdProp.id.name = 'identificatieString' AND
codeProdProp.id.id = obj2.id AND codeProdProp.id.name = 'productCode' AND
naamProdProp.id.id = obj2.id AND naamProdProp.id.name = 'naam' AND
idVarProdProp.value = idProdProp.value AND
obj.name <> 'PDCKlassen.VariantTemplate' AND obj2.name <> 'PDCKlassen.ProductTemplate'
ORDER BY codeProdProp.value, codeVarProp.value
]
XWiki Class name = [empty]
Id Field Name = [empty]
Value Field Name = [empty]
The functional side is, that this field can contain 0 - n occurrences.
We have a java based listener that is used to save pages with one (and only one) object this class on the page with a version comment:
xwikiContext.getWiki().saveDocument(XWikiDocument, comment, true, xwikiContext)
Situation 1: The object contains zero references (i.e. is empty)
the following is happening:
Version 1.1 - This is the initial version
After generating a listener event that saves the document (version 1.1) as above:
Version 1.2 - with the proper comment as passed by the save and as comment “first comment"
After generating another listener event that saves the same document (version 1.2 this time) as above and as comment “second comment":
Version 1.2 - no change detected. The version comment is still “first comment”
Editing the page and pressing save button:
Version 1.3 (minor edit) of Version 2.1 (major edit)
If I go back to the first step (as described after Version 1.1), the same results show up.
I have checked everything up to that actual save in the XWiki class. I can see that the information passed to the saveDocument in the XWiki class is the ‘right’ information.
Situation 2: The object contains one (or more) references (i.e. is not empty)
the following is happening:
Version 1.1 - This is the initial version
After generating a listener event that saves the document (version 1.1) as above with comment “first comment"
Version 1.2 - with the proper comment as passed by the save and as comment “first comment"
After generating another listener event that saves the same document (version 1.2 this time) as above and as comment “second comment":
Version 1.3 - with the proper comment as passed by the second save and the comment “second comment”
Since I did not understand what is actually happening, I have dogged in the various aspects such as comparing object, sheets and whatnot but I could not detect any difference.
Until I decided to change “Relational Storage” to false. This resulted in the proper situation (described by Situation 2 - with an empty DBList as well as an non-empty DBList)
What is the effect is for the “Relational Storage” parameter?
Why is the situation as above occurring and is this the expected result or is this a bug or undocumented feature?
I’m sorry for the extensive explanation but it took me also a while to figure out what happened.
Br,
Peter
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Today I wanted to upgrade our XWiki installation from 7.4.1 to 7.4.2.
I did a WAR upgrade, following the documentation at
<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewe…>
(I successfully performed these steps with previous xwiki versions many times)
In my installation, XWiki runs on apache-tomcat-7.0.61 under java version 1.8.0_73
I use PostgreSQL as database. User authentication is done against our
After restart of Tomcat XWiki started and initialized at first access as usual and
I could login as user with admin rights without problems, but then I noticed some
strange things:
1) the distribtion wizard did not appear after first login with admin rights
2) In the page footer (and with $xwiki.getVersion()) I still see version 7.4.1
Apart from that, the wiki seems to work. I can not see any difference to the
previous version (including the version number, which made me wonder the upgrade
might have failed in some way)
I then removed the .../jobs/status/distribution/status.xml file and restarted
Tomcat, but the DW still did not start and I still see version 7.4.1.
The status.xml file was not re-created, the directory .../jobs/status/distribution
is currently empty.
I checked the following:
*) tomcat/webapps/xwiki/WEB-INF/lib contains libraries from Feb. 29th, 2016
*) all xwiki-*.jar files in WEB-INF/lib have version 7.4.2
*) the xwiki WAR file I used is:
andreas@dyn239:~/Download> ll xwiki-enterprise-web-7.4.2.war
- -rw-rw-r-- 1 andreas outlaws 230759467 29. Mär 13:32 xwiki-enterprise-web-7.4.2.war
andreas@dyn239:~/Download> sha1sum xwiki-enterprise-web-7.4.2.war
8378e85f72ee91a3fb2d279c75f6a40f0d57e84d xwiki-enterprise-web-7.4.2.war
Is this expected behaviour with v7.4.2?
Thanks!
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iD8DBQFW+njwxJmyeGcXPhERAqKoAJ9CQQR3ckUkfSRQiqwhBQg63obthwCfW2Vq
vhrJVOQM88aJKCtwce/yJ/Y=
=MvtJ
-----END PGP SIGNATURE-----
I have successfully configured our xwiki site to use LDAP authentication
against Active Directory. The convention for the user IDs in our Active
Directory is to use a period to separate the given name and surname as in
mark.sack. I added the LDAPProfileClass object to the user profiles to map
the Active Directory IDs to the internal wiki ones. I had created the users
before implementing the Active Directory authentication with the convention
of an underscore in between the given name and the surname.
Now I would like to implement a single signon solution for all of our
applications and have set up a CAS server to authenticate against Active
Directory. The authentication works fine but the CAS authentication in xwiki
seems to simply strip out the period in the Active Directory ID instead of
mapping to the existing user. I observed the following behaviour:
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 1 and login
as mark.sack (with my Active Directory password), the login is successful.
But xwiki creates a new user with id marksack instead of mapping to the
existing mark_sack user (mark_sack has the LDAPProfileClass set to
mark.sack).
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 0 and login
as mark.sack, the login fails with a message that to the effect that the
user does not exist.
How could I achieve the mapping of xwiki users to Active Directory for CAS
authentication?
Our system is relatively small (about 40 users so far) and has not yet
really been rolled out to the user community. So if need be, I could create
new xwiki users following the convention required by xwiki (no character
between the given name and surname). But I would prefr to avoid that if I
can.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Users,
i added over 500 Pages to the new XWiki and now want to sort it in depth.
But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i change
the Parent of a Page?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Set-Parent-in-XWiki-8-0-tp7598643.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I noticed that the supported version of PostgreSQL for XWiki 8.0 is 9.4.5.
But for 7.4.2 it is 9.5. Is there some significance to this, eg. there is
some function in 8.0 that was found not to work with PostgreSQL 9.5? Or is
this simply an artefact of the testing process? Is there a need to downgrade
PostgreSQL to 9.4.5 if I upgrade XWiki to 8.0?
The database support strategy page could be interpreted to indicate that all
PostgreSQL 9.x releases are supported. But I find it hard to believe that
you would be that generous (9.0 has reached its end of life milestone and
9.1 is almost there).
--
View this message in context: http://xwiki.475771.n2.nabble.com/PostgreSQL-version-downgraded-for-8-0-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.