Hi
We have two objects of two different Classes, each on it's own page.
We looked, for a example,
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
## get the document which has the object (only one here) - this is the page where I can see things in the object editor
## Retrieve the first object (index [0]) among all objects attached to the page MySpace.MyDocWithMyClassObjects and of a certain class MySpace.MyClass
#set( $MyDoc = $xwiki.getDocument("MySpace.MyDocWithMyClassObjects"))
## get the document wich contains the class definition: this page has entries in the class editor
#set( $class = $xwiki.getClass("MySpace.MyClass"))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $MyDoc.display($prop.getName())
#end
our implementation is a bit different as we have two objects to manage:
## first the object on this page ($doc)
#set($class = $doc.getObject('Sandbox.testClassOOPage1').xWikiClass)
#foreach($prop in $class.properties)
; $prop.prettyName
: $doc.display($prop.getName())
#end
## then the object (of a different class) on another page
#set($docClass2 = $xwiki.getDocument('Sandbox.testClassOOPage2Example') )
$docClass2
#set($objectOfClass2 = $docClass2.getObject('Sandbox.testClassOOPage2').xWikiClass)
#foreach($class2Prop in $objectOfClass2.properties)
; $class2Prop.prettyName
: $docClass2.display($class2Prop.getName())
#end
This works fine in view mode...
But the problem is that we also need EDIT mode (inline)
The form seems ok before saving , we have input controls for both objects (of different classes). We also see the data of both objects
But when I modify the data of the second object in the form and press SAVE & VIEW the modification is not saved...
How can we achieve our goal
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi Everybody!
We went live with out XWiki last week, after three months of testing - and there is one issue about XWiki and GoogleAds.
Our Firewall blocks Googleads - every time when a user opens XWiki with the internet explorer there ist the security hint that
"there is no blocking information for the security certificate available".
When I click on "show certificate" I get the information, that the certificate has been issued for googleAds.
Does anybody know what XWiki has in common with googleAds and where I can prevent Xwiki from "telephoning" home?
The Window with that hint appears everytime when xwiki is opened in a new IE-Window...
Thanx in advance...
Toby :)
- if anyone needs a script for the database-plugin for creating searchable phone-list - just write me :)! Ill send you the source-code
Hi everybody,
I'm migrating content from 5.4.5 wiki to the 9.4. The old content was one
space and about 300 pages. The content has been imported ok, however it is
visible only to admin.
Is there any debug option which I can turn on, so I can debug why is this
page restricted to other users?
Thanks for hints.
--jans
Greets,
In my XWiki installation, when regular users log in for the 1st time, they are greeted with a simple message:
Error
You are not allowed to view this page or perform this action.
To be sure, the user has no rights at all. However, the new user IS placed in the group "XWikiAllGroup", and that group DOES have all rights excelt Admin, Delete, and Program. In other words, it has View, Comment, Edit, and Script, and Register.
1. Is this correct? Should the new user not have all rights except for Admin, Delete, and Program?
2. The new user IS placed in the XWikiAllGroup. So, why can the new user not see the Main page, and other pages?
3. What have I done to get in this situation and what is the proper remediation?
Thanks!!!
Doug
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
Hi All,
I have a strange behavior with search.
When I start entering the search word in the search field the auto suggestion pops up with the pages having that content, but as soon as I hit enter I receive an empty list. This happens even if I copy paste a word from an existing page.
What I want is to list the pages which containing the searched words. (Not only popping up in the auto suggestion)
XWiki is running on Apache Tomcat/8.5.15
XWiki version : XWiki Enterprise 8.4.5
Any suggestion?
Thanks for your help,
Viktor
hello again.
I want that a new user ( from user group ) to have a button like " License registration " and redirect him to a Registration page ( witch is an object of my created class ) . How can i do that ? I dont know how can i "prepare" or "give" to a user a page or object from my class...
And then i need to fetch all those objects so i can create "License schedule" .
---
[Visit Topic](https://discourse.xwiki.org/t/using-objects-from-another-page/126/20) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/c49c46e04d7d02e3c32fbbb….
So i've been playing with Xwiki for the past 2 months since 9.2 release using the standalone distribution to demo the solution. I've noticed a particular odd behavior though when i'm upgrading from 9.2 -> 9.3.1 and now -> 9.4
So couple things to know:
* Static IP address on host
* Change the port number on my install base to port 80
After installing the new distribution (letting it install in its own folder, separate from the original install base) and then shutting down the old instance, copying my HSQLDB database + Log directory to my new installation, reconfiguring it to use port 80 and then spinning up the new instance. I go through the motions of using the Distro Wizard to perform the upgrade, once the upgrade is complete I notice, for example:
* Certain macros are broken, treedoc for example, are broken (I just get a white space as if nothing is there in that section)
* As well as the breadcrumb navigation in the header section (when you click the down arrow next to the home section, you get no menu pop down). Screenshot attached for reference.

* When I go to edit a page I get a infinite spinning circle
So I did some playing around, cleaned out my 9.4 installation, deleted any remaining install folders left behind for 9.4 and then performed a reinstall of 9.4 using its default installation folders. Once done, I left the installation as is (did not copy my DB over) and the only change I made was changed the port number on my new installation to port 80 and made sure all of my previous 9.3.1 instances were spun down (even rebooted the VM) before I spun up 9.4. Once i've spun up 9.4 I still experience the same behavior. Where certain macros are broken (doctree), breadcrumbs are broken in the header section, and editing pages gives me a infinite spinning circle. If I spin down this instance, change the port number back to port 8080, then spin the instance back up, everything will work as intended.
I've also managed to replicate this behavior by taking a known good installation, spin down the active session, change the IP address on the host, and spin it back up. I have not had a chance to test and see if I can replicate this behavior on a full blown WAR install base. But it seems like something is being cached that's not being released and it's still referencing the old port numbers, or ip address.
---
[Visit Topic](https://discourse.xwiki.org/t/xwiki-upgrade-breaks-certain-functiona… to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/f01f9e99dd22472cf6f3c6c….
Hi,
I have a question about tables: how can I create a table in XWiki?I want to create a table in which i can introduce data and I want to export that table (the content of the table) as a PDF document (but if is posible, in that pdf the exported content to be display as a table,to look good).How can I do that?
Thank you,Paula P.
Hi,
I created a xwiki class with more attributes which represent the columns of a table. I need to write data in that table and also to get data from the table such that i will can compute an average for example (with that values) and after that i want to put/write the result in the same table.
The page I have created using the class contains the attributes of the class, which I can modify, but I need the table.
So, my question is:
How can I make the table such that I will can write in it and get data from it? Also, how can I export that table as pdf document?
Thank you!
The XWiki development team is proud to announce the availability of XWiki
9.4 Release Candidate 1.
This release adds support for batch restore of deleted pages from the
recycle bin. The content menu has received some usability improvements. The
live notification system has been improved to group similar notification
messages and to show notifications for page comments. The history of an
extension page now includes a special revision that corresponds to the
extension version. The Help Center and the Menu application are now part of
the default XWiki distribution.
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/Data/XWiki/9.4RC1/
Thanks for your support
-The XWiki dev team
Hi Lester,
> On 19 May 2017, at 18:48, Lester Marc Dizon (ITX) <lmdizon(a)itx-ge.com> wrote:
>
> Hi Vincent,
>
> I'm trying to replicate the xwiki and mysql-xwiki containers to another web server (for a web server cluster) but it doesn't work . The database data doesn't persist on the image when I docker commit. I do the following:
>
> On test server:
> sudo docker commit 7c7a4a700519 mysql-xwiki_itx
> sudo docker save mysql-xwiki_itx > /vagrant/mysql-xwiki_itx.tar
>
> On test server2:
> docker load < /vagrant/mysql-xwiki_itx.tar
> docker run --net=xwiki-nw --name mysql-xwiki -v /my/own/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql-xwiki_itx:latest --character-set-server=utf8 --collation-server=utf8_bin --explicit-defaults-for-timestamp=1
>
> "xwiki" database doesn't persist. Would you know why and to make it persist on the commit? Sorry for this seems to be trivial question..
I’ve never used docker commit/load so I’d need to learn those to help on that.
But I don’t understand how this could work since on the 1st server you have 2 local volumes (one for the xwiki permanent dir and one for mysql). How would these local volumes find their way onto the 2nd server?
Thanks
-Vincent
PS: Please use the users mailing list or even better please switch to the new XWiki forum on http://forum.xwiki.org (see http://dev.xwiki.org/xwiki/bin/view/Community/Discuss).
> Thanks,
> Lester
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
> Sent: vendredi 12 mai 2017 17:16
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] XWiki Docker in Prod
>
> cool thanks for reporting back!
>
> Have a nice weekend too.
>
> And let me know if you have ideas on how to improve the docker image.
>
> Thanks
> -Vincent
>
>> On 12 May 2017, at 17:11, Lester Marc Dizon (ITX) <lmdizon(a)itx-ge.com> wrote:
>>
>> Hi guys,
>>
>> Thanks alot for all the help. I have logs and ldap running!
>>
>> @Thomas Mortagne, for ldap I had this config missing (I actually thought that sAMAccountName should be replaced by the user to authenticate with the windows AD....) :
>> xwiki.authentication.ldap.UID_attr=sAMAccountName
>>
>> Thanks and have a nice weekend!
>>
>> Lester
>>
>> -----Original Message-----
>> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas
>> Mortagne
>> Sent: jeudi 11 mai 2017 19:05
>> To: XWiki Users <users(a)xwiki.org>
>> Subject: Re: [xwiki-users] XWiki Docker in Prod
>>
>> You have various examples
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/Use….
>>
>> On Thu, May 11, 2017 at 7:03 PM, Thomas Mortagne <thomas.mortagne(a)xwiki.com> wrote:
>>> XWiki tried to find an entry in the LDAP server with the field "cn"
>>> having the value "lmdizon-itx". Either this uid does not exist or you
>>> need to set a different field using the property
>>> xwiki.authentication.ldap.UID_attr (cn is the default).
>>>
>>> On Thu, May 11, 2017 at 6:20 PM, Lester Marc Dizon (ITX)
>>> <lmdizon(a)itx-ge.com> wrote:
>>>> @Thomas Froehlich thanks it works and I see LDAP debug logs! @Vincent Massol , with Thomas way, I find the LDAP logs in "/var/lib/tomcat8/logs/xwiki.log" .
>>>>
>>>> I added the following configuration in xwiki.cfg but it still doesn't work:
>>>> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthS
>>>> e
>>>> rviceImpl
>>>> xwiki.authentication.ldap.trylocal=1
>>>> xwiki.authentication.ldap=1
>>>> xwiki.authentication.ldap.server=10.50.0.26
>>>> xwiki.authentication.ldap.port=389
>>>> xwiki.authentication.ldap.base_DN=OU=Standards,OU=Accounts,OU=_ITX,D
>>>> C =itx,DC=local xwiki.authentication.ldap.bind_DN=CN=Lester Marc
>>>> Dizon (ITX),OU=Standards,OU=Accounts,OU=_ITX,DC=itx,DC=local
>>>> xwiki.authentication.ldap.bind_pass=mypassword
>>>>
>>>> I have the following errors:
>>>> 81954 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] TRACE
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
>>>> 81955 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode.
>>>> 81955 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] TRACE
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
>>>> 81956 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.contrib.ldap.XWikiLDAPConfig - remoteUserParser: null
>>>> 82020 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_classes:
>>>> [groupofnames, posixgroup, apple-group, groupofuniquenames,
>>>> dynamicgroup, groupwisedistributionlist, group, dynamicgroupaux]
>>>> 82021 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields:
>>>> [uniquemember, memberuid, member]
>>>> 82201 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server
>>>> [10.50.0.26:389]
>>>> 82217 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPConnection - Binding to LDAP server with
>>>> credentials login=[CN=Lester Marc Dizon
>>>> (ITX),OU=Standards,OU=Accounts,OU=_ITX,DC=itx,DC=local]
>>>> 83172 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.xwiki.contrib.ldap.XWikiLDAPUtils - Searching for the user in LDAP:
>>>> user [lmdizon-itx] base
>>>> [OU=Standards,OU=Accounts,OU=_ITX,DC=itx,DC=local] query
>>>> [(cn=lmdizon-itx)] uid [cn]
>>>> 83180 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPConnection - LDAP search:
>>>> baseDN=[OU=Standards,OU=Accounts,OU=_ITX,DC=itx,DC=local]
>>>> query=[(cn=lmdizon-itx)] attr=[null] ldapScope=[2]
>>>> 83253 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
>>>> com.xpn.xwiki.XWikiException: Error number 8001 in 8: Can't find LDAP user DN for input [lmdizon-itx]
>>>> at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:608)
>>>> at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:334)
>>>> at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:268)
>>>> at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
>>>> at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
>>>> at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
>>>> at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
>>>> at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:163)
>>>> at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3782)
>>>> at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:242)
>>>> at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:272)
>>>> at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3800)
>>>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4850)
>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:364)
>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>>>> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
>>>> at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
>>>> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
>>>> at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>>>> at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
>>>> at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
>>>> at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> 83254 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - Trying authentication against
>>>> XWiki DB
>>>> 83283 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - LDAP authentication failed for
>>>> user [lmdizon-itx]
>>>> 83284 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - XWikiUser: null
>>>>
>>>>
>>>> It seems that I connect to the LDAP server but it doesn't find the user.. When I go to the login page I already have errors for some reason:
>>>> 907353 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] TRACE
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
>>>> 907354 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode.
>>>> 907354 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] TRACE
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
>>>> 907354 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode.
>>>> 907354 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
>>>> o.x.c.ldap.XWikiLDAPAuthServiceImpl - XWikiUser: null
>>>>
>>>> Any ideas what config I'm missing/wrong?
>>>>
>>>> Thanks,
>>>> Lester
>>>>
>>>> -----Original Message-----
>>>> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas
>>>> Froehlich
>>>> Sent: jeudi 11 mai 2017 08:25
>>>> To: XWiki Users <users(a)xwiki.org>
>>>> Subject: Re: [xwiki-users] XWiki Docker in Prod
>>>>
>>>> Hi Lester,
>>>>
>>>> you should configure the XWIKI logging. Then you can find ldap logging information in the XWIKI log file. I did the following steps:
>>>>
>>>> a) Set up the XWIKI logging configuration in
>>>> WEB-INF\classes\logback.xml by adding a RollingFileAppender
>>>>
>>>> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
>>>> <file>/var/lib/tomcat8/logs/xwiki.log</file>
>>>> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
>>>> <!-- daily rollover -->
>>>> <fileNamePattern>xwiki.%d{yyyy-MM-dd}.log</fileNamePattern>
>>>> <!-- keep 30 days' worth of history -->
>>>> <maxHistory>30</maxHistory>
>>>> </rollingPolicy>
>>>> <encoder>
>>>> <pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern>
>>>> </encoder>
>>>> </appender>
>>>>
>>>> b) Extend the root level logging:
>>>>
>>>> <root level="info">
>>>> <appender-ref ref="stdout"/>
>>>> <appender-ref ref="FILE"/>
>>>> </root>
>>>>
>>>> c) Activation of the ldap logging (debugging) in
>>>> WEB-INF\classes\logback.xml
>>>>
>>>> <!-- LDAP debugging -->
>>>> <logger name="org.xwiki.contrib.ldap" level="trace"/>
>>>>
>>>>
>>>> With kind regards
>>>> Thomas
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>
>>
>>
>> --
>> Thomas Mortagne
>
Greets,
Seems like I am no longer able to remove groups in one of my xwiki installations. I am still able to in another. As seen in the excerpts below from catalina.out, one such group in SplunkAdmins. This group appears in xwiki.cfg where it is mapped to an AD group and had been populated with one member who I have removed. The other group is “foo” and I created it just now.
I can’t remove either. Any ideas why not? Thanks!
2017-05-15 16:48:33,660 [http://dwswiki10.westmarine.net/xwiki/bin/admin/XWiki/XWikiPreferences?xpag…] WARN o.x.c.i.DefaultCSRFToken - CSRFToken: Secret token verification failed, token: "VuvtkWH4Qv1NiLvTaNoISw", stored token: "hbAO9bUvYVuJLFxM8Mud7Q"
2017-05-15 16:48:41,026 [http://dwswiki10.westmarine.net/xwiki/bin/admin/XWiki/XWikiPreferences?xpag…] WARN o.x.c.i.DefaultCSRFToken - CSRFToken: Secret token verification failed, token: "VuvtkWH4Qv1NiLvTaNoISw", stored token: "hbAO9bUvYVuJLFxM8Mud7Q"
The information contained in this transmission may contain West Marine proprietary, confidential and/or privileged
information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited.
If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original
message. To reply to our email administrator directly, please send an email to netadmin(a)westmarine.com.
Hi,
I have just installed xwiki 9.3 and I am having problems with the
notification settings. I've used tomcat9, mysql14 on centos 6.9.
On the user profile, Notifications Preferences option I cant change the
notification settings. Every time i toggle the option I get an error:
"Failed to save your settings"
and get this error on the server:
mai 09, 2017 11:19:02 AM org.restlet.engine.application.StatusFilter
doHandle
WARNING: Exception or error caught in status service
java.lang.IllegalStateException: The Web form cannot be parsed as no fresh
content is available. If this entity has been already read once, caching of
the entity is required
at org.restlet.engine.util.FormUtils.parse(FormUtils.java:272)
at org.restlet.data.Form.<init>(Form.java:88)
at
org.xwiki.rest.internal.representations.objects.FormUrlEncodedObjectReader.readFrom(FormUrlEncodedObjectReader.java:82)
at
org.xwiki.rest.internal.representations.objects.FormUrlEncodedObjectReader.readFrom(FormUrlEncodedObjectReader.java:52)
at
org.restlet.ext.jaxrs.internal.wrappers.provider.SingletonProvider.readFrom(SingletonProvider.java:304)
at
org.restlet.ext.jaxrs.internal.wrappers.params.EntityGetter.getValue(EntityGetter.java:109)
at
org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.get(ParameterList.java:1090)
at
org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.internalInvoke(AbstractMethodWrapper.java:169)
at
org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(ResourceMethod.java:291)
at
org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:1043)
at org.restlet.ext.jaxrs.JaxRsRestlet.handle(JaxRsRestlet.java:792)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at
org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:154)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
at
org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:75)
at org.restlet.Application.handle(Application.java:391)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.routing.Router.doHandle(Router.java:500)
at org.restlet.routing.Router.handle(Router.java:740)
at org.restlet.routing.Filter.doHandle(Filter.java:159)
at org.restlet.routing.Filter.handle(Filter.java:206)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
at org.restlet.Component.handle(Component.java:391)
at org.restlet.Server.handle(Server.java:491)
at org.restlet.engine.ServerHelper.handle(ServerHelper.java:74)
at
org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:153)
at
org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1031)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:495)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:767)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1354)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Already searched everywhere for this error on notifications with no success.
Can anyone kindly point me to some direction, already reinstalled twice with
same result.
best regards
--
View this message in context: http://xwiki.475771.n2.nabble.com/Error-saving-Notifications-Preferences-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users,
In order to make it simpler and more modern for users to participate to XWiki discussions, we’ve set up a new forum based on Discourse:
https://discourse.xwiki.org
Please start using it instead of the XWiki User Mailing list. This mailing list will become read only in a few days so please start moving to the forum ASAP.
Note that you can subscribe to receive all forum posts as email notifications if you wish (it’s configurable in your user profile). Also note that for the moment it’s not possible to reply to the mails (we’re still trying to configure this).
We hope that you’ll appreciate this move :)
Thanks
-Vincent
PS: For the moment the XWiki Devs mailing list remains. It’s possible that it could be moved to a forum too in the future but nothing is decided and we’re migrating the users list first.
Hi,
I'm trying to migrate my 7.4.4 (test environment) instance to the newer LTS
8.4.5.
I have 3 main errors:
1) During the startup I get errors about missing ldap classes (I'd like to
resolve later, I think it depends on some missing plugin, right?)
2) When I access as Admin user (after the distribution installation wizard
phase) , the drawer menu has only one voice (Application Index) under
"Home", where are the other voices (Administration,indexes...)?
3) If I try to go to the preferences page with the old url I can see the
page but I also see strange icons on the right (maybe something went wrong
during files replacement? I set always "replace files with newer ones"
during the distribution wizard phase).
If the problem is related to the environment data folder, I didn't use a
fixed one (I'm in test environment) I used the tomcat's temp directory (that
I deleted before the installation).
I didn't have important files to save so I thought that I could replace them
easily with the new installation.
Thank you for support.
Kind regards
--
View this message in context: http://xwiki.475771.n2.nabble.com/Issues-migrating-from-7-4-4-to-8-4-5-tp76…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
In Xwiki 9.1.2 I have enabled the xwiki-marco toolbar option for the Wysiwig editor, and indeed there is a button shown in the toolbar now.
However, this button is greyed out for some reason that I don't know.
Would appreciate some help with this.
Thanks
Rolf
Hi,
What do you think of a «Feedback» category ? I think that if we present a dedicated part of this forum that allows the user to post his feedback, he (the end user) will be more prompt to report any issue / good surprise he had when using the platform.
Also, the «Feedback» category is used on https://discuss.gradle.org/.
We can also use Tags in the «Help / Discuss» category in order to mark feedback posts.
Thanks
---
[Visit Topic](https://discourse.xwiki.org/t/categories-brainstorming/23/11) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/9bba6bdeff443fccc6cf2e5….
Hello all,
I installed the latest version of XWiki (9.3.1) and I want to get a new navigation panel since my old is a little bit buggy and outdated.
I would like to have something like the document tree macro generates with this command:
{{velocity}}
#panelheader('Navi3')
{{documentTree showTranslations="false" showAttachments="false" compact="true" showSpaces="true" limit=20/}}
#panelfooter()
{{/velocity}}
But the problem there is, that I can't blacklist the spaces I don't want to be shown in this list...
There was a ticket already with this topic and I posted a comment there, so hopefully they add this "feature" (yes for me it is a needed feature) but I thought maybe you guys have a navigation bar that
is generated dynamicly and will work for me. (It should be a tree panel).
Something like this:
http://test.xwiki.org/xwiki/bin/view/Panels%20Tests/Navigation%20Panel#Atta…
Link to the JIRA ticket:
https://jira.xwiki.org/browse/XWIKI-12895
Mit freundlichen Grüßen
Timo Dachs-Wegmann
-EDV-
-------------------------------------
PROCITEC GmbH Rastatter Strasse 41
D-75179 Pforzheim
Fon: +49 7231 15561-29
Fax: +49 7231 15561-11
Mailto: t.wegmann(a)procitec.de
Mannheim HRB 504702
Geschäftsführer: Dipl.-Ing. (FH) Dipl.-Inf. (FH) Jens Heyen
Establishing a multi-instance wiki environment. We successfully setup the first wiki and now setup another one in the same environment and that is where we are having issues.
Expectation is that we setup an additional wiki site that can have users log in directly but that does not work - when you attempt to log in with a valid user ID it provides no error message it just prompts you to log in again.
We setup another wiki on our instance and we are unable to get any users to authenticate to the site. The workaround is to create users as a Global user and add them to the sub-wiki site's XWikiAllGroup.
The use case is to establish another Wiki that we can add outside partner's users to it and segregate them from the main wiki site.
The configuration we have for the sub-wiki is as follows:
* Any global user can request to join but an admin must accept
Main Wiki is setup for LDAP - the sub-wiki is NOT.
xwiki.cfg
#-# The following line is used to enable LDAP. See the LDAP section for more detail.
xwiki.cfg:322 xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
LDAP
Enable or not LDAP authentication for this wiki. If enabled and configured properly, a local user will be created whenever a LDAP user visit this wiki for the first time.
Yes
TRY LOCAL LOGIN
If ldap authentication fails for any reason, try XWiki DB authentication with the same credentials. Default is yes
Yes
List of Installed Software
xwiki-enterprise-web-9.3.1
jetty-distribution-9.4.4.v20170414
openjdk version "1.8.0_121"
mysql-connector-java-5.1.41
mysqld Ver 5.5.54 for Linux on x86_64 (MySQL Community Server (GPL))
Amazon Linux AMI (https://aws.amazon.com/amazon-linux-ami/2017.03-release-notes/)
Apache/2.2.31 (Unix)
OpenLDAP 2.4.40-12.30.amzn1
Question is - did we miss a configuration step to authenticate the users for the sub-wiki for basic authentication? What configuration files should we look at and what sections of those may have a clue for how this should be configured and function as expected?
Thanks
---
[Visit Topic](https://discourse.xwiki.org/t/users-local-or-global-cannot-authentic… to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discourse.xwiki.org/email/unsubscribe/2a966ef071dd63c45aa28bf….
Expectation is that we setup an additional wiki site that can have users
log in directly but that does not work - when you attempt to log in with a
valid user ID it provides no error message it just prompts you to log in
again.
We setup another wiki on our instance and we are unable to get any users to
authenticate to the site. The workaround is to create users as a Global
user and add them to the sub-wiki site's XWikiAllGroup.
The use case is to establish another Wiki that we can add outside partner's
users to it and segregate them from the main wiki site.
*The configuration we have for the sub-wiki is as follows:*
* Any global user can request to join but an admin must accept
Main Wiki is setup for LDAP - the sub-wiki is NOT.
xwiki.cfg
#-# The following line is used to enable LDAP. See the LDAP section for
more detail.
xwiki.cfg:322
xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
LDAP
Enable or not LDAP authentication for this wiki. If enabled and configured
properly, a local user will be created whenever a LDAP user visit this wiki
for the first time.
Yes
TRY LOCAL LOGIN
If ldap authentication fails for any reason, try XWiki DB authentication
with the same credentials. Default is yes
Yes
List of Installed Software
xwiki-enterprise-web-9.3.1
jetty-distribution-9.4.4.v20170414
openjdk version "1.8.0_121"
mysql-connector-java-5.1.41
mysqld Ver 5.5.54 for Linux on x86_64 (MySQL Community Server (GPL))
Amazon Linux AMI (
https://aws.amazon.com/amazon-linux-ami/2017.03-release-notes/)
Apache/2.2.31 (Unix)
OpenLDAP 2.4.40-12.30.amzn1
Question is - did we miss a configuration step to authenticate the users
for the sub-wiki for basic authentication? What configuration files should
we look at and what sections of those may have a clue for how this should
be configured and function as expected?
Thanks