To all,
Something strange is going on with one page in our Wiki. The page has been
created by importing a Word document (.docx), but after the import, the page
seems to have two parents.
The page shows up in the "WebHome" of the space, but also under the "parent
page" where the document was created in the first place. Furthermore, when
editing the page and looking at the "parent" property, it seems to be empty
(or refering to itself).
Has anyone encountered this before?
Also, when I delete the page it will be "moved" to the recycle bin, but
permanently deleting the page from the recycle bin creates a new blank page
with the same name...
--
View this message in context: http://xwiki.475771.n2.nabble.com/Wiki-page-seems-to-have-two-parents-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I try to obtain DocumentReference from space name and page name with
getDocument(String space, String fullname)
Parameters:
space - Space to use in case no space is defined in the provided fullname
fullname - the full name or relative name of the document to load
but is doesn't work with dot in document name...
My example:
document $xwiki.getDocument("MySpace",'My.Dot').getDocumentReference() return xwiki:My.Dot rather than xwiki:MySpace.My\.Dot
and
document $xwiki.getDocument("MySpace",'MySpace.My.Dot').getDocumentReference() return xwiki:MySpace\.My.Dot :-/
Any idea how I can obtain DocumentReference?
(use a regexp seem to be heavy way :-) )
Thxs
Hello all,
I'm sure this question has been asked before but I can't seem to find anything using the all mighty Google, so I thought I'd ask. I've created a tracking application (ticketing / workflow) using "App Within Minutes". What I'd like to do using either Groovy or Velocity is when a ticket is "closed" (by changing the value of a combo box) is to gather some details from the closed ticket that appears in a few controls on the page and post them to another page in the wiki when the user saves the page. The idea is to keep a running log of recently closed tickets. I've been looking for examples in three parts that I think I need help with:
1. How do I capture a "combo box" change event using Groovy or Velocity ?
2. How do I get values of text boxes and combo boxes from a page using Groovy or Velocity ?
3. How do I write to a different page in the Wiki using Groovy or Velocity?
I'm obviously going to continue searching Google, but any pointers / help is greatly appreciated.
Thanks in Advance,
Jason Clemons
Hello,
What is the function of validation in the text zone "Page name" of /xwiki/bin/create/MySpace/WebHome page? (the green Ok at right side of text zone)
In "page name" It seem I can typing any characters (even "aaa$^z*-+/\&é~@ç|-{"#'(" (green "Ok" is displayed ) and validate.
AND green "Ok" is displayed even if I type the name of an existing page (of course when I click on "Create", the message "The page MySpace.duplicateName already exists. Please fill in a new page name." appear.
Do you think it is a bug a duplicated page test or a reliquat from old versions?
Pascal BASTIEN
Hi.
I'd like to introduce a concept of space owner - a person who is responsible for
the whole space, it's content, structure etc.
I'd like to designate one of users for each of my spaces and have it's
name/email/avatar displayed in each one WebHome page.
How would you recommend to implement this?
TIA
R.
Hello everyone,
I am trying to deploy xwiki-enterprise-web-6.1.war on a tomcat7
installation. Upon starting the server I get the attached error message.
Setup:
# 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)
tomcat: Version: 12.0.18_build1200140606.15 os_Debian 7.0
XWIKI: xwiki-enterprise-web-6.1.war
Any ideas on what is going on?
Thanks a lot,
Chris
Aug 14, 2014 7:23:53 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.xwiki.container.servlet.XWikiServletContextListener
java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/XWikiServletContextListener : Unsupported major.minor version 51.0 (unable to load class org.xwiki.container.servlet.XWikiServletContextListener)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2905)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4726)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5284)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Aug 14, 2014 7:23:53 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.xwiki.container.servlet.SetThreadNameServletRequestListener
java.lang.UnsupportedClassVersionError: org/xwiki/container/servlet/SetThreadNameServletRequestListener : Unsupported major.minor version 51.0 (unable to load class org.xwiki.container.servlet.SetThreadNameServletRequestListener)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2905)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1170)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4726)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5284)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Aug 14, 2014 7:23:53 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Hi,
I fucked up big time.
This is in the bristolaction.myxwiki.org <http://bristolaction.myxwiki.org/>.
I was trying to rename the WorkStream space to another name like Notices as that made more sense in our wiki. I was following some directions I found in the documentation for the rename space script. The documentation said I should create a new space, rename all the pages in the old space to the new space and then delete the old space. All went well until I tried to delete the old space. I must’ve deleted the main space by accident instead.
When I accessed the main wiki page, it showed it was deleted. I restored it from backup. However, the gadgets for spaces, activity stream and message stream no longer appear, see the webhome page on the wiki. I looked in the history and found I could rollback to the original 1.1 version. But that didn’t help, I got the same issue as shown in the screen shot. I went to the gadget page and found the spaces gadget. It appears to be OK.
So it appears that the bristolaction.myxwiki.org <http://bristolaction.myxwiki.org/>. is FUBARed (Fucked Up Beyond All Recognition), a real SNAFU (Systems Normal, All Fucked Up).
Please help me. If needed, please restore the wiki from a recent backup or in a worst case, delete the wiki and reinstall a new one.
Thanks for your help.
Ron Smith