>
> It seems that my livetable working like a charm now. :-)
>
> By the way, it's a shame that boolean property didn't work
> with columnsProperties with this :
> #set ($columnsProperties = {
> 'MyBooleanPropertyField':
> {"type":"list",'class':'xxxxx'},
> It didn't work with text either.
> Then I suppose I must change the property field type in a
> database list or in static list.
Right, I found this issue for that: http://jira.xwiki.org/browse/XWIKI-6118: "Add boolean property support on livetables"
> >
> > You
> > can use https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> > as an example of a custom results page.
>
> Thanks, I will give a try.
> With ResultPage, I wonder if I could use select list of
> livetable.
>
Hello,
I didn't used ExternalLinksJSON.xml example because I need tag cloud and all nice livetable features :-)
Then I copy/paste XWiki.LiveTableResultsMacros in MyApply.MyResultPage and use this lovetable option:
#set ($options = {
'resultPage':'MyApply.MyResultPage',
'translationPrefix' : 'FormSMQ.livetable.',
In MyApply.MyResultPage, I replace these lines (and add tons of debug code :-)) ):
#set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className = ?")
#set($discard = $whereParams.add($propClassName))
by
- ## Hack #set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className = ?")
#set($whereSql = "${whereSql} and ${objectAlias}.name = doc.fullName and ${objectAlias}.className like ? and doc.fullName NOT like 'FormSMQ.%Template'")
#set($discard = $whereParams.add('FormSMQ.%Class'))
and to avoid hidden doc when no filter is applied:
I replace
#set($sql = "$!fromSql $!filterfrom where 1=1 $!whereSql $!filterwhere")
by
#set($sql = "$!fromSql $!filterfrom where 1=1 and doc.hidden=false $!whereSql $!filterwhere")
It seems that my livetable working like a charm now. :-)
By the way, it's a shame that boolean property didn't work with columnsProperties with this :
#set ($columnsProperties = {
'MyBooleanPropertyField': {"type":"list",'class':'xxxxx'},
It didn't work with text either.
Then I suppose I must change the property field type in a database list or in static list.
Thxs for all
Pascal B
Hi,
I'm currently migrating my company's wiki to XWIKI. I've installed version 7.0.
Well, this application rocks but I've got an annoying problem :
- I've downloaded the file manager and tried it on both Firefox and Chrome. When I open the page, I've just got an empty folder. I tried to click, double click, right clic... Nothing happens.
For your information, my xwiki is configured in french, and I'm logged with a superadmin account...
Do you have an idea ? Or a fix to help me ?
Laurent
Hello,
I am trying to connect to an LDAP server using the LDAP Admin
Application and failing. The settings I have configured are as follows:
- LDAP - enabled
- LDAP SERVER ADDRESS - server IP address
- LDAP SERVER PORT - 389
- LDAP LOGIN MATCHING - cn={0},ou=people,dc=info,dc=uaic,dc=ro
- LDAP PASSWORD MATCHING - {1}
- TRY LOCAL LOGIN - yes
- UPDATE USER FROM LDAP AFTER LOGIN - yes
- LDAP USER FIELDS MAPPING - last_name=sn,first_name=givenName,email=mail
Everything else is left blank, and in the xwiki.cfg file, the only
uncommented line is
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
Every time I try to log in using LDAP credentials the attempt fails with
the log entry given at the end of the message. I have also tried the
exact same settings in the xwiki.cfg file, with the same error message.
The server I am using is Tomcat, and the xwiki version is 6.4.
Best regards,
Alex Moruz
2015-04-09 16:28:13,172
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,185
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
2015-04-09 16:28:13,185
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,229
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP
bind failed with LDAPException.
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:197)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:125)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129)
[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3293)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:241)
[xwiki-platform-security-bridge-6.4.jar:na]
at
org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:271)
[xwiki-platform-security-bridge-6.4.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3306)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4299)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:269)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
[struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[xwiki-platform-wysiwyg-server-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-6.4.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[catalina.jar:6.0.43]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
[catalina.jar:6.0.43]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[catalina.jar:6.0.43]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
[catalina.jar:6.0.43]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
[tomcat-coyote.jar:6.0.43]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
[tomcat-coyote.jar:6.0.43]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote.jar:6.0.43]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
Caused by: com.novell.ldap.LDAPException: Invalid Credentials
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.bind(XWikiLDAPConnection.java:231)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:193)
~[xwiki-platform-ldap-authenticator-6.4.jar:na]
... 51 common frames omitted
2015-04-09 16:28:13,231
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against
XWiki DB
2015-04-09 16:28:13,237
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/loginsubmit/XWiki/XWikiL…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for
user [mmoruz]
2015-04-09 16:28:13,558
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/ssx/XWiki/DefaultSkin?la…]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2015-04-09 16:28:13,558
[http://127.0.0.1:8080/xwiki-enterprise-web-6.4/bin/ssx/XWiki/DefaultSkin?la…]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
description: wiki for managing Oaza's staff
owner name: Konrad Fierek (fiercio)
wiki name: oaza-swanna.myxwiki.org (or staff.oaza-swanna.info if is it possible)
Best regards,
Konrad
Hi,
for one of our projects, we're creating a XWiki component, based upon
this documentation
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents).
In documentation, it is said we can access the XWikiContext, which is
also said to be deprecated.
Considering that, and the fact we're running in XWiki 7.0, what is the
best way to get incoming request parameter ?
Thanks
Hi,
Firstly, I hope I'm sending this to the correct e-mail, if not please tell
me so I can avoid making the same mistake in the future.
Secondly, I would like to create my own personal Wiki. I'm mainly going to
use it for personal use. This will hold a knowledge base for my IT and
Webdesign knowledge to present me this in a structured way. While I'm using
this, I'm also going to evaluate it to use it in an enterprise environment.
Owner name: Daniël Meyfroot
Wiki name: bedar.myxwiki.com (bedar89 is also possible, but I prefer
without numbers)
Thank you in advance,
Daniël Meyfroot
Hi all!
We have successfuly updated our XWiki 6.x installation along the whole 6 cycle, but I'm in troubles with the new 7.0 release. I think that with only the first four lines of the error stack
XWiki initialization failed !
Exception thrown during job execution
class java.lang.AbstractMethodError: null
at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
...
Here you could find all catalina.out logged me after a Tomcat shutdown/start cycle and a call to XWiki in that server...
http://atriumkm.idisantiago.es/bin/download/ICT/XWikiUpgradeIssues/tomcatEr…
XWiki is running in a CentOS box...
[root@idis1 /]# cat /etc/centos-release
CentOS release 6.5 (Final)
With the following XWiki relevant pieces...
[root@idis1 /]# java -version
*java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
... concerning JDBC
Since 1.7 -- new in the JDBC 4.1 API and part of the Java SE platform, version 7
*INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
To the best of my knowledge, compatible with the new Servlet Spec as per...
http://tomcat.apache.org/whichversion.html
... from XWiki 7.0 Release Notes
mysql> status
--------------
*mysql Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1
*mysql-connector-java-5.0.8-bin.jar (2007-10-09)
Well, this piece is a good candidate for being identified as the poblem, but updating it to the last available release...
mysql-connector-java-5.1.35-bin.jar (2015-03-23)
...doesn't solve the issue.
As they are a lot of versions between mysql-connector-java-5.0.8-bin.jar (working for us nicely so far) and the newest mysql-connector-java-5.1.35-bin.jar (failing for us, at least with this combination of Java, Tomcat and MySQL), please, could you tell us if we are in the right direction? Should we update any other component but mysql-connector-java-x.y.z-bin.jar to get XWiki 7.0 working? Should we start trying one by one mysql-connector-java-x.y.z-bin.jar newer releases? Do you know which release introduces JDBC 4.1 support?
Thanks you so much for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
We use the database connector "mysql-connector-java-5.1.24-bin.jar" and are hesitant to proceed with the upgrade until this issue is resolved.
Thanks,
Jeff Anderson
Press F5 to refresh on that page. We had this as well. I think something gets cached in the browser that stops it from loading. I never got to the bottom of it, but it hasn't really happened with V7 actually (and users now know to press F5 before reporting an issue to me :) )
I hope that helps.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Jeff Anderson
Sent: 07 April 2015 15:29
To: users(a)xwiki.org
Cc: # IT
Subject: [xwiki-users] XWiki 6.4.3 - Bug - Stuck Loading Edit Page
After updating the wiki from v6.4.2 to v6.4.3 we have run into an issue.
Upon clicking "edit" button to edit a page the page will get stuck loading the page.
This has been reported to happen on multiple occasions.
Thanks,
Jeff Anderson
ü P.R.I.D.E.<http://pridedallas.com/> IT Analyst
* jeffanderson(a)pridedallas.com
* (214) 420 7818
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users