Hi,
how can I check programmatically that a certain member is in a group.
I need this in my custom authentication, to prevent the same user from been
added several times to the same group.
Thanks
Hello together,
I don't know why, but since I upgraded to 6.0 (6.0.1) I cannot launch the
Syntax Guide (XWiki.XWikiSyntax). I just get an Failed to execute the
[velocity] macro error and that's it.
Here you will find the complete error message->
http://mysticpaste.com/view/z6rrmr8o91?2
I have a clone of the XWiki instance where I don't have this problem but
there the content is shown twice.
I compare both pages and for me they are the same, same content, same
objects, same classes.
Where can I look or test whre this problem is coming from?
Best regards Kai
--
View this message in context: http://xwiki.475771.n2.nabble.com/Syntax-Guide-Page-doesn-t-work-because-of…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello;
when i execute "mvn {path of xwiki} install clean , i have this error :
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
project xwiki-platform-oldcore: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/usr/xwikiProject/xwiki-platform-xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-oldcore/target/surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :xwiki-platform-oldcore
help please;
thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Are there a way to include some page in footer?
I tried without success {{include context="NEW" reference="BacASable.PiedDePage"/}} in and in footer.vm and Footer:Space Copyright.
Thxs.
Pascal B
hello.
when I try to build xwiki-platform in IntelliJ I get this error :
/home/wafid/xwiki-intelliJ/xwiki-platform-xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-test/src/main/java/org/xwiki/test/ui/TestUtils.java
Error:(62, 33) java: package org.xwiki.rest.model.jaxb does not exist
Error:(63, 33) java: package org.xwiki.rest.model.jaxb does not exist
Error:(119, 20) java: cannot find symbol
symbol: class ObjectFactory
location: class org.xwiki.test.ui.TestUtils
Error:(130, 37) java: cannot find symbol
symbol: class ObjectFactory
location: class org.xwiki.test.ui.TestUtils
Error:(1020, 9) java: cannot find symbol
symbol: class Xwiki
location: class org.xwiki.test.ui.TestUtils
help;
--
View this message in context: http://xwiki.475771.n2.nabble.com/IntelleJ-Errors-tp7590960.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
i am adding Users to a group as shown below d want to prevent that a user
be added to a group twice. It is not working this way.
if( null == groupDoc.getXObject(groupDocumentReference, "member",
xwikiname)){
// Add a member object to document
BaseObject memberObj = groupDoc.newXObject(
groupClass.getDocumentReference(), context);
memberObj.setStringValue("member", xwikiname);
context.getWiki().saveDocument(groupDoc, context);
}else
log.error("the user already existed in the requested
group...");
I will appreciate any help.
Thanks
Hi,
i am receiveing the following exception:
Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex
characters in escape (%) pattern - For input string: "!<"
My scenario:
Users can create space by using a URL that looks like:
mydomain.com/xwiki/bin/...?space=
%C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld
i then try to decode this spacename and create the space without success.
String decodedspacename = URLDecoder.decode(space, "UTF-8");
How should i deal with this?
thanks for your help in advance.
Hi list,
I'm trying to use the XWikiHeadersAuthenticator from xwiki-contrib. I'm new
to XWiki as you will see.
I built it with maven and put the jar in /usr/lib/xwiki/WEB-INF/lib. Now I
can see it in the core plugins : "xwiki-authentication-headers", "default
install".
I put XWiki behind an Apache reverse-proxy that set http headers, but
nothing special happened.
I put <logger name="org.xwiki" level="debug"/>
in /usr/lib/xwiki/WEB-INF/classes/logback.xml, but I never see the "Headers
auth started" banner that comes from this plugin's CheckAuth()
Is there anything special to do to register it ?
Docs refer to XAR plugins. So I added this in the pom.xml :
<packaging>xar</packaging>
<build>
<extensions>
<extension>
<groupId>com.xwiki.authentication</groupId>
<artifactId>xwiki-authentication-headers</artifactId>
<version>1.0-SNAPSHOT</version>
</extension>
</extensions>
</build>
Now I've got a xwiki-authentication-headers.xar, but I don't know what to
do with it.
Any help will be greatly appreciated !
Thanks,
Sam.
Hello,
I'm preparing a migration of 3 xwiki, actually installed on 2 servers. ( xwiki version 2.4, 5.4 & 3.4)
The new environment is a server with 3 tomcat 7 and 3 Oracle DBs.
The question is , do I need to install 3 OpenOffice on the server ?, because when I tried to deploy the second war (1st installation is ok) , I got a permgen space exception. Openoffce is configured on the same port (default 8100) on both installation.
BR
Patrick