Hi all,
I'd like to use a link to an attachment in a blog comment, like
[[attach:demo.jpg]]. It causes a link to
http://<wiki>.<hostname>/xwiki/bin/download/Main/WebHome/demo.jpg -
that's wrong, it should be
http://<wiki>.<hostname>/xwiki/bin/download/Blog/<blog page>/demo.jpg
I am using xwiki 2.7.
Any hints?
Thanks
mb
By the way: What about WYSIWYG for comments?
Hi all,
I'd like to use a link to an attachment in a blog comment, like
[[attach:demo.jpg]]. It causes a link to
http://<wiki>.<hostname>/xwiki/bin/download/Main/WebHome/demo.jpg -
that's wrong, it should be
http://<wiki>.<hostname>/xwiki/bin/download/Blog/<blog page>/demo.jpg
I am using xwiki 2.7.
Any hints?
Thanks
mb
By the way: What about WYSIWYG for comments?
Seems I haven't yet understood all the nuances of XWiki syntax:
According to http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
I can have a sized image with [[image:img.png||width="25" height="25"]]
I can have an image with a link [[image:img.png>>http://xwiki.org]]
How can I have a sized image with a link ?
not working:
[[image:img.png||width="25" height="25">>http://xwiki.org]]
[[image:img.png>>http://xwiki.org||width="25" height="25"]]
not working either (with and without 'px'):
(% style="height:25px;width:25px" %)
[[image:img.png>>http://xwiki.org]]
and
(% style="height:25px;width:25px"
[[image:img.png>>http://xwiki.org]]
%)
Hmmm... Once again I may not see the obvious ...
How can I do it ?
Thanks
Andreas
Hi everyone,
I tried to upgrade from version 2.4.30451 to version 2.7 (linux ubuntu,
postgresql). In 2.4 I was able to export a full dump of the wiki (around
550MB with lots of attachments) after the update (including the 2.7 xar) the
export fails.
First, if an attachment is not available, or missing then the whole export
fails and it is extremely hard to figure out which wiki page actually
triggered the error.
Second even if all those errors are resolved, the export fails with the
error "Too many open files" (see the snippet below). I then checked the
number of open files. On 2.7 I am seeing a large number of open files even
after a restart. Of course there are all the system and library files, but
there is also a large number of temporary files open (and those remain open
for at least one hour of inactivity). I guess the lucene indexing after the
restart generates these (there were 181 open files with similar names). If I
try to export the wiki, the number of open files goes into the thousands and
most of them are of the kind quoted below.
I then tried version 2.6 with the same symptoms. I reverted to 2.4 and
everything works fine again.
Version 2.7 seems a lot faster on export and also seems to require a lot
less resources, and I would be very happy about that.
I hope this information is helpful to you. Please feel free to ask for more
specific information.
I filed a bug report on jira http://jira.xwiki.org/jira/browse/XWIKI-5830 with
logfile excerpts.
Thanks so much,
--Elaina.
Hi,
I would like not to show html formatting info on the e-mail notifier for my users, but only the modified text. Infos such as "text align", among all other html formatting that htmldiff shows, are not necessary for them. How can I do that?
I'm using XE 2.4.30451.
Regards,
Ramon
I've deployed Xwiki enterprise 2.7 on my Glassfish 2.1.1 server with MySQL
as the back-end.
I can create a user, but when I try to log in to that user, I am rewarded
with the stack dump shown below. It's trying to find a provider
of DES/ECB/PKCS5Padding.
After about 30 minutes on Google and on Java.sun.com, I don't seem to be
able to find where I can get this provider.
Could some kind soul please give me some hints on where to look to download
this?
Thanks.
Regards,
Mike
2011-01-05 18:17:04,890 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiL…]
ERROR xwiki.MyPersistentLoginManager - ERROR!!
2011-01-05 18:17:04,890 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiL…]
ERROR xwiki.MyPersistentLoginManager - There was a problem encrypting the
username or password!!
2011-01-05 18:17:04,890 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiL…]
ERROR xwiki.MyPersistentLoginManager - Remember Me function will be
disabled!!
2011-01-05 18:17:05,046 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiL…]
WARN internal.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33
2011-01-05 18:17:05,140 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/view/Main/DocumentDoesNo…]
WARN internal.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in @18,8
2011-01-05 18:17:53,640 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/login/XWiki/XWikiLogin?x…]
WARN internal.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33
2011-01-05 18:17:57,734 [
http://localhost:8080/xwiki-enterprise-web-2.7/bin/loginsubmit/XWiki/XWikiL…]
ERROR xwiki.MyPersistentLoginManager - Failed to encrypt text: miken
java.security.NoSuchAlgorithmException: Cannot find any provider supporting
DES/ECB/PKCS5Padding
at javax.crypto.Cipher.getInstance(DashoA13*..)
at
com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager.encryptText(MyPersistentLoginManager.java:391)
at
com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager.rememberLogin(MyPersistentLoginManager.java:188)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:221)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:187)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:243)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:4125)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:169)
I'm having fun with the livetable macro but can't seem to enable
filtering for certain columns. It seems this is because they aren't
TextArea but have the type 'String', 'Date' or 'Static List'.
Screenshot for illustration.
I am not sure anymore why I made the property 'indieneradres' in my
example a string when I created a certain class but it bites me in the
back now. (I probably wanted the form to validate the input). Should I
just delete that property and make a new one of type TextArea?
For the column with static list-values, I sort of expected a drop-down
or multiselect filter of sorts.
Thanks for your ideas!
On a related note, the template for shown class shows up in the
livetable (as IssueTemplate matches the
option:"className":"Helpdesk.IssueClass").
This results in a row with 'emptyvalue' for every value. Does anyone
know of a quick fix for that?
Hi All,
I am having an issue with an error when running a velocity macro in xwiki.
Within the Oracle database I have a table containing a list of page names. I am trying to run a script where the system takes this list, cycles through all pages within a space and deletes any pages who's name appears on the list.
Here's what I have so far...
....
#set($sql = " where doc.space='AlarmIdentifiers' AND doc.name IN (SELECT data FROM lovtestdata)")
#DeletePagesLocal($sql)
....
#macro(DeletePagesLocal $sql)
#foreach($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
$itemdoc.delete()
#end
#end
The error I am getting is:
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL [select distinct doc.space, doc.name from XWikiDocument as doc where (doc.hidden <> true or doc.hidden is null) and doc.space='AlarmIdentifiers' AND doc.name IN (SELECT data FROM lovtestdata)]
Wrapped Exception: lovtestdata is not mapped [select distinct doc.space, doc.name from com.xpn.xwiki.doc.XWikiDocument as doc where (doc.hidden <> true or doc.hidden is null) and doc.space='AlarmIdentifiers' AND doc.name IN (SELECT data FROM lovtestdata)]
Essentially it is saying that the table is not mapped.
If anyone could point me in the right direction it would be great.
Many thanks
Luke
LEGAL NOTICE
This email and any files transmitted with it are confidential, may be privileged and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please telephone or email the sender on +44 (0) 1785 827 000 and delete this message and any attachment from your system; you must not copy or disclose the contents of this message or any attachment to any other person.
Any views or opinions presented are solely those of the sender and do not necessarily represent those of Capula Limited and we accept no liability for its accuracy or completeness. Copyright in this email and any attachment created by us belongs to Capula Limited.
Please ensure you have adequate virus protection before you open or detach any documents from this transmission. Capula Limited does not accept any liability for any loss or damage arising in any way from the receipt or use thereof. Any e-mail reply to this address may be subject to monitoring for operational reasons or lawful business practices.
Capula Limited
Registered No 00953504 England
Registered Office Orion House, Stone, Staffordshire, ST15 0LT.