Hi,
After deleting a document, XWiki first shows a confirmation page and after that displays the deleted document(s). I was wondering if I’m able to redirect the user to a different page after the confirmation he has to give on the delete action. I have noticed some remaks on the topic such as the JIRA issue XWIKI-9906 but I;m not sure if there have been any changes on this.
I don’t mind solving the issue myself and I would expect to be able to use the DocumentDeleted event listener. I do not have enough detailed knowledge on the topic to be able to sort this out entirely by myself so that leaves the following questions:
1 - Any news on the JIRA issue in any XWIKI version?
2 - Is it possible to use the DocumentDeleted listener for this purpose?
3 - If yes, does anyone have any suggestion on the approach?
4 - if no, is there any other way to solve this?
Thanks in advance for the feedback,
Br,
Peter
Hi,
I’m looking for the return type for the following Query type in Java:
select doc.space, doc.name from XWikiDocument doc, BaseObject obj…
I know it should be some kind of List<List<String>> since this is what works in Velocity but I can’t do a typecast from List<Object> to List<List<String>.
Can anyone help me on this?
Br,
Peter
Hello,
In my velocity script I try to include some velocity code from another page.
I want similare function like "source" in bash, it's like copy/paste some code in main script from another file.
I read https://network.xwiki.com/xwiki/bin/view/DocXE31Fr/IncludeInVelocity and use #includeInContext("mySpace.myPage") but there are board effect:
#includeInContext return HTML code like this
<p>I call MyMacro<br/><p>My color is Red</p>...
Then to obtain what I want I must user html tag:
{{html}}
#includeInContext("mySpace.myPage")
{{/html}}
Is it normal?
Thxs,
Pascal B
Hi,
After update from 6.4.2 to 7.1.2 we faced with message in LDAP settings:
But it work, I can access to xwiki with my LDAP login and password.
I changed logging level for
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl in debug mode and see
in log:
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication succeed with
principal [XWiki.aleksey-s]
xwiki.cfg for 6.4.2 and 7.1.2 identical.
We tested rollback xwiki to 6.4.2 and message "LDAP service is not
available. Please verify your installation." disappeared..
Why the message "LDAP service is not available. Please verify your
installation" appeared on 7.1.2 ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-service-is-not-available-after-updat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Is it possible not to import an existing document in a XAR Package ?
because I have 350 documents in that package and i really don't want to
check if every document exists...
Regards,
Quentin
--
View this message in context: http://xwiki.475771.n2.nabble.com/Do-not-import-existing-document-tp7595939…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
we try to run XWIKI with an Oracle 12c Database, but have not been succesful
yet.
We changed the property in the hibernate.cfg.xml to
<property name="dialect">org.hibernate.dialect.Oracle12cDialect</property>
but we only get this error:
{"level":"ERROR","thread":"XWiki
initialization","logger":"com.xpn.xwiki.internal.XWikiInitializerJob","context":"etu1appqk01_plis-portalhilfe","exception":"com.xpn.xwiki.XWikiException:
Error number 3202 in 3: Exception while reading document
[xwiki:XWiki.XWikiComments]\n\tat
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:958)\n\tat
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:291)\n\tat
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1299)\n\tat
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1347)\n\tat
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:773)\n\tat
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:733)\n\tat
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:654)\n\tat
com.xpn.xwiki.XWiki.<init>(XWiki.java:643)\n\tat
com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:115)\n\tat
org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)\n\tat
org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)\n\tat
java.lang.Thread.run(Thread.java:722)\nCaused by:
org.hibernate.HibernateException: Dialect class not found:
org.hibernate.dialect.Oracle12cDialect\n\tat
org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:159)\n\tat
org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:99)\n\tat
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)\n\tat
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)\n\tat
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)\n\tat
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)\n\tat
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)\n\tat
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:682)\n\tat
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:827)\n\t...
11 common frames omitted\nCaused by: java.lang.ClassNotFoundException:
org.hibernate.dialect.Oracle12cDialect\n\tat
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)\n\tat
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)\n\tat
java.lang.Class.forName0(Native Method)\n\tat
java.lang.Class.forName(Class.java:186)\n\tat
org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)\n\tat
org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:156)\n\t...
19 common frames
omitted\n","zeitstempel":"2015-0904T08:22:54.312Z","nachricht":"Exception
thrown during job
execution","korrelationsid":"none","marker":["xwiki.translation"]}
Does XWIKI support oracle12c? This artikel
<http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy>
says that only 11.x is supported, but the article was updated the in 2014
the last time.
If there is a way to run xwiki with an oracle 12c database, what do we have
to do?
thanks for your help
best regards
Bastian
--
View this message in context: http://xwiki.475771.n2.nabble.com/Does-XWIKI-Support-Oracle12c-tp7595891.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there
First time trying to install xwiki and I'm having this problem at almost any
page in the site.
I'm using tomcat and xwiki 7.1.2
I can't see some basic files (template files) if they are formed without the
prefix "/xwiki/bin/skins/" prefix, for example the xwiki logo it's formed
like
/xwiki/skins/flamingo/logo.png
And can not be rendered by tomcat, but if I use the same url but adding the
bin/skins/ it shows correctly
/xwiki/bin/skins/skins/flamingo/logo.png
There are many other files in the resources/ directory that are not being
loaded.
Any clue will be helpful.
Thank you.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-trying-to-access-skins-tp7595918.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
In out organization we faced with problem after update xwiki from
6.4-milestone-2 to latest stable version 7.1.2 .
In pages on xwiki we have animated pictures.
And animation worked after resize on previous version. For example (test.gif
- animated gif):
[[image:test.gif||height="30" width="20"]]
We saw animated picture after resize.
But now on version 7.1.2 it not work.
On link such as ...../test.gif?width=20&height=30 we see only picture
without animation
On link such as ...../test.gif we see normal animation (but we need resize
it).
How to resolve this problem ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-view-animated-pictures-in-7-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello, I am interested in tracking who downloaded attachments from specific wiki pages. I saw this isn't available in the Stats app. Is this functionality available in any other module/extension?
Thanks,
Assia E. Alexandrova
Sr. Technology Strategist
Information Management Division
Fort Lauderdale Police Department
1300 West Broward Blvd.
Fort Lauderdale, Florida 33312
Tel.: (954) 828-5867
aalexandrova(a)fortlauderdale.gov<mailto:aalexandrova@fortlauderdale.gov>
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient, you are hereby notified that any disclosure, photocopying or distribution of these contents is unauthorized and prohibited by law. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received the e-mail in error; please immediately notify the sender by replying to this e-mail and placing "INCORRECT DESTINATION ADDRESS" in the subject line.
Hi,
We faced with next error on xwiki version 6.4-milestone-2 (it stable work ~1
year, but the number of users increased and problem appeared some weeks
ago):
At random time no one cannot access to any xwiki page (admins also) - in
interface we see message that we have no right to access this page.
In output log we find errors such as (pages in the log as well as users can
be different):
2015-09-02 07:13:02,630
[http://domainxwiki/xwiki/bin/jsx/AnnotationCode/Script?language=ru] ERROR
c.i.DefaultSecurityCacheLoader - Failed to load the cache in 5 attempts.
Giving up.
2015-09-02 07:13:02,631
[http://domainxwiki/xwiki/bin/jsx/AnnotationCode/Script?language=ru] ERROR
.a.DefaultAuthorizationManager - Failed to load rights for user
[xwiki:XWiki.testuser] on [xwiki:AnnotationCode.Script].
Only reboot helped us to avoid this error. But errors after some days appear
again.
How we can solve this problem?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Failed-to-load-rights-for-user-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.