Hello,
Before installing XWiki, I wanted to play around in the Sandbox some to see
if it meets our requirements.
http://playground.xwiki.org/xwiki/bin/view/Sandbox/TestPage1 states:
Click on "Edit" and modify the contents of this page,
then click on "Save & View" to see how they look like on your page!
But there is no 'Edit' menu or button to be found.
And yes, I registered and logged in. Even tried different browsers to make
sure it isn't some pluggin I installed.
Is this supposed to work?
Kind regards,
Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
Je suis absent(e) du bureau jusqu'au 28/12/2015
Je suis actuellement en congés.
En cas d'urgence, merci de contacter le Support Technique Isocel
support-technique(a)isocel.info ou Tel: 05 24 54 99 80
Remarque : ceci est une réponse automatique à votre message "Re:
[xwiki-users] Documentation on Velocity binding for 'config' object?"
envoyé le 18/12/2015 15:08:53.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
Thank you for the information. I was able to to go directly to the Invitation.InvitationConfig Document and see where I could edit the snippet of code that accesses the 'guestsActionsPage'. (The Velocity code resides in an object of type "Invitation.WebHome" and there is an item titled "Email message body HTML template"). But I don't see anywhere that I can actually change the value of guestsActionsPage itself.
So I can't find where "$config.get("guestsActionPage") is actually defined. Is somewhere that I can modify its value? Or could it be hard-coded into the application?
I also looked at the XWiki.XWikiServerXwiki document and found an object of type XWikiServerClass. This object has a property named "Server" that is set to "localhost". But that's not what the getExternalURL method seems to be using (it is getting a value that matches the short hostname). Is this the property that you were referring to in your answer?
Thank you again for your help.
-Eric
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Eduard Moraru
Sent: Thursday, December 17, 2015 5:51 PM
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Documentation on Velocity binding for 'config' object?
Hi,
I don`t know the code of the app in question, but specifically to your
questions:
* the document "Invitation.InvitationConfig" seems to be the one holding the configuration object with the "guestsActionsPage" property
* getExternalURL uses the server configuration that you have set in your wiki's descriptor located in the main wiki at "XWiki.XWikiServerXwiki" (for the main wiki) or in "XWiki.XWikiServerWikiname" (for a subwiki).
Hope this helps,
Eduard
On Thu, Dec 17, 2015 at 8:36 PM, deltamind106 <ericj(a)valmarc.com> wrote:
> There is a snippet of Velocity code in the XWiki invitation email
> template that looks like this:
>
>
>
> *$xwiki.getDocumentAsAuthor($config.get("guestsActionsPage")).getExter
> nalURL())*
>
> Where is the 'config' binding for Velocity documented? If I want to
> change the value for "guestsActionPage", where would make this change?
>
> How does the "getExternalURL" method work? Currently, it seems to be
> using the short hostname in the URL it returns, which will not work
> for us since that particular hostname is not published on our DNS
> server. So I need to change the behavior of "getExternalURL" so that it uses an IP address.
> Where would I do that?
>
> Thank you in advance for any help you can provide.
> -Eric
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Documentation-on-Velocity-binding-fo
> r-config-object-tp7597271.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
There is a snippet of Velocity code in the XWiki invitation email template
that looks like this:
*$xwiki.getDocumentAsAuthor($config.get("guestsActionsPage")).getExternalURL())*
Where is the 'config' binding for Velocity documented? If I want to change
the value for "guestsActionPage", where would make this change?
How does the "getExternalURL" method work? Currently, it seems to be using
the short hostname in the URL it returns, which will not work for us since
that particular hostname is not published on our DNS server. So I need to
change the behavior of "getExternalURL" so that it uses an IP address.
Where would I do that?
Thank you in advance for any help you can provide.
-Eric
--
View this message in context: http://xwiki.475771.n2.nabble.com/Documentation-on-Velocity-binding-for-con…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users and devs,
An important security issue in the XML-RPC module of XWiki (http://extensions.xwiki.org/xwiki/bin/view/Extension/XML-RPC+Integration) was brought to our attention by a community member (thanks Ruben Herold). Specifically if your wiki is available on the internet, it’s possible that an intruder may have had access to local files that can be read by the user under which you’ve started the Servlet Container used for XWiki.
Note 1: The issue actually comes from the version of the Apache XMLRPC module we were using (https://ws.apache.org/xmlrpc/). It’s been fixed in the latest version (3.1.3). We were using version 3.1.
Note 2: ThE XWiki XMLRPC module has been deprecated for a long time now (was replaced by REST) but it was still enabled till XWiki 7.3M1:
* In XWiki 7.3M1 we’ve turned off that feature
* In XWiki 7.4M2 we’ve removed it altogether by default
We recommend that you either upgrade to XWiki 6.4.7, 7.1.4 or 7.3+ or that you turn-off the XML-RPC feature on your wiki **especially if your wiki is open on the internet**.
Turning it off is easy: edit XWiki’s META-INF/web.xml file and comment out or remove the following sections:
...
<!--filter-mapping>
<filter-name>XWikiXmlRpcContextInitializationFilter</filter-name>
<servlet-name>xmlrpc</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping—>
...
<!--servlet>
<servlet-name>xmlrpc</servlet-name>
<servlet-class>com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet</servlet-class>
<init-param>
<description>Sets, whether the servlet supports vendor extensions for XML-RPC.</description>
<param-name>enabledForExtensions</param-name>
<param-value>false</param-value>
</init-param>
</servlet—>
...
<!--servlet-mapping>
<servlet-name>xmlrpc</servlet-name>
<url-pattern>/xmlrpc/*</url-pattern>
</servlet-mapping—>
…
Sorry for the inconvenience.
Thanks
-Vincent Massol on behalf of the XWiki Core dev team
PS: If you need to discuss more about this security issue we recommend that you use XWiki’s security list, see http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists
The XWiki development team is proud to announce the availability of XWiki
7.4 Milestone 2.
This is our last stabilization branch for the XWiki 7.x Cycle. It brings
polishing and stabilization for the Nested Pages feature and the changes in
UI that resulted from it. It is now possible to have template hierarchies,
and to add an automatic redirect when a page is renamed.
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/ReleaseNotesXWiki74M2
The following people have contributed code to this release (sorted
alphabetically):
Guillaume Delhumeau
Sergiu Dumitriu
Marius Dumitru Florea
Vincent Massol
Eduard Moraru
Thomas Mortagne
Manuel Smeria
Thanks for your support
-The XWiki dev team
Hi!
I'm moving an old XWiki installation (XWiki Enterprise 2.4.30451) to a new
box. It currently runs as root in a CentOS/Tomcat/MySQL box serving pages
at port 80. The destination is a Ubuntu/Apache Web Server/Tomcat MySQL
where an Apache virtual host will serve all controller and virtual wikis. A
different application is already running as root in the destination.
I do need to remove the application part of the URL from the pages served
by the new location. This is mainly due to lots of hardcoded URLs I''m not
able to get rid of them now.
This simple virtual host configuration works fine, but I'm not able to
understand how could I remove the "atriumkm", the application, part of the
URL...
<VirtualHost *:80>
ServerAdmin ricardo.rodriguez(a)idisantiago.es
ServerName isabel.idisantiago.es
RedirectMatch permanent ^/$ http://isabel.idisantiago.es/atriumkm/
ProxyPass /atriumkm http://localhost:8080/atriumkm
ProxyPassReverse /atriumkm http://localhost:8080/atriumkm
DocumentRoot /var/www/html
# Logging
ErrorLog /var/log/apache2/isabel.idisantiago.es-error_log
CustomLog /var/log/apache2/isabel.idisantiago.es-access_log common
</VirtualHost>
I've found this thread that it seems to me deals with a similar issue...
http://markmail.org/thread/u5hu7kw6rr2fcacx
... but I'm not able to understand how to get it working.
Please, must I be able to do that by modifying the VirtualHost
configuration? Must I modify web.xml? Something related with xwiki.cfg
parameters? There are a lot of information playing around and concepts I
don't understand well.
Any help will be extremely welcome!
Cheers!
Ricardo
Hi users,
I have installed XWiki 7.3 but when I start the service, you can see in the
attachments what the commando prompt is saying to me.
I have tried to unistall and re-install, I've cheched the environment
variable JAVA HOME and I don't know how to solve this.
Giordano.
Hi users,
I am wondering on how to update the content of a xwiki page, in paticular I
want to add a link to the content that already is in the page. Any
suggestions?
Giordano.
I'm creating a form but I prefer using HTML and bootstrap rather than only
velocity syntax. I have the following problem:
<http://xwiki.475771.n2.nabble.com/file/n7597164/userlist.png>
I want to insert user selection list into the form. By doing the following:
{{velocity}}
{{html velocity="true" }}
<div some html details>
#set( $tempobj = $doc.newObject('Classes.USR'))
$tempobj.display('userslist','edit')
</div>
{{html velocity="true" }}
{{/velocity}}
however I get the {{html}} tag around the search box which I don't want. How
can I remove this?
closing and opening the html before and after the call gives rendering
errors. Is there a way to all the $tempobj.display('userslist','edit')
function without rendering the {{html}} tags?
Which function in java lib will give me a simular output? maybe I can do
this through a java component?
What output does the displayEdit() method in BaseObject class give?
I tried something like this, but did not work, I might be totally wrong..
XWikiContext xcontext = this.xwikiContextProvider.get();
DocumentReference referenceClass = resolver.resolve("Classes.USR");
XWikiDocument doc = xcontext.getDoc();
BaseObject domainObject = doc.getXObject(referenceClass);
String disp = domainObject.displayEdit("userslist", xcontext);
return disp
--
View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-html-parsing-of-user-list-tp7597164…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
I am developing a Java Component that offers APIs through a script service.
Those APIs have to modify space and pages' contents of a wiki, thus I was
wondering on how to do that....I already know that if I want to perform
modifications to a Wiki I must add the "xwiki-platform-oldcore" (in my case
the version 7.3) dependency to my pom.xml but I can't still access the
Classes and methods that I need. Meaning that I can't get the wiki from the
context, and this blocks everything because (if i am not wrong) then I
can't get the DocumentReference and the XWikiDocument that allow me to
perfom modification to the Wiki.
It is something related to the *settings.xml* file in the *.m2* folder?
What I've written in there is the same that i found at this page
http://dev.xwiki.org/xwiki/bin/view/Community/Building# but the
"xwiki-platform-oldcore" doesn't appear nor in the repository folder
neither in the Maven Dependencies....either the dependecy is written in the
pom....
Hope to find some help!
Giordano.
Hi Eduard,
Thank you for that response. I guess I should have detailed that I was
looking to get going in the fastest possible way with a long term, stable
deployment. I thought Jelastic might be a good way to provision but
they're pulling from edge rather than LTS. This might be something worth
looking at so not to discourage new deployments via Jelastic. Just good
customer experience and such...
I may have some time to look into this between semesters.
Best,
Andy
>
> ---------- Forwarded message ----------
> From: Eduard Moraru <enygma2002(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Cc:
> Date: Wed, 9 Dec 2015 12:18:58 +0200
> Subject: Re: [xwiki-users] Click Deployment Issues with jelastic and wizard
> Hi,
>
> I don`t know about jelastic, but the fastest ways for you to try out XWiki
> would be (in order of simplicity):
>
> 1) Try out the live demo at
> http://playground.xwiki.org/xwiki/bin/view/Main/
> It's perfectly safe to do whatever you want, it is periodically reset. Note
> that not all features will be available though and it's not running the
> latest version.
>
> 2) Ask for a http://www.myxwiki.org account and you will receive a free
> subwiki instance that you can use for non-profit purposes, but with limited
> access (no Programming Rights) and no guarantees. This one has a currently
> a newer version than the playground.
>
> 3) Just grab the a local version of XWiki
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Download and install/unzip
> it on your machine to try out all XWiki's features with full control. No
> difficult setups needed either, just make sure you have the Java runtime
> installed on your machine.
>
> Hope this helps,
> Eduard
>
Good day.
I'm trying to add users to a users list within a object. After I have
instanciated the object on the document which I want to ammend, how do I
"set" and "get" the user list property in a java component? I have:
BaseObject domainObject = doc.getXObject(referenceClass);
domainObj.set("lisfOfUsers", ??user?? , xcontext);
domainObj is of a class where the "lisfOfUsers" is a List of Users property.
Currently I have the username as a string. I have tried creating a User or
XWikiUser object and setting the property with the object but with no
success.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-users-to-a-user-list-form-a-java-c…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Tried To Change skins of Waihonapedia.myxwiki.org.
Got a authorization error. Since That the url give white screen?
Help...
Thanks,
Gerritjan
Verstuurd vanaf mijn iPhone
Import and Export XAR will lost tree hierarchy?
I used to have a multi level tree hierarchy inside my wiki space.
But, when I import it, all the pages are flatten as the direct children of the space WebHome.
I use the default export tools to export a large 100M+ xar file under Xwiki-6.3
I use "Admin Tools" application to import large xar file under Xwiki-7.3.
Is it incompatible with tree hierarchy?
How do I get all the spaces for which the current user has access in a java
component?
I have the following:
List<String> lstSpaces = new ArrayList<String>();
XWikiContext xcontext = this.xwikiContextProvider.get();
XWiki xwiki = xcontext.getWiki();
lstSpaces = xwiki.getSpaces(xcontext);
Although this successfully returns all the spaces, it also returns the
spaces for which the current user has no "view" or other access rights. Also
it seems that the Java .getSpaces is deprecated and I can't seem to find the
new method for this. http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/
seems outdated as xwiki.getSpaces() is still active in this javadoc, with no
alternative. Is there a new javadoc availible?
--
View this message in context: http://xwiki.475771.n2.nabble.com/spaces-for-which-the-current-user-has-acc…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Wanting to get my feet wet with xwiki in the fastest way, I found that
jelastic supports xwiki for easy click deployments. However, I had a few
questions/issues that I hope someone could guide me through:
1) Is it possible in jelastic "click-like' deployment to select a branch
outside of the development (milestone1 in this case) for something the LTS
branch? I could not find anything from a jelastic viewpoint.
2) The Installation Wizard seemed to hang up on what exactly it was doing
without doing some toggling between "view details" and such. Maybe it's
not verbose enough tied in with a combination of newbieness.
3) icons of the css class sort are not manifesting in the default flavor
install (Blog, Dashboard, Statistics, etc...)
4) dropdowns in all cases (users, edit, more actions, etc) do not activate.
With that, I'm encouraged by the idea of xwiki, but I think I want
something more stable if I can figure out how to do that easily.
Thank you
Hi,
I am trying to get to grips with xWiki. I have installed the windows version
and would like to change the directory location of the database & support
files.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration - this
page tells me that I can change the location used in
environment.permanentDirectory.
I have tried changing this to
environment.permanentDirectory=C:/xwikiFiles/
and also
environment.permanentDirectory=C:\xwikiFiles\
Neither have any affect; the %APPDATA% folder keeps getting used.
I see in the properties file that "Note if the system property
xwiki.data.dir is set then this property is not used."
How can i check if xwiki.data.dir is set? or what do i change so i can
change the data location of an install?
Thanks in advance
--
View this message in context: http://xwiki.475771.n2.nabble.com/Changing-location-of-the-database-etc-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a question on a Children section in the page information section.
I was running on older version of xwiki (3.3) and installed a new version
(7.3). While looking through the new version, I noticed a difference in the
children section of the page information.
In the new version, whenever I add a page, it would display two lines, the
page name and a header line. See example pictures below.
http://i.imgur.com/4bPORus.png
<http://xwiki.475771.n2.nabble.com/file/n7597117/4bPORus.png>
I'm not sure if this is by design, or something is wrong with my install.
When I create a new page and set the terminal flag, the page shows correctly
in the children section without a header line (or it has the same header as
my old pages).
Another example in my production xwiki.
http://i.imgur.com/JQeVbuV.png
<http://xwiki.475771.n2.nabble.com/file/n7597117/JQeVbuV.png>
In the above example, when I create a page, it inserts a header line into
the children section for each page. If I create a page with the terminal
flag set, it doesn't create a second header line.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Page-Information-Children-Display-issue-o…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello
I am trying to deploy 7.3 on Jboss 7.1. However, when I do, I get the below
error.
Does anyone know how to fix this?
15:33:36,989 INFO [org.jboss.as.server.deployment] (MSC service thread
1-1) JBAS015876: Starting deployment of "xwiki.war"
15:33:42,673 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-io-1.4.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,674 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-cli-1.1.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,674 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry sigar-1.6.5.132.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,675 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry json-20090211.jar in
"/content/xwiki.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"
does not point to a valid jar for a Class-Path reference.
15:33:42,675 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry emory-util-io.jar in
"/content/xwiki.war/WEB-INF/lib/emory-util-classloader-2.1.jar" does not
point to a valid jar for a Class-Path reference.
15:33:42,676 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry emory-util-security.jar in
"/content/xwiki.war/WEB-INF/lib/emory-util-classloader-2.1.jar" does not
point to a valid jar for a Class-Path reference.
15:33:42,678 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry xerces-2.5.0.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,678 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry xalan-2.6.0.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,679 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry xml-apis-1.3.04.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,680 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry fop-0.94.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,680 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry batik-js.jar in
"/content/xwiki.war/WEB-INF/lib/batik-rasterizer-1.7.jar" does not point
to a valid jar for a Class-Path reference.
15:33:42,681 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry emory-util-io.jar in
"/content/xwiki.war/WEB-INF/lib/emory-util-security-2.1.jar" does not
point to a valid jar for a Class-Path reference.
15:33:42,682 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpclient-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,683 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-logging-1.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,683 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-codec-1.6.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,684 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpmime-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,684 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpcore-4.2.5.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,685 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jcl-over-slf4j-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,685 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry joda-time-2.2.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,686 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry quartz-2.2.0.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,687 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry c3p0-0.9.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,687 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry guava-17.0.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,688 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jdom2-2.0.4.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,688 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry slf4j-api-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/grib-4.5.5.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,690 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jakarta-oro.jar in
"/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,690 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-logging.jar in
"/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,691 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry picocontainer.jar in
"/content/xwiki.war/WEB-INF/lib/radeox-1.0-b2.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,692 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpclient-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,692 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-logging-1.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,693 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry commons-codec-1.6.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,693 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpmime-4.2.6.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,694 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry httpcore-4.2.5.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,695 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jcl-over-slf4j-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,695 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry joda-time-2.2.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,696 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jdom2-2.0.4.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,696 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry quartz-2.2.0.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,697 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry c3p0-0.9.1.1.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,697 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry guava-17.0.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,698 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry slf4j-api-1.7.7.jar in
"/content/xwiki.war/WEB-INF/lib/netcdf4-4.5.5.jar" does not point to a
valid jar for a Class-Path reference.
15:33:42,700 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry ridl.jar in
"/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,701 WARN [org.jboss.as.server.deployment] (MSC service thread
1-1) Class Path entry jurt.jar in
"/content/xwiki.war/WEB-INF/lib/juh-3.2.1.jar" does not point to a valid
jar for a Class-Path reference.
15:33:42,968 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1)
MSC00001: Failed to start service
jboss.deployment.unit."xwiki.war".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."xwiki.war".STRUCTURE: Failed to process phase
STRUCTURE of deployment "xwiki.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_85]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_85]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_85]
Caused by: java.lang.IllegalArgumentException: Given parent is not an
ancestor of this virtual file
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116)
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)
at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110)
at
org.jboss.as.server.deployment.module.ManifestClassPathProcessor.createAdditionalModule(ManifestClassPathProcessor.java:193)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.server.deployment.module.ManifestClassPathProcessor.handlingExistingClassPathEntry(ManifestClassPathProcessor.java:185)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.server.deployment.module.ManifestClassPathProcessor.deploy(ManifestClassPathProcessor.java:162)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
15:33:42,972 INFO [org.jboss.as.server] (HttpManagementService-threads -
4) JBAS015870: Deploy of deployment "xwiki.war" was rolled back with
failure message {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"xwiki.war\".STRUCTURE" =>
"org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"xwiki.war\".STRUCTURE: Failed to process phase
STRUCTURE of deployment \"xwiki.war\""}}
15:33:42,973 INFO [org.jboss.as.server.deployment] (MSC service thread
1-4) JBAS015877: Stopped deployment xwiki.war in 0ms
15:33:42,974 INFO [org.jboss.as.controller] (HttpManagementService-threads
- 4) JBAS014774: Service status report
JBAS014777: Services which failed to start: service
jboss.deployment.unit."xwiki.war".STRUCTURE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."xwiki.war".STRUCTURE: Failed to process phase
STRUCTURE of deployment "xwiki.war"
--
Anton Hughes
Hi,
I'm running xwiki 7.3 Milestion 2 on Oracle.
Task Manager Application have problems with it at least with part of it.
In TaskManagerPanel there I get "ORA-00932: inconsistent datatypes:
expected - got CLOB". See the attached exception report.
Also I noticed some warning logs:
http://wiki/test-xwiki/get/TaskManager/TaskManagerLiveTableResults?outputSy…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getAction] in
79:xwiki:TaskManager.MyTestTask@2,14
Thank you
Best regards
Miroslav Galajda
Hi,
I'm currently running on 7.3 Milestone 2.
I've created some hierarchy of nested pages.
And at the "node" levels (aka spaces) I have used "dashboard" template and
on the lists I have normal page with content and tags.
The dashboard template shows correctly document hierarchy from that level
but tags cloud isn't showing anything.
It seems it doesn't respect the new concept of nested pages.
Best regards,
Mirec
Description: Knowledgebase wikis for trainees in a University Hospital Department (Helsinki)
Owner: Aydin Tekay
Desired sub domain: haikara
with many thanks
Aydin Tekay
Hey,
A very new user to xWiki, I would like to add navigation of child sub-pages
to the currently viewed page. It appears that the Document Tree macro is
what I need, though I don't know what I should be putting in the root
property to use the current page.
I was going to add this to a template, so the page is going to be different
every time.
any help would be great.
thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-Tree-set-Root-to-Current-page-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I create a new tag named "运营”
But, it displays just like rubbish, And I can not remove it nor rename it.
I think the problem is in "tag=è¿%C2%90è%C2%90¥" encodings.
If I manually input the URL with "tag=运营", the actions goes well, but display still be bad.
…/xwiki/bin/view/Main/Tags?do=viewTag&tag=è¿%C2%90è%C2%90¥
…/xwiki/bin/view/Main/Tags?do=viewTag&tag=运营
The expected display should be like below:
My browser is Safara 9.0.1 under Mac.
Thanks to everyone to answered and to Silvia for leading this survey! :)
We got some useful results. Always interesting to know the user’s pain points.
Thanks
-Vincent
PS: I sent this mail on the 21st of November but I’ve just found out that it wasn’t sent and was in my draft mailbox...
On 21 Nov 2015 at 16:41:28, Silvia Macovei (silvia.macovei(a)xwiki.com) wrote:
Hi everyone,
Thanks a lot to the 21 people who filled in the survey! In this post you
can find a summary of the results, with some interesting ideas on things to
implement in the future:
http://www.xwiki.org/xwiki/bin/view/Blog/ProductSatisfactionSurvey2015Resul…
Now XWiki developers can look at the list when deciding/discussing what
features/items to implement in 8.x and beyond. In a year or so we could do
a postmortem to see what has been implemented.
Thanks,
Silvia
When trying to export PDF some (not all) page of my XWiki 7.2, I get an
error in the log and the PDF is never generated. HTML export works fine.
Here are the first lines from the error :
Dec 2 09:37:07 xwiki01 server: java.lang.NullPointerException: Parameter
alpha must not be null
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:57)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.pdf.AlphaRasterImage.<init>(AlphaRasterImage.java:71)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.render.pdf.ImageRenderedAdapter.setup(ImageRenderedAdapter.java:127)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.pdf.PDFDocument.addImage(PDFDocument.java:816)
~[fop-1.1.jar:na]
Dec 2 09:37:07 xwiki01 server: at
org.apache.fop.render.pdf.AbstractPDFImageHandler.handleImage(AbstractPDFImageHandler.java:46)
~[fop-1.1.jar:na]
I can't say for sure that the size of the images in those pages is the
cause of the export failure, but just before the stacktrace, I get a few
WARN
Dec 2 09:37:06 xwiki01 server: 2015-12-02 09:37:06,773 [
http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manu…
] WARN o.a.f.a.FOUserAgent - Line 1 of a paragraph overflows the
available area by 9000 millipoints. (See position 26:14146)
Dec 2 09:37:07 xwiki01 server: 2015-12-02 09:37:07,104 [
http://xwiki01:8080/xwiki/bin/export/White_Rabbit/Fabrication/GitLab+-+Manu…
] ERROR o.a.f.a.FOUserAgent - Error while rendering page 3. Reason:
java.lang.NullPointerException: Parameter alpha must not be null
Dec 2 09:37:07 xwiki01 server: java.lang.NullPointerException: Parameter
alpha must not be null
Have you already seen this problem? I think I've found similar issues but
for version 4.X back in 2012, though it was about "bad" PNG images then.
Regards,
Denis GERMAIN
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:90)
... 147 more
Caused by: org.hibernate.QueryException: could not resolve property: street of: com.xpn.xwiki.objects.BaseObject [ select doc.fullName from com.xpn.xwiki.doc.XWikiDocument as doc , com.xpn.xwiki.objects.BaseObject as ttt where ( ttt.street = 'Burchtenlaan 97' ) and doc.fullName=ttt.name and ttt.className='CdlsatdCode.CdLS_ATD_UserProfileClass' ]
I have XWQL statement that throws this error?
But double checking I can not find why it states that 'street' is a property it can not solve?
#set($supportgroupQry = "from doc.object(CdlsatdCode.CdLS_ATD_UserProfileClass) as ttt where ttt.street = 'Burchtenlaan 97'")
$services.query.xwql($supportgroupQry).execute()
The class:
CdLS_ATD_UserProfileClass
Class properties
Street Address (street: String)
City (city: String)
State (state: String)
Postal Code (postalCode: String)
Country (country: String)
Telephone (telephone: String)
cdlsPersonName (cdlsPersonName: String)
Date of Birth (cdlspersonDOB: Date)
Height (cdlspersonHeight: String)
measureHeight (measureHeight: Static List)
Weight (cdlspersonWeight: String)
measureWeight (measureWeight: Static List)
Current Medication (currentMedication: TextArea)
Your relationship with this person (cdlspersonRelation: String)
contextUsr (contextUsr: String)
Allowance for visibility of profile (visible: Boolean)
Open to be contacted by other members (contact: Boolean)
supportGroup (supportGroup: Database List)
gender (gender: Static List)
socialStatus (socialStatus: String)
cdlsPersonAvatar (avatar: String)
Gerritjan Koekkoek
HI all
One of the key concepts of a wiki is its easy for everyone to edit. There
are various wiki syntaxs - perhaps the most popular being Mediawiki - and
all of them have a goal of making it easy for users to write in the
specific syntax, without the need to know html.
So, one of the most basic features of a wiki, CMS, and the web, is linking.
In Html a user has to write
- a
- href - the user has to know if it is relative or absolute
- link text
Its not a lot, but its still too much for non technical people.
In a normal wiki a user just writes
[[MyExamplePage]]
This is so simple that anyone can do it!
In XWiki (and I found this out by using the wysiwyg editor)
[[MyExamplePage>>doc:MyExamplePage.WebHome]]
What is doc? And WebHome? And >>? And whats with the dots, semi colons?
As a technical person I can probably figure this out. But there is no way I
could sell my management on this. Non technical people will never
understand this.
And yes, non-tech people can use the wysiwyg. But then why use a wiki? Why
not just use a CMS.
The
--
Anton Hughes
Hello
I'm trying to get all the documents that list the current document as the
perant using:
List<DocumentReference> childDocs = doc.getChildrenReferences(xcontext);
where doc is the parent XWikiDocument.
However the function only return an empty list, althoug there is documents
in the space.
If I print doc.getFullName() its AAA.WebHome.. And all the chldren spaces is
listed under AAA.. how should I reference doc to get say AAA.BBB.WebHome in
the list? or where am I going wrong?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Get-all-children-from-current-document-in…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have problem with LDAP group mapping in xwiki.cfg against AD with group
names containing diacritics. What encoding to use in xwiki.cfg? After
turning logging on for XWikiLDAPUtils class, I found from the logs that
those problematic groups are logged with wrong encoding, end the result is
that the group cannot be found.
Best regards
Miroslav Galajda
Hello
I am trying to use XWiki in a CORS fashion, that is, a javascript client
calls pages in xwiki.
This sometimes works, but I notice sometimes it doesnt. I havent found the
reason why it doesnt always work.
The error I get when it doesnt is:
The 'Access-Control-Allow-Origin' header contains multiple values '*, *',
but only one is allowed. Origin 'http://localhost:8081' is therefore not
allowed access.
The relevant part of that error is about the multiple headers.
In Chrome I can see that there are multiple same headers.
Is this correct?
1. Access-Control-Allow-Origin:
*
2. Access-Control-Allow-Origin:
*
3. Cache-Control:
no-cache
4. Content-Language:
en
5. Content-Length:
765
6. Content-Script-Type:
text/javascript
7. Content-Type:
text/html; charset=UTF-8
8. Expires:
Wed, 31 Dec 1969 23:59:59 GMT
9. Pragma:
no-cache
10. Server:
Jetty(9.2.3.v20140905)
11. Set-Cookie:
JSESSIONID=8wg8mui7mis16hbozquntqg8;Path=/xwiki
--
Anton Hughes
Hello,
On my group's myxiki.org site, http://scservicesub.myxwiki.org/ I am getting errors on my pages that use velocity macros even logged in as the administrator:
rg.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
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:253)
This is preventing some important content from even being viewed. What can I do to fix this?
Thanks,
Regan
The XWiki development team is proud to announce the availability of XWiki 7.4 Milestone 1.
This is our last stabilization release for the XWiki 7.x Cycle. It brings polishing and stabilization for the Nested Pages feature and the changes in UI that resulted from it, especially for the Watchlist.
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/ReleaseNotesXWiki74M1
The following people have contributed code to this release (sorted alphabetically):
Marius Florea
Vincent Massol
Ecaterina Moraru
Eduard Moraru
Thomas Mortagne
Clemens Robbenhaar
Jean Simard
Manuel Smeria
Thanks for your support
-The XWiki dev team
On 26 Nov 2015 at 20:28:59, Anton Hughes (ah@tradeworks.io(mailto:ah@tradeworks.io)) wrote:
>
> On 26 November 2015 at 20:18, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > [[MyExamplePage]] works in XWiki too :)
> >
> > > This is so simple that anyone can do it!
> >
> > Why don’t you try it on xwiki?
> I have - and it doesnt work on XWiki. That is why I took the time to write about this.
It works. Create a page with [[test]]. You’ll see a question mark (wanted link). Click on it, add content and save. Navigate back to your first page. The link works.
What you’re showing in the screenshots is orange and apples. In one link you link to a new page called MyExamplePage. And in the second one you link to a page named MyExamplePage.WebHome.
In Mediawiki try create a page2 that exists (and a page1 that doesn’t). Then write in another page:
[[page1]]
[[page2]]
You’ll get the same result.
Thanks
-Vincent
> Anton Hughes
I'm trying to find "comparable tools" that we could document there as
being comparable experiences that users might have met already. I do not
see any yet (Confluence and Jenkins seem to have pedgown as an option,
that's the only similarity I find).
So... this is "just another extended markdown" ?
Caleb, did you have something more pangalactic in mind?
Paul
vincent(a)massol.net wrote:
>> I'm sure we could do more user-friendly by comparing to tools that
>> use PegDown maybe.
> I’m not sure what you have in mind but feel free to edit the page and
> add information.
Hello
In a Mediawiki page, a user can added [[category:my category]], and the
page will be accessible from the 'my category' category. The same page can
be added to many categories.
The nested page concept seems to be hierarchical only, so a page belongs in
a tree, but cannot therefore be in other trees.
Also, in Mediawiki, there is the possibility (
https://meta.wikimedia.org/wiki/Help:Embed_page) to embed pages ? I have
tried using the mediawiki syntax for this but it does not seem to work.
--
Anton Hughes
Hi Team,
I could not yet get a proper working instance of an object with Database Tree property. Is there any reference I can check on detais of how I can use this? Everything I could find related with DBTree was on JIRA and they're not clear.
I see that I need a page hierarchy to display. Is it only a matter of parent-child relationship (if so, how can I inform to DBTree property the "root" of the hierarchy) or I can use the XE's native "relational" mechanism between objetcs, as I do with Database List?
I've tested both approaches, without success. I'm not using App within minutes, because I would like to learn and understand how this works to build bigger applications.
Below is the example of what I'm trying to build.
Thanks again in advance,
Ramon Brandão
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] in name of Ramon Gomes Brandao
Sent on: terça-feira, 24 de novembro de 2015 19:30
To: users(a)xwiki.org
Subject: [xwiki-users] Database Tree property Error on XE 7.1.2
Hi Xwiki Team,
I'm building an application on XE 7.1.2 and it uses classes with 1:N relations between them through Database List and (potentially) Database Tree property. The relation using Database Tree is not working. For illustration of my use case, I have the following classes:
Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String
Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id Field Name=info0ID and Value Field Name=info0Name
Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and Parent Field Name=relatedInfo0
The relation I want to build is, then: 1 Instance of Info0Class can be related to (0...N) Info1Class, which then can be related to (0...N) Info2Class.
When creating a new instance of Info2Class, I would like to show the information on relatedInfo1's select box in a tree view manner, where the "relatedInfo0" instance name is the aggregator and all the related Info1Class instances are the leafs. Thus, the user can get a much better idea of which Info1Class she/he can select for relatedInfo1 field.
I've used, since then, only the default pages and codes generated by class editor (default sheet to display class properties and default template). I got the relation working like a charm between Info1Class and Info0Class, but things are not working with Info2Class and Info1Class. Creating a new instance of Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError" and infinite "com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)" calls. In this way, I could not even check if this use case is valid for the Database Tree List.
I've searched deeply and really could not find any further documentation about Database Tree Usage, neither examples, nor detailed information on how to get this working. The only reference is a brief description on the XWiki Data Model Page mentioning the Yahoo Javascript Tree Library.
So, the questions for the team are:
1) Where can I find more information (a good tutorial/documentation/usage example) about Database Tree List?
2) Is it suitable for this use case? Am I doing it right?
3) What do I need to get a Database Tree property/relation to work?
Thanks in advance for your help.
Best Regards,
Ramon Brandão
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello.
How would I create a new space under Main or the toplevel entity from a java
component. So far I'm doing this, but not sure..
DocumentReference docref = new
DocumentReference(serverName,pageSpace,pageName);
if(xwiki.exists( docref, xcontext)){
//skip create do other stuff
}else{
XWikiDocument doc = new XWikiDocument(docref);
doc.setTitle(pageName);
DocumentReference docrefparent = new
DocumentReference(serverName,pageSpace,"WebHome");
doc.setParentReference(docrefparent);
xwiki.saveDocument(doc, xcontext);
}
Where:
serverName = $request.serverName
pageSpace = "Main"
pageName = "NewPage"
is there anything else I need to set on the document or am I referencing
wrong? Not sure why it is not creating the page..
--
View this message in context: http://xwiki.475771.n2.nabble.com/Create-spaces-and-page-in-toplevel-space-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dears,
I've just updated to XWiki 7.3. I'm really happy to keep enjoying XWiki and
to see how the framework is evolving. The interface is now cleaner, much
nicer. All behind the scene seems to me clearer release after release.
Thanks for the effort!
Warmest regards,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hi Xwiki Team,
I'm building an application on XE 7.1.2 and it uses classes with 1:N relations between them through Database List and (potentially) Database Tree property. The relation using Database Tree is not working. For illustration of my use case, I have the following classes:
Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String
Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id Field Name=info0ID and Value Field Name=info0Name
Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and Parent Field Name=relatedInfo0
The relation I want to build is, then: 1 Instance of Info0Class can be related to (0...N) Info1Class, which then can be related to (0...N) Info2Class.
When creating a new instance of Info2Class, I would like to show the information on relatedInfo1's select box in a tree view manner, where the "relatedInfo0" instance name is the aggregator and all the related Info1Class instances are the leafs. Thus, the user can get a much better idea of which Info1Class she/he can select for relatedInfo1 field.
I've used, since then, only the default pages and codes generated by class editor (default sheet to display class properties and default template). I got the relation working like a charm between Info1Class and Info0Class, but things are not working with Info2Class and Info1Class. Creating a new instance of Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError" and infinite "com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)" calls. In this way, I could not even check if this use case is valid for the Database Tree List.
I've searched deeply and really could not find any further documentation about Database Tree Usage, neither examples, nor detailed information on how to get this working. The only reference is a brief description on the XWiki Data Model Page mentioning the Yahoo Javascript Tree Library.
So, the questions for the team are:
1) Where can I find more information (a good tutorial/documentation/usage example) about Database Tree List?
2) Is it suitable for this use case? Am I doing it right?
3) What do I need to get a Database Tree property/relation to work?
Thanks in advance for your help.
Best Regards,
Ramon Brandão
Hi,
In previous years the xwiki.org project launched surveys about features we’d like to see implemented in XWiki (see http://www.xwiki.org/xwiki/bin/view/Main/Feedback).
After some discussions with fellow XWikiers we thought it could be interesting to launch a similar survey in 2015, especially with the 8.x cycle approaching. But this time instead of having a long list of features to vote on, we thought it might be more interesting to have a few open questions that the community could answer.
The aim of this short survey is to find out more about how satisfied (or not!) the members of the XWiki community are with the XWiki product.
We'd be happy to learn about:
* what you like / dislike about the product
* the features and improvements you’d like to see in the product in the future and especially for XWiki 8.x
The survey will run till November 13 and the results will be synthesised and made available mid-November through a blog post on the community blog ( http://blog.xwiki.org/xwiki/bin/view/Blog/ )
The survey has 6 questions and should only take a few minutes:
http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiProduct2015
Thanks a lot for your contributions and for helping improve the product,
-Silvia & Vincent
Hi,
I am trying XWiki 7.3.
I want to add add a menu with icon in the top menu. I have read
http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/TopMenuLeft, but
still can not understand where to add the following:
{{velocity}}{{html clean="false"}} ## we need clean="false" because we want
to display the raw content
<li class="dropdown">
<a class="icon-navbar dropdown-toggle" data-toggle="dropdown"
role="button" arias-haspopup="true" aria-expanded="false"><span
class="sr-only">$services.localization.render('core.menu.toggleNavigation')</span>Some
text</a>
<ul class="dropdown-menu">
<li><a href="">Some link</a></li>
</ul>
</li>
{{/html}}{{/velocity}}
Could you give me advice where to add the above lines?
Thanks for your help very much.
Guofeng
I am having the hardest time figuring out how to convert terminal pages
into nested spaces. After the upgrade to 7.2 our document organization got
completely hosed and the only way I can currently determine to reorganize
our documents is a painstakingly manual process located here:
http://test.xwiki.org/xwiki/bin/view/Nested+Spaces/Convert+a+Terminal+Docum…
Am I missing something here? If someone has a better way to do this please
let me know.
Thanks!
Hi,
I have a panel with a documentTree to display documents but I'm not able
to make finder work properly.
For non-existing pages it returns correctly "No results!", but for
existing ones it works for some and fails for other writing both
following errors in catalina.out:
- Exception in macro #handleDocumentTreeRequest called at
49:template:XWiki.DocumentTree[line 3, column 1]
- Exception in macro #getSuggestions called at
43:template:XWiki.DocumentTree[line 43, column 1]
I'm affraid I can't I find a pattern to give you any clue... But here
some examples:
- Searching "02Audit", at "Doc.03BusinessProcesses.02Audit": working
- Searching "03Reports", at "Doc.03BusinessProcesses.03Reports": NOT working
- Searching "02Functionalities", at
"Doc.01Specifications.02Functionalities": working
- Searching "01Entities", at "Doc.01Specifications.01Entities": NOT working
Note that Search functionality (up-right on the page) works fine for all
cases.
FYI, this is my macro in the panel (copy of Navigation panel but with
finder=true):
{{documentTree showTranslations="false" showAttachments="false"
compact="true" openTo="document:$openToDoc" finder="true" /}}
What might be happening?
--
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
/
Hello,
i want to tuse some Carousel/slider on Xwiki.
I find 2 of them:
- http://www.xwiki.org/xwiki/bin/view/Carousel/Slider I don't know if it is simple to use it
- and totem extension: http://extensions.xwiki.org/xwiki/bin/view/Extension/TotemApplication
but totem doesn't work on my xwiki 7.0.1 version :-(
A nice working xar example will be welcome to test :-)
Totem documentation is clear except one important point: last step missing: howt to display our new totem page? with include but which one?
Thxs for your help or any carousel you use on your xwiki.
Pascal B
Hello,
I'm running a fresh 7.2 XWiki install (RHEL 7, tomcat 7, postgreSQL 9.1)
and I'm experiencing strange behaviour when I try to create new pages in a
given space.
If I use the big "+" sign on the top of the page in the space I want, the
result is always the same : a new space is created instead of a new page.
This is not a "parenting" problem, the space in question is indeed child
of the parent space.
I can try to change the location of the page in the "Location in the page
hierarchy where this new page will be created." menu
But it doesn't appear in the page list of the space, and it appears in the
list of all the spaces.
The template doesn't seem to be the problem (Page Type). I can use a page
template or a blank page (default choice) in the page type.
The only workaround that I found is to create a new page through the space
WYSIWIG editor.
I edit the home page of the space, then in the WYSIWIG editor I click on
"Link" and then "XWiki Page". This way a link to a new unknown page is
created in the space, and then and only then can I create a page inside
the space.
This doesn't seem normal. Can someone give me some insights on what might
cause this ?
Regards,
Denis GERMAIN
Hi guys,
I have an error when trying to send an email from inside a job.
The error I get is :
2015-11-19 11:09:16,507 ERROR o.x.m.i.DatabaseMailListener - Failed to save mail status [messageId = [04e467fb-0982-475b-9e8d-e3b1cc58c3a1], batchId = [9e5aa5f2-2372-40c9-b4c0-f6c5b7579560], state = [ready], date = [Thu Nov 19 11:09:16 CET 2015], recipients = [p.huisman(a)ximml.nl], wiki = [testwiki]] to the database
org.xwiki.mail.MailStoreException: Failed to save mail status [messageId = [04e467fb-0982-475b-9e8d-e3b1cc58c3a1], batchId = [9e5aa5f2-2372-40c9-b4c0-f6c5b7579560], state = [ready], date = [Thu Nov 19 11:09:16 CET 2015], recipients = [p.huisman(a)ximm.nl], wiki = [testwiki]] to the database.
at org.xwiki.mail.internal.DatabaseMailStatusStore.save(DatabaseMailStatusStore.java:88) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailListener.saveStatus(DatabaseMailListener.java:151) [xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailListener.onPrepare(DatabaseMailListener.java:82) [xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareSingleMail(PrepareMailRunnable.java:162) [xwiki-platform-mail-send-default-6.4.4.jar:na]
at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:133) [xwiki-platform-mail-send-default-6.4.4.jar:na]
at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:94) [xwiki-platform-mail-send-default-6.4.4.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: org.xwiki.mail.MailStoreException: Failed to delete mail status (message id [04e467fb-0982-475b-9e8d-e3b1cc58c3a1]) from the database.
at org.xwiki.mail.internal.DatabaseMailStatusStore.delete(DatabaseMailStatusStore.java:194) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailStatusStore.save(DatabaseMailStatusStore.java:76) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
... 6 common frames omitted
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1413) ~[xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailStatusStore.delete(DatabaseMailStatusStore.java:182) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
... 7 common frames omitted
Caused by: org.hibernate.QueryParameterException: could not locate named parameter [id]
at org.hibernate.engine.query.ParameterMetadata.getNamedParameterDescriptor(ParameterMetadata.java:101) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.engine.query.ParameterMetadata.getNamedParameterExpectedType(ParameterMetadata.java:107) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:460) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:430) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.xwiki.mail.internal.DatabaseMailStatusStore$4.doInHibernate(DatabaseMailStatusStore.java:189) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.4.jar:na]
... 9 common frames omitted
The code I use is base on the example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HCompa… <http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HCompa…> :
I Inject the following:
@Inject
MailSenderConfiguration mailConfiguration;
@Inject
@Named("text/html")
MimeBodyPartFactory<String> htmlPartFactory;
@Inject
@Named("database")
private Provider<MailListener> mailListenerProvider;
@Inject
MailSender mailSender;
The calls are:
[…]
MailListener maillistener = this.mailListenerProvider.get();
Session session = Session.getInstance(this.mailConfiguration.getAllProperties());
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress("p.huisman(a)ximm.nl"));
message.addRecipient(RecipientType.TO, new InternetAddress("p.huisman(a)ximm.nl"));
message.setSubject("XML Export");
Multipart multipart = new MimeMultipart("mixed");
Map<String, Object> parameters = new HashMap<>();
parameters.put("alternative", "text");
multipart.addBodyPart(this.htmlPartFactory.create(resultaat, parameters));
message.setContent(multipart);
MailResult result = this.mailSender.sendAsynchronously(Arrays.asList(message), session, maillistener);
[…]
The error is created on the this.mailSender.sendAsynchronously call. I’m using the 6.4.4 version.
Any help and suggestions of what I’m doing wrong is appreciated.
With kind regards,
Peter
I guess there is a type in the code: in org <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg>.xwiki <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki>.job <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki.job>.internal <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki.job.internal>.AbstractJob <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki.job.internal(AbstractJob.class%E2%98%83AbstractJob>.progressManager , the stepPropress (with a P) is defined where it should be stepProgress - or is there a reason for this?
Br,
P
Hi all,
Is there a way to set a different color theme to an "space" with the
Nested Pages feature? Previously with spaces it was possible.
I see that rights are inherited, but not color theme.
--
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
/
Just an FYI,
the Open Source Initiative will be hosting a free webinar on XWiki with
Vincent Massol, today at 12:00noon ET, 6:00pm CET
Details at: http://wiki.opensource.org/bin/Communities/OSIdeas
Hope you can join us,
Patrick
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager & Director
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
OSI Phone: (415) 857-5398
Direct Phone: (970) 4MASSON
Skype: massonpj
Em: masson(a)opensource.org
Ws: www.opensource.org
Good day.
Had xwiki set up and running for a while now. This morning windows 7 dicided
to do a system recovery on startup. Now when I try to run XWiki I get a HTTP
500 error:
java.lang.NullPointerException
com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
com.xpn.xwiki.web.Utils.getComponent(Utils.java:719)
com.xpn.xwiki.web.XWikiRequestProcessor.processPath(XWikiRequestProcessor.java:47)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:154)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
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)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
Any ideas where to start looking for the problem? I went over the
configuration and all looks fine and MySQL is running and tomcat7 is
running..
Not sure how to recover.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-startup-HTTP-500-issue-tp7596904.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I'm trying the new stable version of XWiki (7.3) and I'm facing problems
with group rights.
I'm unable to keep them set, as if I leave Rights page and then come
back again all rights I've tuned up remain unset (reseted to "default" I
think...)
Is anybody else having this issue? Any workaround?
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 Thomas,
I managed to do what I wanted. Apparently I mixed up some of the environments. I used the DocumentClass to get a document after I set did the setWiki() but that didn’t work. Once I switched to the XWikiDocument, it worked like a charm. I will most likely have to do some rework to have access to my components from a job :-)
Thanks for the help by answering my questions.
Br,
Peter
Van: Thomas Mortagne <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>>
Onderwerp: Antw.: [xwiki-users] Question on Jobs and context (Peter Huisman)
Datum: 16 november 2015 18:27:13 CET
Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
You should never use the same ExecutionContext or XWikiContext in
different threads since they are really not designed for this and you
will have weird random issue at best.
You can find a example of a component getting the current XWikiContext
and setting the current wiki id on
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>.
We just switched to 7.3 and loved it! Cleaner look and Nested Spaces was what
we where looking for. Thank you very much for this awesome work!
What we are irritated about is something which is hopefully just a lack of
understanding about rights. We have had groups and adjusted single pages
according to our access policies. Everything worked as expected. After
update to 7.3 all rights do not function anymore! The rights were not
changed but now every user can access every single page - even "Administer
Wiki" on the main wiki and on each subwiki!
We reinvented our whole security rules and rights to the certain pages with
no success.
Could someone please support us in narrowing down this issue?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Irritating-problems-with-rights-tp7596882…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want to upgrade from Xwiki-5.4.5 to 7.3, but some problems occurs.
I create a backup db, and run 7.3 instance on the backup one.
1. The "Spaces" feature seems disappears, all old spaces are organized in a single root tree.
I can not manage access privilege by Space.
2. The wikis application can not be removed, there is nothing in the "Installed Application", and I DO NOT want the multi wikis.
3. I want to export the old content from the old wiki, and import it into new wiki, but I cannot export only my selected Spaces.
Anyone can point me some way to solve?
Hi Thomas,
I figured something like this. I have however been trying to pass various parameters to the request but this has not resulted in any succes: Passing the entire context (either ExecutionContext or XWikiContext) did’t work and neither did setting the WikiId or the database. Can you help me on this with an example on what (and how) to set?
Br,
Peter
Van: Thomas Mortagne <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>>
Onderwerp: Antw.: [xwiki-users] Question on Jobs and context
Datum: 14 november 2015 14:13:17 CET
Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
You can change the context with in the XWikiContext. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HTheXWi… <http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HTheXWi…>
for how to access it from a component.
Hi,
I downloaded xwiki-enterprise-xwiki-enterprise-7.3 source and try to build
it.
I have created settings.xml following the instruction in
http://dev.open-sankore.org/xwiki/bin/view/Community/Building.
At first, it is failed when building xwiki-enterprise-ui-common. Maven
complain that Could not find artifact
uk.ac.ed.ph.snuggletex:snuggletex-jeuclid:jar:1.1.0.
So I add
<!-- snuggletex-jeuclid -->
<repository>
<id>www2.ph.ed.ac.uk-releases</id>
<url>http://www2.ph.ed.ac.uk/maven2</url>
</repository>
to settings.xml, remove ./m2/respository/uk (to prevent stopping building
from the cache), then build from start again.
xwiki-enterprise-ui-common built successfully, but when building building
xwiki-enterprise-data-hsqldb, I got the following error:
[ERROR] Failed to execute goal
org.xwiki.platform:xwiki-platform-tool-packager-plugin:7.3:import (default)
on project xwiki-enterprise-data-hsqldb: Execution default of goal
org.xwiki.platform:xwiki-platform-tool-packager-plugin:7.3:import failed:
Plugin org.xwiki.platform:xwiki-platform-tool-packager-plugin:7.3 or one of
its dependencies could not be resolved: The following artifacts could not
be resolved: uk.ac.ed.ph.snuggletex:snuggletex-jeuclid:jar:1.1.0,
org.restlet.jse:org.restlet:jar:2.0.14,
org.restlet.jee:org.restlet.ext.servlet:jar:2.0.14,
org.restlet.jse:org.restlet.ext.jaxrs:jar:2.0.14,
org.restlet.jse:org.restlet.ext.jackson:jar:2.0.14,
org.restlet.jse:org.restlet.ext.jaxb:jar:2.0.14: Failure to find
uk.ac.ed.ph.snuggletex:snuggletex-jeuclid:jar:1.1.0 in
http://maven.xwiki.org/externals was cached in the local repository,
resolution will not be reattempted until the update interval of
xwiki-plugins-externals has elapsed or updates are forced -> [Help 1]
uk.ac.ed.ph.snuggletex:snuggletex-jeuclid:jar:1.1.0 has just been
downloaded when building xwiki-enterprise-ui-common.
I do not know how to fix it, your help is appreciated.
NOTE: I have also added
<!-- use Restlet -->
<repository>
<id>maven-restlet</id>
<name>Public online Restlet repository</name>
<url>http://maven.restlet.org</url>
</repository>
to settings.xml before.
Thanks for your help
Guofeng
Hello,
I think I resoved my issue with an include to launch my query:
In my Class in "Computed Field" to display a query in "Custom Display", I simply inserted an include function
#set ($HqlQuery ="select distinct doc.fullName, doc.name, doc.creationDate, CategorieProp.value, ProcessusProp.value from XWikiDocument as doc
, xxxxxxxxxxxxxxxxxxxxxxx
order by doc.creationDate desc")
##
#includeInContext("FormSMQ.MyQuery")
## set ($ResultQuery=$services.query.hql("$HqlQuery").execute())
#if ($listtool.isEmpty($!ResultQuery) || ! $ResultQuery )
* //(Aucune amélioration)//
#else
yyyyyyy
and FormSMQ.MyQuery, who's belong to Admin user, contains
{{velocity}}
#set ($ResultQuery=$services.query.hql("$HqlQuery").execute())
{{/velocity}}
Pascal
--------------------------------------------
En date de : Lun 16.11.15, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: Full form statements requires programming right issue?
À: "XWiki Users" <users(a)xwiki.org>
Date: Lundi 16 novembre 2015, 11h36
Hi,
I writed an application form with template + class + sheet
(owner is admin).
In my Class I use a "Computed Field" to display a query
result with "Custom Display".
It is an hql query with select. I know that we must have PR
to launch a hql query with select but my template + class +
sheet owner is admin.
If a "simple" user create a new form (with myClass object)
he obtain a naughty velocity error: <<Full form
statements requires programming right>>
How can I resolve this problem? It it a bug?
Thxs for any help
Hi,
I writed an application form with template + class + sheet (owner is admin).
In my Class I use a "Computed Field" to display a query result with "Custom Display".
It is an hql query with select. I know that we must have PR to launch a hql query with select but my template + class + sheet owner is admin.
If a "simple" user create a new form (with myClass object) he obtain a naughty velocity error: <<Full form statements requires programming right>>
How can I resolve this problem? It it a bug?
Thxs for any help
Hi Thomas,
Thanks for that. Maybe a very silly question but how do I get a job to run in a specific Wiki?
Br,
Peter
Van: Thomas Mortagne <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>>
Onderwerp: Antw.: [xwiki-users] Question on Jobs and context
Datum: 13 november 2015 14:52:51 CET
Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
Right now there is no standard for it. Usually jobs that need to run
in a specific wiki or with specific user for example are provided with
this wiki/user as a job request parameter.
On Fri, Nov 13, 2015 at 2:51 PM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
> Hi,
>
> Im getting my head around job building. One question I have: If I start a job, the context of the job is not the context I need. The script I run is in a subWiki but the context of the job is in the main Wiki. What is the best way to change the context in the job to match the wiki that I am using to start the job?
>
> With kind regards,
>
> Peter
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
--
Thomas Mortagne
Hi,
Im getting my head around job building. One question I have: If I start a job, the context of the job is not the context I need. The script I run is in a subWiki but the context of the job is in the main Wiki. What is the best way to change the context in the job to match the wiki that I am using to start the job?
With kind regards,
Peter
The XWiki development team is proud to announce the availability of XWiki
7.3.
This is a stabilisation release focusing on the Nested Pages feature which
was introduced in XWiki 7.2.
Lots of polishing has been done for the Nested Pages feature integration,
targeting the consequences on the UI redesign and the changes at
applications level. The release includes a couple of bug fixes, a few
dependency upgrades and new UI extension points available for extension
developers.
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/ReleaseNotesXWiki73
The following people have contributed code to this release:
Clemens Robbenhaar
Ecaterina Moraru (Valica)
Eduard Moraru
Gabriela Smeria
Guillaume Delhumeau
Jean SIMARD
Manuel Smeria
Marius Dumitru Florea
Pascal Bastien
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
--- En date de : Ven 6.11.15, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
> De: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> Objet: [xwiki-users] (About XWIKI-12570:Access right doesn't work well with subgroups) Try to remove some version from document with groovy
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Vendredi 6 novembre 2015, 16h19
> Hi,
>
> I try without success to remove some version from document
> with groovy :-(
>
> To refresh group cache I add & remove a member in a user
> group but I don't want my group be poluted by this
> operation.
>
Here correct code with Thomas help :-)
{{groovy}}
// My group to update
def MyGroup = xwiki.getDocument('XWiki.GF_PiloteP3')
print("Current Version : " + MyGroup.getVersion()+ " \n")
// My temp user
udoc = xwiki.getDocument('XWiki.xwikilecteur')
// Add this temp user
gObj = MyGroup.newObject('XWiki.XWikiGroups')
gObj.set('member',udoc.fullName)
MyGroup.save()
// Remove this temp user
MyGroup.removeObject(gObj)
MyGroup.save()
// get document Archive
def gArch = MyGroup.getDocumentArchive()
print("Prev version: " + gArch.getPrevVersion(gArch.getLatestVersion()) + " \n")
print("Last version: " + gArch.getLatestVersion() + " \n")
//remove 2 previous version archive
//gArch.removeVersions(gArch.getLatestVersion(), gArch.getPrevVersion(gArch.getLatestVersion()), xcontext.context)
// must remove 3 version because last saved add one version
gArch.removeVersions(gArch.getLatestVersion(), gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())), xcontext.context)
MyGroup.save()
print("Current Version : " + MyGroup.getVersion()+ " \n")
{{/groovy}}
The XWiki development team is proud to announce the availability of XWiki
7.3 Release Candidate 1. This release candidate includes a couple of bug
fixes and a few dependency upgrades, as well as some improvements related
to Nested Pages. The extension developers should check the new UI extension
points available for the top menu.
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/ReleaseNotesXWiki73RC1
The following people have contributed code to this release:
Clemens Robbenhaar
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi,
I don't know where to put question about specific extension.
I would like to ask for suggesting some functionality to PlantUML Macro
extension.
http://extensions.xwiki.org/xwiki/bin/view/Extension/PlantUML+Macro
I would like to have option to parameterize type of ouput of PlantUML, e.g.
image or svg and with option to set the default output type.
Is it possible to add this? I know that not all types of diagrams support
svg, but for that case I would use explicit type.
Thank you
Best regards,
Miroslav Galajda
The XWiki development team is proud to announce the availability of XWiki
6.4.6.
This is mainly a stabilization release that fixes important bugs discovered
in the 6.4.5 and earlier versions.
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/ReleaseNotesXWiki646
The following people have contributed code to this release:
Clemens Robbenhaar
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi,
I try without success to remove some version from document with groovy :-(
To refresh group cache I add & remove a member in a user group but I don't want my group be poluted by this operation.
I want to launch this groovy script but unfortunaly this one crash with
gArch.removeVersions("EndVersionToDel", "StartVersionToDel", context)
I use
http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/doc/XWik…
but I obtain this error:
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: (java.lang.String, java.lang.String, javax.script.SimpleScriptContext) values: [EndVersionToDel, StartVersionToDel, javax.script.SimpleScriptContext@4ee56e53]
Possible solutions: removeVersions(org.suigeneris.jrcs.rcs.Version, org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.XWikiContext)
If someone can help me?
NB: groovy is complicated for me (and I don't understand what is context and how to get it)
Thxs
Pascal B
{{groovy}}
// My group to refresh
def MyGroup = xwiki.getDocument('XWiki.GF_PiloteP3')
// My temp user
udoc = xwiki.getDocument('XWiki.xwikilecteur')
// Add this temp user
gObj = MyGroup.newObject('XWiki.XWikiGroups')
gObj.set('member',udoc.fullName)
MyGroup.save()
// Store version to delete
def StartVersionToDel = MyGroup.getVersion()
print(MyGroup.getVersion() + "' \n")
// Remove this temp user
MyGroup.removeObject(gObj)
MyGroup.save()
// Store new version to delete
def EndVersionToDel = MyGroup.getVersion()
print(MyGroup.getVersion() + " \n")
// get document Archive
def gArch = MyGroup.getDocumentArchive()
//try to remove 2 previous version archive
gArch.removeVersions("EndVersionToDel", "StartVersionToDel", context)
print(MyGroup.getVersion()+ " \n context: " + context + " \n")
{{/groovy}}
Hello list,
As I reported, shortURLs worked well (and my issue about error 404 is
resolve by upgrading to 7.3-m2).
But I need to go a tick further in my ShortURLs attempt: I want some
files to be statically served.
Typical cases include:
- /favicon.ico
- /robots.txt
- the google or other witnesses (e.g. StartSSL)
It seems that the URLRewrite suggestion is really good for the flexible
page rewrite but it does not have the flexibility of Apache mod_rewrite
so that it serves files or tests if files are existing (at least not
with the urlrewrite.xml syntax).
I tried to map manually servlet-names to Jetty's defaultServlet but that
has not been enough yet. Filters are probably byting (or that
DefaultServlet is something else, unfortunately, "static file" is not a
predefined servlet type of the servlet's standard).
Is there another procedure?
I know I can make it in mod_rewrite but I've been trying to focus on
making it all in XWiki and I am surely not alone expecting that.
thanks
Paul
I have a fresh install of 7.3M1 and I've finished entering all of our documents, articles, et cetera.
Is there a way to "zero out" the version history to 1.0 so a page that I've edited 10+ times while creating it starts off on v1.0 instead of v10.0?
Yes thxs (gdelhumeau helped me on irc).
=> I update doc: http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
I used wrong value like you found too :-)
--------------------------------------------
En date de : Mar 3.11.15, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] Need help to find a hql query
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>
Date: Mardi 3 novembre 2015, 11h01
On Mon,
Nov 2, 2015 at 5:15 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
wrote:
I didn't manage to
use blog example on xwiki 7.0.1
(I replace 'XWiki.ArticleClass' by
'Blog.BlogPostClass' : we must fix doc if it is
ok)
The query example don't work (or maybe I don't know
how to use it ;-) )
select distinct
doc.fullName, doc.creationDate from XWikiDocument as doc,
BaseObject as obj, DBStringListProperty as prop join
prop.list list where obj.name=doc.fullName and
obj.className='Blog.BlogPostClass' and obj.id=prop.id.id and prop.id.name='category'
and list='${category}' order by doc.creationDate
desc
This works fine for me:
select distinct doc.fullName,
doc.creationDate from XWikiDocument as doc, BaseObject as
obj, DBStringListProperty as prop join prop.list list where
obj.name=doc.fullName and
obj.className='Blog.BlogPostClass' and obj.id=prop.id.id and prop.id.name='category'
and list='Blog.News' order by doc.creationDate
desc
You
probably don't have the right value in $category.
Hope this helps,
Marius
If I remove category parameter
#set ($query ="select distinct doc.fullName,
doc.creationDate from XWikiDocument as doc, BaseObject as
obj, DBStringListProperty as prop join prop.list list where
obj.name=doc.fullName and
obj.className='Blog.BlogPostClass' order by
doc.creationDate desc")
the query return all doc with blog class
--------------------------------------------
En date de : Lun 2.11.15, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
a écrit :
Objet: Re: [xwiki-users] Need help to find a hql query
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>,
"XWiki Users" <users(a)xwiki.org>
Date: Lundi 2 novembre 2015, 13h47
On Mon,
Nov 2, 2015 at 1:00 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
wrote:
Hello,
I have a xwiki doc class with some properties:
'Static
List' type and 'Page' (multiselect) type.
I try to write a query to retrieve document in one
query
shot but I encoutered problem with 'Page' type.
This query working well based on http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HGett…
select distinct doc.name,
doc.creationDate from XWikiDocument as doc, BaseObject
as
obj, StringProperty prop where (doc.fullName=obj.name and
obj.className='FormSMQ.ACClass' and
doc.space='FormSMQ' and doc.hidden=false and prop.id.id=obj.id
and prop.name='P1_Processus'
and prop.value='M3') order by doc.creationDate
desc
'P1_Processus' is a static list type
But this query doesn't work:
select distinct doc.name,
doc.creationDate from
XWikiDocument as doc, BaseObject as obj, StringProperty
prop
where (doc.fullName=obj.name and
obj.className='FormSMQ.ACClass' and
doc.space='FormSMQ' and doc.hidden=false and prop.id.id=obj.id
and prop.name='MY_PAGE_TYPE_PROPERTY_NAME'
and prop.value='MYVALUE') order by
doc.creationDate
desc
I suppose the 'P1_Processus'
property has single selection, which means
'prop.value' is a string and thus you can write
"prop.value='M3'". If the Page type
property is multiple select then it's value is a
list.
You should check the
"List all blog posts, published and not
hidden (filter by multiple properties of an
object)"
example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
. Look for :
:category member of blog.category (in
the XWQL version)
DBStringListProperty as categoryProp
join categoryProp.list list (in the HQL version)
Hope this helps,
Marius
Ididn't find some "PageProperty" in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…,
then I must use DBStringListProperty ?
Any help will be welcome.
Pascal B
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
> I read this example:
> http://xwiki.markmail.org/message/e2mi4odgpucsd3cu
> #set ($hql ="select distinct doc.fullName, otherprop.value,
> doc.creationDate from XWikiDocument as doc, BaseObject as
> obj, StringProperty otherprop, DBStringListProperty as prop
> join prop.list list
> where obj.name=doc.fullName and
> obj.className='Blog.BlogPostClass' and obj.id=prop.id.id and
> prop.id.name='category' and list='Blog.Autres'
> and obj.id=otherprop.id.id and otherprop.id.name='title'
> order by doc.creationDate desc")
>
> (must try with category property now)
>
Nope: I didn't managed to have multiselect category values with hql query :-(
maybe I must uncheck database relationnel storage (and use this filter "list like '%Blog.Autres%'")?
because like sergio said in http://xwiki.markmail.org/message/c6s5wofs24q62qjd?q=query+Property+DBStrin…
<<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 >>
Hi
I am trying out Xwiki and would like to know how to login after installing.
Is there an admin user already created when installing? If yes, what is the
password?
If not, how do I create an admin user?
Thanks
--
Anton Hughes
Hello,
I have a xwiki doc class with some properties: 'Static List' type and 'Page' (multiselect) type.
I try to write a query to retrieve document in one query shot but I encoutered problem with 'Page' type.
This query working well based on http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HGett…
select distinct doc.name, doc.creationDate from XWikiDocument as doc, BaseObject as obj, StringProperty prop where (doc.fullName=obj.name and obj.className='FormSMQ.ACClass' and doc.space='FormSMQ' and doc.hidden=false and prop.id.id=obj.id and prop.name='P1_Processus' and prop.value='M3') order by doc.creationDate desc
'P1_Processus' is a static list type
But this query doesn't work:
select distinct doc.name, doc.creationDate from XWikiDocument as doc, BaseObject as obj, StringProperty prop where (doc.fullName=obj.name and obj.className='FormSMQ.ACClass' and doc.space='FormSMQ' and doc.hidden=false and prop.id.id=obj.id and prop.name='MY_PAGE_TYPE_PROPERTY_NAME' and prop.value='MYVALUE') order by doc.creationDate desc
Ididn't find some "PageProperty" in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…, then I must use DBStringListProperty ?
Any help will be welcome.
Pascal B
I am trying to update from 7.2 to 7.3 Milestone 1.
Almost every single time I do an update, I run into problems and either parts of the wiki don't work or it won't load at all.
Right now, won't load at all. Blank screen. No error, no nothing. Logs are not helping.
24-Oct-2015 08:07:08.398 INFO [Core extension repository updater] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1327)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:330)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:213)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.java:187)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository.java:134)
at java.lang.Thread.run(Unknown Source)
2015-10-24 08:11:03,743 [localhost-startStop-1] ERROR .o.i.DefaultObservationManager - Failed to lookup listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.xwiki.observation.EventListener] hint = [solr.availablelocales]]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118) [xwiki-platform-container-servlet-7.3-milestone-1.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) [catalina.jar:8.0.23]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) [catalina.jar:8.0.23]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.0.23]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) [catalina.jar:8.0.23]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) [catalina.jar:8.0.23]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) [catalina.jar:8.0.23]
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) [catalina.jar:8.0.23]
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) [catalina.jar:8.0.23]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_60]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_60]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_60]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.search.solr.internal.SolrInstanceProvider] identified by [role = [javax.inject.Provider<org.xwiki.search.solr.internal.api.SolrInstance>] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:356) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
... 19 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to lookup configured Solr instance type [embedded]
at org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:74) ~[xwiki-platform-search-solr-api-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
... 24 common frames omitted
I am struggling at times with Anchors.
The documentation says that anchors for headings are auto-created. However, when I try to link to a heading using the format: spacename.pagename#Hmyheading, it wants to create a new page. However, when I use the full url for the page: https://www.sitename.ca/xwiki/bin/view/spacename/pagename#Hmyheading it works.
Any insight?
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Skype: pinkerp.lao<skype:pinkerp.lao>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org/>
The XWiki development team is proud to announce the availability of
XWiki 7.3 Milestone 2.
This is the first of the 2 stabilization releases that happen at the
end of each yearly Cycles. Lots of polishing has been done, especially
for the recently introduced Nested Pages feature and its consequences
on the UI redesign (modified menus for example). Some extensions
started exploit nested spaces to bring some improvements.
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/ReleaseNotesXWiki73M2
The following people have contributed code to this release:
Clemens Robbenhaar
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
--
Thomas Mortagne
Thanks a lot everyone, we got 8 new survey results since yesterday, that’s great! :)
We can do even better, please all take the time to fill the survey ASAP. It’s not much, won’t take much time and it helps a lot the project. That’s a good way to contribute something back! :)
Thanks
-Vincent
On 28 Oct 2015 at 20:08:43, Ldm Public (ldmpub@gmail.com(mailto:ldmpub@gmail.com)) wrote:
> Done !
>
> Le 23/10/2015 15:19, vincent(a)massol.net a écrit :
> > Hi,
> >
> > In previous years the xwiki.org project launched surveys about features we’d like to see implemented in XWiki (see http://www.xwiki.org/xwiki/bin/view/Main/Feedback).
> >
> > After some discussions with fellow XWikiers we thought it could be interesting to launch a similar survey in 2015, especially with the 8.x cycle approaching. But this time instead of having a long list of features to vote on, we thought it might be more interesting to have a few open questions that the community could answer.
> >
> > The aim of this short survey is to find out more about how satisfied (or not!) the members of the XWiki community are with the XWiki product.
> >
> > We'd be happy to learn about:
> > * what you like / dislike about the product
> > * the features and improvements you’d like to see in the product in the future and especially for XWiki 8.x
> >
> > The survey will run till November 13 and the results will be synthesised and made available mid-November through a blog post on the community blog ( http://blog.xwiki.org/xwiki/bin/view/Blog/ )
> >
> > The survey has 6 questions and should only take a few minutes:
> >
> > http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiProduct2015
> >
> > Thanks a lot for your contributions and for helping improve the product,
> > -Silvia & Vincent
Nice! I like it when our users are happy :) Well done Clements!
@Rolf: maybe you could write a little quote for http://www.xwiki.org/xwiki/bin/view/References/Testimonials ;)
Thanks
-Vincent
On 28 Oct 2015 at 14:29:55, Rolf Lang (rolf.lang(a)la-bw.de) wrote:
Clemens,
you are great!
We followed your clear instructions and indeed, it worked as expected.
Thanks for your great support. We are realy happy!
Kind regards
Rolf LANG
-----Ursprüngliche Nachricht-----
Von: users [mailto:users-bounces@xwiki.org] Im Auftrag von Clemens
Klein-Robbenhaar
Gesendet: Dienstag, 27. Oktober 2015 17:38
An: users(a)xwiki.org
Betreff: Re: [xwiki-users] xwiki as our Intranet
Hi Rolf,
for use case 2:
actually I did not realize that the main wiki:Main.Activity page
still uses my locally adapted "activity" macro ... that is why it worked for
me, and not for you.
So, it seems we need to get our hands dirty and modify the "activity" Macro:
a) in the subwiki, go to the .../Main/Activity page
b) go to "Edit" -> "Objects"
c) click "Objects of type XWiki.WikiMacroClass
d) this opens several text fields;
the big field for "Macro code" contains, unsurprisingly, the code for the
macro
which makes sure we only see messages from the local wiki.
Here we need to make some changes:
d1) just at the start:
{{velocity output=false}}
##
add a line remembering the current wiki, so it looks instead like:
{{velocity output=false}}
#set($currentWiki = $xcontext.getDatabase())
##
d2) look for the code
## Always assume access to messages. For the rest of the documents, check
access.
#if
($pageName.matches(".*:XWiki[.][0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{
4}-[0-9a-z]{12}") || ($xwiki.hasAccessLevel('view', $xcontext.user,
"${xcontext.database}:${pageName}") &&
!$iterationDocuments.contains($pageName)))
insert five lines of code in between so it looks like:
## Always assume access to messages. For the rest of the documents, check
access.
#if
($pageName.matches(".*:XWiki[.][0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{
4}-[0-9a-z]{12}"))
#set($myWiki = "xwiki")
#else
#set($myWiki = $currentWiki)
#end
#if
($pageName.matches(".*:XWiki[.][0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{
4}-[0-9a-z]{12}") || ($xwiki.hasAccessLevel('view', $xcontext.user,
"${xcontext.database}:${pageName}") &&
!$iterationDocuments.contains($pageName)))
what it does: prepares to set the "right" wiki/database: if it is a message,
look it up in the main wiki (which knows all messages), for all other
events, stay at the local wiki
d3) look a few lines below for:
#set ($discard = $subqueryParameters.addAll($filterParameters))
#set ($events= $xwiki.activitystream.searchEvents("$!whereClause", false,
0, 0, $subqueryParameters))
in between them insert a line actually setting the wiki to look up the
event; it should looks like
#set ($discard = $subqueryParameters.addAll($filterParameters))
#set ($discard = $xcontext.setDatabase($myWiki))
#set ($events= $xwiki.activitystream.searchEvents("$!whereClause", false,
0, 0, $subqueryParameters))
this actually sets the wiki to the one where the event is looked up.
d4) at the very end replace:
#end
{{/velocity}}
with:
#end
#set($discard = $xcontext.setDatabase($currentWiki))
{{/velocity}}
this sets the "current wiki" back to the original wiki, just in case (I
think XWiki does it for you, too, but I prefer to be polite and clean up
after myself ;))
press "Save and View"
If you see horrible, horrible error messages, something went wrong; to back
to the object editor and try to find the missing " or ),
or use the page history, to get back to the last version before the edit.
If you do not see any error message ... you should see that nothing has
changed, yet.
That is because by default the activity stream only looks up events for the
subwiki ... we need to change this, too, but that goes without wild coding
Go to the "Dashboard", edit the page, and edit the Gadget "Activity stream"
Find the input field "wikis", and type in "xwiki,mysubwiki" (replace
mysubwiki with the name of the current wiki)
Close the dialog to edit the gadget, save the dashboard, and it should work.
hope it works this time. Sorry, if it is a bit complicated; that is why I
did not post in my first reply
----- Ursprüngliche Nachricht -----
From: Rolf Lang
At: Dienstag, 27.10.2015, 15:03
To: Xwiki Users
Subject: Re: [xwiki-users] xwiki as our Intranet
> Hi Clemens,
>
> thanks for your advise.
>
> 1. point
> Works great as you described (ok)
>
>
> 2. point "global xwiki send messages should be visible also at local
xwiki"
> We follow your recommendations.
>
> if we use "reference" : xwiki:Main.Activity
> - we see subWiki Activities (ok)
> - but we miss the main Activities listed here
>
> If we use a wrong "reference" : xwiki:MainXX.Activity
> - we see a clear error msg on GUI (ok)
>
>
> We try to change "administration.users"
> The option 'what kind of users can access the wiki' to
> - only global users
>
> But it makes no difference.
>
>
> Kind regards
> Rolf LANG
>
>
> -----Ursprüngliche Nachricht-----
> Von: users [mailto:users-bounces@xwiki.org] Im Auftrag von Clemens
> Klein-Robbenhaar
> Gesendet: Montag, 26. Oktober 2015 12:37
> An: users(a)xwiki.org
> Betreff: Re: [xwiki-users] xwiki as our Intranet
>
>
>> Hi
>> We like to use the xwiki as our Intranet solution.
>>
>>
>> Currently it's setup as one global xwiki where people find downloads and
> the
>> dashboard.
>> Also each department use a subWiki, which uses local dashboard and infos.
>>
>> Maybe we need some help on howto configure/setup these requirements:
>>
>> 1. subWiki send messages should be visible local only. Currently they are
>> seen also on global xwiki as copy.
>
> This is the easy part :)
>
> Go to the "Dashboard" in the main wiki, edit that page,
> open the gadgets showing the activity stream, look for the "Wikis"
> parameter, and fill in the value "xwiki"
> (which is the id of the main wiki)
>
> After saving the activity stream on the dashboard stream should only show
> events from the main wiki.
>
>> 2. global xwiki send messages should be visible also at local xwiki
>> dashboard. If possible as Reference, not as copy.
>>
>
> this turned out to be trickier, because the activity stream in the subwiki
> by default
> only looks for events in the subwiki.
>
> One option is to go to the dashboard of the subwiki, and replace the
> activity by an include the activity stream for the main wiki (which then
> will display all messages, but only page edits from the subwiki):
>
> To do this:
> - edit the dashboard of the subwiki
> - remove the existing activity stream (no worries, if things go wrong you
> can just restore it from the page history)
> - add a new "include" gadget and fill in the values:
> -- "Gadget Title" (whatever you want)
> -- "context" : New
> -- "reference" : xwiki:Main.Activity
> and leave the other fields empty / at default
>
>
> This will work only if all your users have access to the main wiki,
however.
> (Otherwise they just see an error message)
>
> If this does not work, the alternative is to edit the "Activity" macro in
> the subwiki ... which is a bit more work and might cause problem when
> upgrading to an newer version.
> I could post hints how to do this, but it is a bit lengthy and technical,
> and I would prefer to see if the first option works.
>
>
> hope this helps,
> clemens
>
>
>>
>> Final question:
>> If the mailing list could give us some advise how to setup xwiki, GREAT.
>> Otherwise we also may accept an on-site workshop, depending on the costs.
>>
>>
>> Kind regards
>> ___
>> Rolf LANG | Landesarchiv Baden-Württemberg | Zentrale Dienste | Ref. 13
>> Eugenstr. 7 | 70182 Stuttgart | Tel 0711/212-4275 | E-Mail
>> rolf.lang(a)la-bw.de
>>
>>
>> _______________________________________________
>> 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
>
mit freundlichen Grüßen
Clemens Klein-Robbenhaar
--
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenhaar(a)espresto.com
www.espresto.de
HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
_______________________________________________
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 Rolf,
for use case 2:
actually I did not realize that the main wiki:Main.Activity page
still uses my locally adapted "activity" macro ... that is why it worked for me, and not for you.
So, it seems we need to get our hands dirty and modify the "activity" Macro:
a) in the subwiki, go to the .../Main/Activity page
b) go to "Edit" -> "Objects"
c) click "Objects of type XWiki.WikiMacroClass
d) this opens several text fields;
the big field for "Macro code" contains, unsurprisingly, the code for the macro
which makes sure we only see messages from the local wiki.
Here we need to make some changes:
d1) just at the start:
{{velocity output=false}}
##
add a line remembering the current wiki, so it looks instead like:
{{velocity output=false}}
#set($currentWiki = $xcontext.getDatabase())
##
d2) look for the code
## Always assume access to messages. For the rest of the documents, check access.
#if ($pageName.matches(".*:XWiki[.][0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}") || ($xwiki.hasAccessLevel('view', $xcontext.user, "${xcontext.database}:${pageName}") && !$iterationDocuments.contains($pageName)))
insert five lines of code in between so it looks like:
## Always assume access to messages. For the rest of the documents, check access.
#if ($pageName.matches(".*:XWiki[.][0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}"))
#set($myWiki = "xwiki")
#else
#set($myWiki = $currentWiki)
#end
#if ($pageName.matches(".*:XWiki[.][0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}") || ($xwiki.hasAccessLevel('view', $xcontext.user, "${xcontext.database}:${pageName}") && !$iterationDocuments.contains($pageName)))
what it does: prepares to set the "right" wiki/database: if it is a message, look it up in the main wiki (which knows all messages), for all other events, stay at the local wiki
d3) look a few lines below for:
#set ($discard = $subqueryParameters.addAll($filterParameters))
#set ($events= $xwiki.activitystream.searchEvents("$!whereClause", false, 0, 0, $subqueryParameters))
in between them insert a line actually setting the wiki to look up the event; it should looks like
#set ($discard = $subqueryParameters.addAll($filterParameters))
#set ($discard = $xcontext.setDatabase($myWiki))
#set ($events= $xwiki.activitystream.searchEvents("$!whereClause", false, 0, 0, $subqueryParameters))
this actually sets the wiki to the one where the event is looked up.
d4) at the very end replace:
#end
{{/velocity}}
with:
#end
#set($discard = $xcontext.setDatabase($currentWiki))
{{/velocity}}
this sets the "current wiki" back to the original wiki, just in case (I think XWiki does it for you, too, but I prefer to be polite and clean up after myself ;))
press "Save and View"
If you see horrible, horrible error messages, something went wrong; to back to the object editor and try to find the missing " or ),
or use the page history, to get back to the last version before the edit.
If you do not see any error message ... you should see that nothing has changed, yet.
That is because by default the activity stream only looks up events for the subwiki ... we need to change this, too, but that goes without wild coding
Go to the "Dashboard", edit the page, and edit the Gadget "Activity stream"
Find the input field "wikis", and type in "xwiki,mysubwiki" (replace mysubwiki with the name of the current wiki)
Close the dialog to edit the gadget, save the dashboard, and it should work.
hope it works this time. Sorry, if it is a bit complicated; that is why I did not post in my first reply
----- Ursprüngliche Nachricht -----
From: Rolf Lang
At: Dienstag, 27.10.2015, 15:03
To: Xwiki Users
Subject: Re: [xwiki-users] xwiki as our Intranet
> Hi Clemens,
>
> thanks for your advise.
>
> 1. point
> Works great as you described (ok)
>
>
> 2. point "global xwiki send messages should be visible also at local xwiki"
> We follow your recommendations.
>
> if we use "reference" : xwiki:Main.Activity
> - we see subWiki Activities (ok)
> - but we miss the main Activities listed here
>
> If we use a wrong "reference" : xwiki:MainXX.Activity
> - we see a clear error msg on GUI (ok)
>
>
> We try to change "administration.users"
> The option 'what kind of users can access the wiki' to
> - only global users
>
> But it makes no difference.
>
>
> Kind regards
> Rolf LANG
>
>
> -----Ursprüngliche Nachricht-----
> Von: users [mailto:users-bounces@xwiki.org] Im Auftrag von Clemens
> Klein-Robbenhaar
> Gesendet: Montag, 26. Oktober 2015 12:37
> An: users(a)xwiki.org
> Betreff: Re: [xwiki-users] xwiki as our Intranet
>
>
>> Hi
>> We like to use the xwiki as our Intranet solution.
>>
>>
>> Currently it's setup as one global xwiki where people find downloads and
> the
>> dashboard.
>> Also each department use a subWiki, which uses local dashboard and infos.
>>
>> Maybe we need some help on howto configure/setup these requirements:
>>
>> 1. subWiki send messages should be visible local only. Currently they are
>> seen also on global xwiki as copy.
>
> This is the easy part :)
>
> Go to the "Dashboard" in the main wiki, edit that page,
> open the gadgets showing the activity stream, look for the "Wikis"
> parameter, and fill in the value "xwiki"
> (which is the id of the main wiki)
>
> After saving the activity stream on the dashboard stream should only show
> events from the main wiki.
>
>> 2. global xwiki send messages should be visible also at local xwiki
>> dashboard. If possible as Reference, not as copy.
>>
>
> this turned out to be trickier, because the activity stream in the subwiki
> by default
> only looks for events in the subwiki.
>
> One option is to go to the dashboard of the subwiki, and replace the
> activity by an include the activity stream for the main wiki (which then
> will display all messages, but only page edits from the subwiki):
>
> To do this:
> - edit the dashboard of the subwiki
> - remove the existing activity stream (no worries, if things go wrong you
> can just restore it from the page history)
> - add a new "include" gadget and fill in the values:
> -- "Gadget Title" (whatever you want)
> -- "context" : New
> -- "reference" : xwiki:Main.Activity
> and leave the other fields empty / at default
>
>
> This will work only if all your users have access to the main wiki, however.
> (Otherwise they just see an error message)
>
> If this does not work, the alternative is to edit the "Activity" macro in
> the subwiki ... which is a bit more work and might cause problem when
> upgrading to an newer version.
> I could post hints how to do this, but it is a bit lengthy and technical,
> and I would prefer to see if the first option works.
>
>
> hope this helps,
> clemens
>
>
>>
>> Final question:
>> If the mailing list could give us some advise how to setup xwiki, GREAT.
>> Otherwise we also may accept an on-site workshop, depending on the costs.
>>
>>
>> Kind regards
>> ___
>> Rolf LANG | Landesarchiv Baden-Württemberg | Zentrale Dienste | Ref. 13
>> Eugenstr. 7 | 70182 Stuttgart | Tel 0711/212-4275 | E-Mail
>> rolf.lang(a)la-bw.de
>>
>>
>> _______________________________________________
>> 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
>
mit freundlichen Grüßen
Clemens Klein-Robbenhaar
--
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenhaar(a)espresto.com
www.espresto.de
HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
> Hi
> We like to use the xwiki as our Intranet solution.
>
>
> Currently it's setup as one global xwiki where people find downloads and the
> dashboard.
> Also each department use a subWiki, which uses local dashboard and infos.
>
> Maybe we need some help on howto configure/setup these requirements:
>
> 1. subWiki send messages should be visible local only. Currently they are
> seen also on global xwiki as copy.
This is the easy part :)
Go to the "Dashboard" in the main wiki, edit that page,
open the gadgets showing the activity stream, look for the "Wikis" parameter, and fill in the value "xwiki"
(which is the id of the main wiki)
After saving the activity stream on the dashboard stream should only show events from the main wiki.
> 2. global xwiki send messages should be visible also at local xwiki
> dashboard. If possible as Reference, not as copy.
>
this turned out to be trickier, because the activity stream in the subwiki by default
only looks for events in the subwiki.
One option is to go to the dashboard of the subwiki, and replace the activity by an include the activity stream for the main wiki (which then will display all messages, but only page edits from the subwiki):
To do this:
- edit the dashboard of the subwiki
- remove the existing activity stream (no worries, if things go wrong you can just restore it from the page history)
- add a new "include" gadget and fill in the values:
-- "Gadget Title" (whatever you want)
-- "context" : New
-- "reference" : xwiki:Main.Activity
and leave the other fields empty / at default
This will work only if all your users have access to the main wiki, however. (Otherwise they just see an error message)
If this does not work, the alternative is to edit the "Activity" macro in the subwiki ... which is a bit more work and might cause problem when upgrading to an newer version.
I could post hints how to do this, but it is a bit lengthy and technical, and I would prefer to see if the first option works.
hope this helps,
clemens
>
> Final question:
> If the mailing list could give us some advise how to setup xwiki, GREAT.
> Otherwise we also may accept an on-site workshop, depending on the costs.
>
>
> Kind regards
> ___
> Rolf LANG | Landesarchiv Baden-Württemberg | Zentrale Dienste | Ref. 13
> Eugenstr. 7 | 70182 Stuttgart | Tel 0711/212-4275 | E-Mail
> rolf.lang(a)la-bw.de
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi again,
I am confused about
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport#HExporting…
When exporting, there is the option "BACKUP PACKAGE (AUTHOR
PRESERVED)", and when importing there is the option "Import as backup
package". What does it mean that the author is preserved, since the
contents of the author textbox are always saved in the package, and
there is a separate checkbox to preserve the page authorship history?
-Alex
Hi
We like to use the xwiki as our Intranet solution.
Currently it's setup as one global xwiki where people find downloads and the
dashboard.
Also each department use a subWiki, which uses local dashboard and infos.
Maybe we need some help on howto configure/setup these requirements:
1. subWiki send messages should be visible local only. Currently they are
seen also on global xwiki as copy.
2. global xwiki send messages should be visible also at local xwiki
dashboard. If possible as Reference, not as copy.
Final question:
If the mailing list could give us some advise how to setup xwiki, GREAT.
Otherwise we also may accept an on-site workshop, depending on the costs.
Kind regards
___
Rolf LANG | Landesarchiv Baden-Württemberg | Zentrale Dienste | Ref. 13
Eugenstr. 7 | 70182 Stuttgart | Tel 0711/212-4275 | E-Mail
rolf.lang(a)la-bw.de
I runned tomcat8 with hsqldb latest 7.3-1 xwiki release and uploaded a
700mb file.
Java had 8gb heap and I still got a out of memory exception.
As I read about using databases for filestorage, I now found out
that this is a enormous task, becouse big databases are difficult
to maintain. So I stick with filesystem storage for now.
One solution is to break up big files into chunks, and store them
as parts within a database.
An interresting bug I encountered was:
If I changed the database from hibernate to file, I still do see the old
file attachment references,
but I am not able to delete them.
Same for virtual wikis who are created before you change the file
storage from hibernate to file.
All of those wikis have broken images.
It would be a great idea (at least from my point of view)
to set a option for "delete attachment references anyway (even if file
not found in db)"
and "Reinstall virtual wiki".
One working hack however is, to export everything, change the database type,
reninstall the wiki (delete catalina directories etc.) and then import the
backup with a proper file database configuration.
The import process took arround 3 minutes for 900 pages.
Ps.: Conflu* needs arround 10 minutes to move 1000 pages (Crashes
included), so great work so far ;)
Greetings, Louis
Am 23.10.2015 um 10:11 schrieb vincent(a)massol.net:
> Hi Louis
>
>
> On 22 Oct 2015 at 23:14:05, Louis Höfler
> (louis.hoefler@mathematek.de(mailto:louis.hoefler@mathematek.de)) wrote:
>
> > That perfectly solves my problem.
> >
> > As a point of interest,
> > would it be possible to store big files within mysql too,
> > or is this just impossible?
>
> It’s possible with very large memory settings. There are several
> reasons why it takes a lot of memory but one reason is that AFAIR
> mysql doesn’t have a streaming api for blobs and thus the whole
> attachments needs to be fully in memory. In addition our code does
> manipulation of the attachment in memory, requiring even more memory.
> At some point we computed the memory required and it was like 27 times
> or so the size of the attachment but we improved it and I don’t know
> what’s the requirement now (would be interesting to find out).
>
> If you’re interested by details
> * http://jira.xwiki.org/browse/XWIKI-8910
> * http://jira.xwiki.org/browse/XWIKI-11209
> * http://jira.xwiki.org/browse/XWIKI-10611
> * http://jira.xwiki.org/browse/XWIKI-8189
>
> Thanks
> -Vincent
>
> > Thank you, Louis
> >
> > Am 22.10.2015 um 22:47 schrieb vincent(a)massol.net:
> > > Hi Louis,
> > >
> > > Please check
> > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments and
> > > let us know if it solves your problems (hint: configure xwiki to use
> > > filesystem if you wish to store large attachments).
> > >
> > > Thanks
> > > -Vincent
> > >
> > > On 22 Oct 2015 at 22:42:33, Louis Höfler (louis.hoefler(a)mathematek.de
> > > ) wrote:
> > >
> > >> Hello Everyone,
> > >> i currently try to upload big files as attachment.
> > >>
> > >> I run mysql 5 with xwiki within tomcat 8 on debian.
> > >>
> > >> However, if i upload the File (700mb) it stops after 100%,
> > >> showing an error "There was an error uploading your file".
> > >>
> > >> Can someone help me fixing that error?
> > >>
> > >> Thank you, Louis
> > >>
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
Hello Everyone,
i currently try to upload big files as attachment.
I run mysql 5 with xwiki within tomcat 8 on debian.
However, if i upload the File (700mb) it stops after 100%,
showing an error "There was an error uploading your file".
Can someone help me fixing that error?
Thank you, Louis
I was following the instructions here (http://extensions.xwiki.org/xwiki/bin/view/Extension/Share+Page+Application) to edit the Share by email template, and I managed to find the /bin/view/XWiki/SharePage page, but couldn’t figure out how to access the Object Editor. After some googling, I found that if I edited the URL to be /bin/edit/XWiki/SharePage?editor=object, I could see the templates I wanted to edit.
Before I even edited anything I went to share a page to see what it looked like and go the following error. I ended up editing the templates anyway, restarted Tomcat/XWiki and I’m getting the same error. Sharing by email was previously working before I accessed the Object Editor for the XWiki.SharePage.
Error number 4001 in 4: Error while evaluating velocity template shareinline.vm
Verbose: http://pastebin.com/ksYGM36J
XWiki Enterprise 7.2