Hello,
Is it possible to make the default editions are minor and not major ?
Regards,
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
HI users,
I was in the final testing phase of my component, like always I have ran my
Xwiki (version 7.3) then I have deleted the pages that I have to create
automatically with my component as well as those apges containing XClass
and the sheets. I don't know what I have done uncorrectly, but the point is
that now the terminal is saying that there is an* Error number 3202:
Exception while reading document [...] *for all the ages that I have
deleted, inside the wiki there is no pages to delete.
I have unistalled and re-installed my XWiki, and I have tried to create a
new wiki with the same identifier and the problem presists.
Any help?
Giordano.
Hi,
Sorry, I've not been getting the replies to these messages. I've re-subscribed to the list, so hopefully that is now resolved :)
I tried copy and pasting images on the http://playground.xwiki.org site, but didn't have any luck. I was copying these images directly from MS Word, but I also did try copying from a web browser (in this instance Chrome). Does that mean the demo site is not using the CKEditor and the out of the box editor doesn't support the copy and paste?
Thanks,
Stuart
From: Stuart Stephen
Sent: 23 February 2016 10:47
To: 'users(a)xwiki.org'
Subject: Feature Request: Allow copy & paste of images into WYSIWYG editor
Hi all,
In various web applications these days it is now possible to copy and paste images into web pages which makes the process of adding an image to a document online so much easier as you do not need to save it off somewhere, then upload it. Copy and paste makes the process so much more efficient.
See the upload feature on http://imgur.com/ for example, where they also support drag and drop.
Thanks,
Stuart
Disclaimer: The contents of this E-mail plus any attachment is intended for the use of the addressee only and is confidential, proprietary and may be privileged. It will not be binding upon Trace Group or any group company (Trace). Opinions, conclusions, contractual obligations and other information in this message in so far as they relate to the official business of Trace must be specifically confirmed in writing by Trace. If you are not the intended recipient you must not copy this message or attachment, use or disclose the contents to any other person, but are requested to telephone or E-mail the sender and delete the message and any attachment from your system. Trace takes all reasonable precautions to ensure that no virus or defect is transmitted via this e mail, however Trace accepts no responsibility for any virus or defect that might arise from opening this E-mail or attachments.
The XWiki development team is proud to announce the availability of XWiki
7.4.2.
This is a bugfix release that fixes important bugs discovered in the 7.4.1
version.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki742
The following people have contributed code to this release (sorted
alphabetically):
Alexandru Cotiugă
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi,
For authorisation on xwiki inside local network we use LDAP (users login
with password). But we want use apache authorisation also from external
network.
We want use next scheme: user authenticate on apache and after xwiki take
only login (without password) and gives access to user.
How we may do it ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Authorisation-through-apache-tp7598161.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
As a test of this extension I have added the following to the end of Sandbox Test Page 2:
{{include reference="Sandbox.testpage1"/}}
The inclusion is shown on the information panel at the right but no text is shown in view mode. It appears I am missing something, any help is appreciated. Thanks!
Regards,
Jesse
Hello xwiki users,
I would like to allow my users to connect to my XWIKI instance using
their GoogleApp account (email).
If I understood correctly, I have to use the social login application
for this (http://extensions.xwiki.org/xwiki/bin/view/Extension/Social+Login+Applicati…).
I tried to set it up but I couldn't get it to work.
I wanted to know if anybody has been able to set it up for a Google
authentication?
Could anybody please help me on the meaning of the errors I get?
------------------------------------------------------
-> First some details about my installation:
- The whole is installed on a Windows 2012 R2 machine
- Java 1.8.0_73 (32-bit)
- Apache Tomcat8 (32-bit)
- Tomcat details:
initial memory pool: 512 MB
maximum memory pool: 1024 MB
and parameter additional parameter:
-XX:MaxPermSize=196m
- MySQL 5.7 database
- XWIKI Entreprise 7.4
- Tomcat is accessible behind a local Apache2.4 reverse proxy (hence
the 127.0.0.1 src on requests, I guess)
(I can give more details if necessary)
------------------------------------------------------
-> Here is what I did to install the extension:
1. I installed the extension using the extension manager.
2. I followed the guide under "For version 2.0 and above" found on
the extension page:
a. The formatting I used for "oauth_consumer.properties" is as such:
www.google.com.consumer_key =
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.comwww.google.com.consumer_secret = xxxxxxxxxxxxxxxxxxxxxxxx
b. "org.xwiki.social.authentication.internal.SocialAuthServiceImpl"
set as my authclass
c. The login.vm file went into my
".../webapp/xwiki/skins/flamingo" folder, which corresponds to my
current skin
d. I have set "Google" as my only provider in the XWIKI Administration
3. I couldn't find anything to fill into the Google form fields
for the callback (oauth2callback)
Is this normal? I may not understand this authentication method
enough, feel free to correct me.
(I also tried with these details: "http://mydomain" and
"http://mydomain/xwiki/bin/login/XWiki/XWikiLogin", same result in the
logs)
4. XWIKI webapp reloaded
------------------------------------------------------
-> Now the issue:
- My login page looks like this: http://i.imgur.com/UgbWK3o.png
- A click on "Sign in with Google" only cause the page to reload
with this URI "http://mydomain/xwiki/bin/login/XWiki/XWikiLogin?sl_provider=google&xredire…",
but nothing else happens.
- The login form doesn't work anymore using the administrator credentials
------------------------------------------------------
-> This is what appears in Tomcat's access.log when I try to login
(both using the form with the admin user and clicking on "Sign in with
Google"):
127.0.0.1 - - [26/Feb/2016:12:02:24 +0100] "POST
/xwiki/bin/loginsubmit/XWiki/XWikiLogin HTTP/1.1" 200 11168
127.0.0.1 - - [26/Feb/2016:12:02:27 +0100] "GET
/xwiki/bin/login/XWiki/XWikiLogin?sl_provider=google&xredirect=
HTTP/1.1" 401 11188
------------------------------------------------------
-> Here is the content of the last catalina.log. However I don't think
that those are relevant to this problem.
http://pastebin.com/cUKy52R3
I'll have to look around for the "SEVERE" memory ones.
I also have a lot of "Illegal access: this web application instance
has been stopped already." java errors in my tomcat8-stderr.log file.
------------------------------------------------------
-> More relevant here I guess, this is what appears in the
tomcat8-stdout.log file for each click on "Sign in with Google":
http://pastebin.com/WbewAQmK
Upon some login attempts, the URI contains
"?sl_provider=google&xredirect=/xwiki/bin/view/Main/?srid=xXxXxXxX",
but the logfile shows the same error.
------------------------------------------------------
Would anyone be able help me?
Many thanks
Guillaume
Hi All,
I have recently upgraded to 7.4 and it appears that now the bulletin board application is failing after you press the "Add a new category..." or "Add a new article..." links with the following error:
org.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.
I have ensured that the global rights are set for the entire wiki as follows and that all pages have a content author set with script rights:
Looking through the code it looks like the new category and topic pages are created via a from submission like it is suggest here:
https://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+create+a+new+page+based+…
I am guessing that when these pages are created that perhaps the content author is not set, which is causing the script macro error. Has anybody came across this problem and perhaps could give me a clue as to how to resolve it? We use this application for our team to store help desk resolutions and I would hate to loose the ability to record them.
Thanks,
Kelly
Hello experts!
Business ask me if Xwiki can have statistic - how many times users played an
audio script. The script can be in page as jwplayer macro or as attached
file or however.
Any idea?
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-many-times-users-played-an-audio-scri…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Your code seems correct.
The mediawiki parser in xwiki may not support the full mediawiki syntax and it has some limitations. Maybe you’re hitting them. In order for us to improve it, it would be very nice if you could create some jira issues at http://jira.xwiki.org/browse/XRENDERING/component/12460 providing some input content so that we can reperoduce the issue and fix it.
There’s another solution for you which will work better. It’s to generate HTML from the wikipedia page and then use the XWiki HTML parser to read them. This parser is much stronger than the mediawiki one I belive.
Thanks
-Vincent
On 26 Feb 2016 at 09:25:23, alm (grails.master@gmail.com(mailto:grails.master@gmail.com)) wrote:
> I am reposting this as I am not sure if registered user on XWiki-Users forum
> can see it. Kindly request from registered XWiki-Users forum user to reply a
> blank message to confirm.
>
>
> I have mediawiki format text for wikipedia article on Speed I used xwiki
> libaries to convert but the conversion to HTML5 is very poor. This is the
> code I used:
>
>
> try {
>
>
> String str = FileUtils.readFileToString(new
> File("SpeedwikiText.txt"), "UTF-8");
> // XWIKI
>
> // Initialize Rendering components and allow getting instances
> EmbeddableComponentManager componentManager = new
> EmbeddableComponentManager();
> componentManager.initialize(this.getClass().getClassLoader());
>
> // Get the MediaWiki Parser
> Parser parser = componentManager.getInstance(Parser.class,
> "mediawiki/1.0");
>
> // Parse the content in mediawiki markup and generate an AST (it's also
> possible to use a streaming parser for large content)
> XDOM xdom = parser.parse(new StringReader(str))
>
> // Generate XHTML out of the modified XDOM
> WikiPrinter printer = new DefaultWikiPrinter();
> BlockRenderer renderer =
> componentManager.getInstance(BlockRenderer.class, "html/5.0" ) ; //
> "xhtml/1.0");
> renderer.render(xdom, printer);
>
> // The result is now in the printer object
>
> FileUtils.writeStringToFile(
> new File("xwiki" + name + ".html"), printer.toString());
>
> } catch(Exception e) {
> System.out.println(e.getMessage());
> }
>
>
> There are many issues:
> math symbols or formula are not converted and the html output is something
> like
> v = \\frac{d}{t}, where is speed.
>
> Top header is missing. (Speed)
>
> tables are not formatted properly.
>
> References section is incomplete.
>
> Ideally I would like HTML to be exactly look like in wikipedia including
> images where image links are pointing to images hosted on wikimedia and are
> display in the same location as in wikipedia. Is this achievable and what do
> I need to need in above code?
>
>
Is there any way to specify that the PDF viewer should display the bookmarks by default. It is specified in the initial view information in the pdf - and so works in Acrobat (and Reader), but doesn't using the pdfviewer macro. (BTW, this macro works better for my users than the PDF macro, so I'm inclined to leave it as is if no solution.)
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/>
My understanding is that I should be able to replace the Admin user with
another user that I've created and added to the Admin group. But when I
delete the Admin user using the other user in the Admin group, I find that
the document tree no longer loads.
My configuration is as follows:
XWiki Enterprise WAR 7.4.1
Debian Jessie
Java openjdk-7-jre-headless
Tomcat 8
Postgresql 9.4/9.5 - The release notes state that 9.5 is the supported
version for 7.4.1 but I could not find a 9.5 JDBC driver so I tried it with
both 9.4 and 9.5 versions of Postgresql (in both cases using the 9.4 JDBC
driver).
This might be related to XWIKI-13025 'The document tree doesn't load on
Postgres' since the problem does not seem to occur with the standalone
installation.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Deleting-Admin-user-causes-document-tree-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have mediawiki format text for wikipedia article on Speed
<https://en.wikipedia.org/wiki/Speed> I used xwiki libaries to convert
but the conversion to HTML5 is very poor. This is the code I used:
try {
String str = FileUtils.readFileToString(new
File("SpeedwikiText.txt"), "UTF-8");
// XWIKI
// Initialize Rendering components and allow getting instances
EmbeddableComponentManager componentManager = new
EmbeddableComponentManager();
componentManager.initialize(this.getClass().getClassLoader());
// Get the MediaWiki Parser
Parser parser = componentManager.getInstance(Parser.class,
"mediawiki/1.0");
// Parse the content in mediawiki markup and generate an AST (it's also
possible to use a streaming parser for large content)
XDOM xdom = parser.parse(new StringReader(str))
// Generate XHTML out of the modified XDOM
WikiPrinter printer = new DefaultWikiPrinter();
BlockRenderer renderer =
componentManager.getInstance(BlockRenderer.class, "html/5.0" ) ; //
"xhtml/1.0");
renderer.render(xdom, printer);
// The result is now in the printer object
FileUtils.writeStringToFile(
new File("xwiki" + name + ".html"), printer.toString());
} catch(Exception e) {
System.out.println(e.getMessage());
}
There are many issues:
math symbols or formula are not converted and the html output is something
like
v = \\frac{d}{t},</math> where <math>v</math> is speed.
Top header is missing. (Speed)
tables are not formatted properly.
References section is incomplete.
Ideally I would HTML to exactly look like in wikipedia including images
where image links are pointing to images hosted on wikimedia and are display
in the same location as in wikipedia. Is this achievable and what do I need
to need in above code?
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/convert-mediawiki-article-on-wikipedia-to…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I can no longer make a XAR export of our wiki. The essential error message
in catalina.out seems to be
"Invalid white space character (0x1) in text to output (in xml 1.1, could
output as a character entity)"
Alas, there is no information about which wiki page contains this invalid
character. I can, of course, export parts of the wiki and repeat the
process until I find the offending page, but I suspect there has got to be
a more efficient way.
The full, relevant section of catalina.out on our test server is included
below.
Thanks in advance for any tips!
Cheers,
Peter John Acklam
2016-02-19 09:36:17,163 [
http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin…]
WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11:
Exception while exporting
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
[xwiki-platform-legacy-oldcore-7.4.1.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:648)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[xwiki-platform-wysiwyg-server-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
[tomcat-websocket.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
[xwiki-platform-resource-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
[catalina.jar:8.0.30]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
[catalina.jar:8.0.30]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
[catalina.jar:8.0.30]
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
[catalina.jar:8.0.30]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)
[catalina.jar:8.0.30]
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)
[tomcat-coyote.jar:8.0.30]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
[tomcat-coyote.jar:8.0.30]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
[tomcat-coyote.jar:8.0.30]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
[tomcat-coyote.jar:8.0.30]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_66]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_66]
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util.jar:8.0.30]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
Caused by: org.xwiki.filter.FilterException: Failed to write element
at
org.xwiki.filter.xml.internal.output.FilterStreamXMLStreamWriter.writeCharacters(FilterStreamXMLStreamWriter.java:158)
~[xwiki-commons-filter-xml-7.4.1.jar:na]
at
org.xwiki.filter.xml.internal.output.FilterStreamXMLStreamWriter.writeElement(FilterStreamXMLStreamWriter.java:145)
~[xwiki-commons-filter-xml-7.4.1.jar:na]
at
org.xwiki.filter.xar.internal.output.XAROutputFilterStream.beginWikiDocumentRevision(XAROutputFilterStream.java:349)
~[xwiki-platform-filter-stream-xar-7.4.1.jar:na]
at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_66]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66]
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
~[xwiki-commons-filter-api-7.4.1.jar:na]
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:63)
~[xwiki-commons-filter-api-7.4.1.jar:na]
at com.sun.proxy.$Proxy88.beginWikiDocumentRevision(Unknown Source) ~[na:na]
at
org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.writeRevision(XWikiDocumentLocaleEventGenerator.java:167)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:116)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:229)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:195)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:161)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:130)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:54)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)
~[xwiki-commons-filter-api-7.4.1.jar:na]
at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:337)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:77)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
... 50 common frames omitted
Caused by: com.ctc.wstx.exc.WstxIOException: Invalid white space character
(0x1) in text to output (in xml 1.1, could output as a character entity)
at
com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:458)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at
javanet.staxutils.IndentingXMLStreamWriter.writeCharacters(IndentingXMLStreamWriter.java:209)
~[stax-utils-20070216.jar:na]
at
org.xwiki.filter.xml.internal.output.FilterStreamXMLStreamWriter.writeCharacters(FilterStreamXMLStreamWriter.java:156)
~[xwiki-commons-filter-xml-7.4.1.jar:na]
... 72 common frames omitted
Caused by: java.io.IOException: Invalid white space character (0x1) in text
to output (in xml 1.1, could output as a character entity)
at
com.ctc.wstx.api.InvalidCharHandler$FailingHandler.convertInvalidChar(InvalidCharHandler.java:55)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at com.ctc.wstx.sw.XmlWriter.handleInvalidChar(XmlWriter.java:629)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at
com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:586)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at
com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:456)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
... 74 common frames omitted
The XWiki development team is proud to announce the availability of XWiki
8.0 Milestone 2.
This milestone improves some performance and caching issues of the LESS
module and continues improving and fixing usability aspects of Nested Pages.
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/ReleaseNotesXWiki80M2
The following people have contributed code to this release (sorted
alphabetically):
Alex Cotiuga
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Manuel Smeria
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hello, users of XWiki!
I just have released the first version (alpha) of a new application to help
you convert your existing (terminal) pages to nested pages after an upgrade
to a recent wiki (7.4.x is the targeted version).
This tool is available and can be installed directly with Extension
Manager. All informations are there:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+…
The application *does not currently apply the migration*. It only computes
a plan which say what actions should be done. The purpose, right now, is
only to test the tool without affecting any wiki.
There is an option to simply convert your pages to nested pages (Space.Page
=> Space.Page.WebHome) so they can have children (which they cannot while
being terminal). But, by default, the migrator tries to preserve the
existing hierarchy of pages (based on the "parent" field of each page) by
moving the pages under their parent page. So if you have SpaceA.PageA with
SpaceB.PageB as parent, the proposed migration will be SpaceA.PageA =>
SpaceB.PageB.PageA.WebHome.
In the future, the plan will also contain actions for preserving the
configured preferences (right now, if a page is moved, all the preferences
from its previous space are not applied to it anymore), and rights.
This version is a first step in order to have a very complete tool. A
design document have been written with more informations (
http://design.xwiki.org/xwiki/bin/view/Proposal/UpgradeToNestedPages).
I would love to see some of you testing this application, the user
interface, and judging the proposed plans. Don't hesitate to give your
feedbacks. Please tell me if you have other ideas that I have not listed in
the design document, like features that I have not think about.
Thanks a lot,
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
After importing a large number of spaces in my wiki, my server through the
following error when browsing which causes browsing delays.
22016-02-19 17:11:04,982
[http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-Com…]
WARN o.h.u.JDBCExceptionReporter - SQL Error: 1406, SQLState: 22001
2016-02-19 17:11:04,983
[http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-Com…]
ERROR o.h.u.JDBCExceptionReporter - Data truncation: Data too long for
column 'XWS_VALUE' at row 1
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.Admin
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:658)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:160)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1564)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1508)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1503)
at
org.xwiki.commons._CMP_WikiV3.script.PageBuilder.recentVisitedMiciUpdate(PageBuilder.java:2419)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
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)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:126)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:56)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:692)
at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:821)
at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:821)
at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
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.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.HibernateException: Failed to commit or rollback
transaction. Root cause []
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:1022)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:649)
... 170 more
Caused by: org.hibernate.exception.DataException: could not update:
[com.xpn.xwiki.objects.StringProperty#component[id,name]{id=-3231836267878261431,
name=recent}]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2494)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2821)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:1015)
... 171 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too
long for column 'XWS_VALUE' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4235)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2441)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2366)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2350)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2594)
... 183 more
2016-02-19 17:11:05,081
[http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-Com…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.searchDocuments] in
52:xwiki:SDomain.HW_DEV.0_LIB.Components-CommercialPC.Library
Description.WebHome@17,27
any ideas what causes this? I'm running ubuntu server, tomcat 7 and mysql
setup.
Thanks
Gerrie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Server-SQL-error-tp7598052.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have attempted to look through the forums for the answer, unfortunately,
most of the information is *very* dated (2007, 2008, etc).
Xwiki V 7.4.1
I am having issues with disabling user registration. We do not want
unauthorized users to be able to register themselves. I have looked through
various permissions options, and I do not even have the 'unauthenticated
users' entry in the Users list, so I can't exactly remove register from this
user since it does not exist.
Steps to setup so far:
Install .war into tomcat
Leave wizard and use the 'never' option.
Login as superadmin, import .xar archive
Create a new user, and begin revoking rights from guests/unauthenticated
users.
Unfortunately, I have not found any way of actually disabling the
registration page and requiring an admin to create the account as we prefer
to do.
Looking forward to any info.
Thanks,
Daemoen
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disable-User-Registration-tp7598049.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is possibile to view a simple example to call xwiki restful get documenti
using ajax jquery and json with Admin\admin authentication ? Tanks a lot.
Andrea Ferroni
I'm a bit desperate. We have newly installed XWiki (Enterprise
8.0-milestone-1) and I'm trying to get familiar with very basic page
editing.
For some reason every single link like [[whatever]] shows "WebHome" as a
text. I need to use [[whatever>>whatever]] with all links to show what it
actually is. It doesn't act like that on xwiki playground (or any other
wiki) so I don't know what could be wrong.
A steps I do:
1) open: http://url.com/view/NET/String/
2) click edit > Source
3) write: [[Number]]
4) Save and View
5) and I see "WebHome(?)" with link
http://url.com/create/NET/Number/WebHome?parent=NET.String.WebHome
6) after click and template selection it creates new page, which look ok, I
save that one
7) and the original link shows now as "WebHome" with link
http://url.com/view/NET/Number/
So.. how can I convince it to actually show "Number" instead of "WebHome"
without writing [[Number>>Number]] every single time?
--
View this message in context: http://xwiki.475771.n2.nabble.com/All-links-are-shown-as-WebHome-tp7598043.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am looking for an extension that adds div.xcontent as the body of an email
but populates it in an outlook message rather than sending from xwiki.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Mailto-Extension-tp7598041.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Let me share with you my comments about the WYSIWYG editor :
* when inserting tables, borders are hardly visible. Internal and
external borders, 1 pixel solid would be more visible
* same thing with the horizontal ruler that is invisible :-(
* lists are not flexible. For example, if I insert code or contents of
a configuration file under a 2nd or 3rd level bullet, I can't take
back my list after this insertion at the same level. I can't do that :
o XWiki setup :
+ code :
apt-get update
apt-get clean
apt-get install xwiki-enterprise-tomcat8-mysql
+ during the installation, let dbconfig take care of the MySQL
configuration
* a box to highlight code or file configuration content in monospace
and background-color will be great ! Like that :
# We need a workers file exactly once
# and in the global server
JkWorkersFile /etc/libapache2-mod-jk/workers.properties
# Our JK error log
# You can (and should) use rotatelogs here
JkLogFile /var/log/apache2/mod_jk.log
# Our JK log level (trace,debug,info,warn,error)
JkLogLevel info
# Our JK shared memory file
JkShmFile /var/log/apache2/jk-runtime-status
* or that :
<property name="connection.url">jdbc:mysql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">MOT.DE.PASSE</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="dbcp.poolPreparedStatements">true</property>
<property name="dbcp.maxOpenPreparedStatements">20</property>
Thank you for your excellent work !
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
Hello everyone,
I am trying to modify the way the table of content (toc) macro behaves on
xwiki, and I have a few questions concerning that.
1- Is there anywhere else the macro is defined besides in macros.mv? the
changes I've made there did not show up on my xwiki instance after I
restarted it.
2- what is the point of macros.txt? I was not able to find documentation
for what xwiki is doing with that.
3- how would you recommend going about writing a new toc macro? I've been
doing that using velocity on a dedicated xwiki page, but I'm not able to
call some of the methods that toc macro is using, namely this call:
#set ($tocData = ${tdoc.getTOC($init, $max, $numbered)})
Thanks!
I have an existing instance of xwiki with some users and would like to
convert it to authenticate against an Active Directory server. I tried
setting up a new test instance of xwiki in a VM and was able to get it to
authenticate against AD. But in the test, the user directory was empty
(except for Admin) - so it created a new user at login. I'd appreciate some
help on the next step of configuring the system so that an existing xwiki
user authenticates against an existing AD entry.
I configured the test system as follows:
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=servername
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=subdomain\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=DC=subdomain,DC=domain
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.trylocal=0
Other details that may or may not be relevant:
- the AD login IDs contain periods which are not allowed in the xwiki names.
For the xwiki users that already exist, the login names are the same as
those in AD except that the period is replaced by an underscore
- there are xwiki 'users' with no corresponding entry in AD. Those xwiki
entries should not be allowed to login.
- the exception to the above point is the Admin user. If I add one of the
users with a corresponding AD entry to the Admin group, would that user be
able to do everything that the Admin user can do?
A nice to have would be to also bring the AD groupings/organizational units
across to xwiki. Is their an easy way to do this?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Convert-existing-xwiki-instance-to-Active…
Sent from the XWiki- Users mailing list archive at Nabble.com.