I have a fresh install of 7.3M1 and I've finished entering all of our documents, articles, et cetera.
Is there a way to "zero out" the version history to 1.0 so a page that I've edited 10+ times while creating it starts off on v1.0 instead of v10.0?
> I read this example:
> http://xwiki.markmail.org/message/e2mi4odgpucsd3cu
> #set ($hql ="select distinct doc.fullName, otherprop.value,
> doc.creationDate from XWikiDocument as doc, BaseObject as
> obj, StringProperty otherprop, DBStringListProperty as prop
> join prop.list list
> where obj.name=doc.fullName and
> obj.className='Blog.BlogPostClass' and obj.id=prop.id.id and
> prop.id.name='category' and list='Blog.Autres'
> and obj.id=otherprop.id.id and otherprop.id.name='title'
> order by doc.creationDate desc")
>
> (must try with category property now)
>
Nope: I didn't managed to have multiselect category values with hql query :-(
maybe I must uncheck database relationnel storage (and use this filter "list like '%Blog.Autres%'")?
because like sergio said in http://xwiki.markmail.org/message/c6s5wofs24q62qjd?q=query+Property+DBStrin…
<<values from the list, while Relational Storage makes it easier to integrate that property into other queries by storing each selected item in its own entry in the database (without it all the selected values are stored in one row, concatenated into a VARCHAR column), and to store >>
Hi
I am trying out Xwiki and would like to know how to login after installing.
Is there an admin user already created when installing? If yes, what is the
password?
If not, how do I create an admin user?
Thanks
--
Anton Hughes
Hello,
I have a xwiki doc class with some properties: 'Static List' type and 'Page' (multiselect) type.
I try to write a query to retrieve document in one query shot but I encoutered problem with 'Page' type.
This query working well based on http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HGett…
select distinct doc.name, doc.creationDate from XWikiDocument as doc, BaseObject as obj, StringProperty prop where (doc.fullName=obj.name and obj.className='FormSMQ.ACClass' and doc.space='FormSMQ' and doc.hidden=false and prop.id.id=obj.id and prop.name='P1_Processus' and prop.value='M3') order by doc.creationDate desc
'P1_Processus' is a static list type
But this query doesn't work:
select distinct doc.name, doc.creationDate from XWikiDocument as doc, BaseObject as obj, StringProperty prop where (doc.fullName=obj.name and obj.className='FormSMQ.ACClass' and doc.space='FormSMQ' and doc.hidden=false and prop.id.id=obj.id and prop.name='MY_PAGE_TYPE_PROPERTY_NAME' and prop.value='MYVALUE') order by doc.creationDate desc
Ididn't find some "PageProperty" in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…, then I must use DBStringListProperty ?
Any help will be welcome.
Pascal B
I am trying to update from 7.2 to 7.3 Milestone 1.
Almost every single time I do an update, I run into problems and either parts of the wiki don't work or it won't load at all.
Right now, won't load at all. Blank screen. No error, no nothing. Logs are not helping.
24-Oct-2015 08:07:08.398 INFO [Core extension repository updater] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1327)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:330)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:213)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.java:187)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository.java:134)
at java.lang.Thread.run(Unknown Source)
2015-10-24 08:11:03,743 [localhost-startStop-1] ERROR .o.i.DefaultObservationManager - Failed to lookup listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role = [interface org.xwiki.observation.EventListener] hint = [solr.availablelocales]]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321) [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118) [xwiki-platform-container-servlet-7.3-milestone-1.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) [catalina.jar:8.0.23]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) [catalina.jar:8.0.23]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.0.23]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) [catalina.jar:8.0.23]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) [catalina.jar:8.0.23]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) [catalina.jar:8.0.23]
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101) [catalina.jar:8.0.23]
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786) [catalina.jar:8.0.23]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_60]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_60]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_60]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.search.solr.internal.SolrInstanceProvider] identified by [role = [javax.inject.Provider<org.xwiki.search.solr.internal.api.SolrInstance>] hint = [default]]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:356) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
... 19 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to lookup configured Solr instance type [embedded]
at org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:74) ~[xwiki-platform-search-solr-api-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392) ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
... 24 common frames omitted
I am struggling at times with Anchors.
The documentation says that anchors for headings are auto-created. However, when I try to link to a heading using the format: spacename.pagename#Hmyheading, it wants to create a new page. However, when I use the full url for the page: https://www.sitename.ca/xwiki/bin/view/spacename/pagename#Hmyheading it works.
Any insight?
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/>
The XWiki development team is proud to announce the availability of
XWiki 7.3 Milestone 2.
This is the first of the 2 stabilization releases that happen at the
end of each yearly Cycles. Lots of polishing has been done, especially
for the recently introduced Nested Pages feature and its consequences
on the UI redesign (modified menus for example). Some extensions
started exploit nested spaces to bring some improvements.
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/ReleaseNotesXWiki73M2
The following people have contributed code to this release:
Clemens Robbenhaar
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
--
Thomas Mortagne