Hi,
We would like to include photo's from flickr into the xwiki
What would be the best approach?
The flickr macro's seem a good start, but would like a little more
visual control
For us it is important to be able to also get description and owner of
the photo into the display
Gerritjan
Hi,
Can somebody pls. explain to me how the Attachment list at the bottom of
each page is sorted?
For example, this is the order of attachments on my page:
(Please take notice of the third attachment. I cannot figure out why it is
at that place, because it was posted much later (excludes order by date).
Order by file name could be excluded also if you look at the last three
attachments)
2008-12-0612-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (119kb )
2008-12-0512-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (112kb )
2008-12-2812-00.jpg 1.1
PostedBy: xxx on 12/01/2009 (108kb )
2008-11-3012-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (111kb )
2008-12-0412-00.jpg 1.1
PostedBy: xxx on 19/12/2008 (124kb )
----
The problem is that in a photo album the photos are shown in the very same
(undefined?) order. I need to fix this asap. I've seen in the code that the
document attachments (unsorted?) are taken and processed with a foreach
loop. Can somebody please explain me how I can sort the collection by date
before the loop is entered?
Thank you very much,
Steve ;-)
--
View this message in context: http://n2.nabble.com/Attachment-Order--tp2262602p2262602.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
is there a way to point to a particular attachment version per url (f.i. for downloading)? If I add the property ?version=1.1 (which is the very first version) it still gives me the current (last) one.
Hi guys,
I'm doing the following in XWiki. I have 2 classes, let's say A and B
with properties A1..n and B1..n respectively.
Now, I have in my template for documents of class A a database list
field with the ability to select properties B1 from all documents of
class B. When I now change a property B1 in a selected document, then
my field in A stays the same. This probably isn't a bug, but something
like a backlink calculation and change properties accordingly feature
not implemented yet. Do you have a workaround for what I want? Thanx
for any answers.
Cheers
Sebastian
Hi all,I'm trying to enable attachments in the default workspaces install. I
follow the instructions telling me to:
* Go to /xwiki/bin/edit/XWiki/XWikiPreferences?editor=class
* Add a new property called showcomments (or showattachments for turning off
attachments) of type String Class
* Go
to /xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&classname=XWiki.XWikiPreferences and
write no in the showcomments (or showattachments) field
Unfortunately, there is no option for "String Class" in the class editor, only
"String". When I put both showcomments and showattachments in neither seem to
toggle attachments or comments - comments are on, attachments are off.
Anyone working with Workspaces able to get these to work? I'm hoping I'm just
being thick and missing something obvious here.
Thanks,Josh Harrison
--
Josh Harrison
Support Systems Analyst, Sr - Office of Student Computing Resources
Office phone: (520)626-4573
Infrastructure Support Associate - Computer Science LEARN lab
Company asset #423423 was lost while fighting the forces of evil.
Does anyone know how to do this for the toucan skin?
Sam
~~~~~~~~~~~~~~
In fact, I did it in the "Informations Meta HTTP" of the preferences
and it worked.
Thank you for the answers
2007/12/6, Sergiu Dumitriu <sergiu at xwiki.com>:
Sylvain Desbureaux wrote:
Hi, I don't manage to put a favicon for xwiki. Any clues ?
Well, a favicon is usually placed in the root of the URL, like www.myserver.com/favicon.ico
Doing that in a java webapp container usually involves adding that
file not to the xwiki webapp, but to the ROOT webapp. In tomcat, there
is a ROOT directory inside webapps.
Another solution is to put something like this in webapps/xwiki/skins/
albatross/htmlheader.vm:
<link rel="icon" href="$xwiki.getSkinFile("favicon.png")" type="image/
png"/> <link rel="shortcut icon"
href="$xwiki.getSkinFile("favicon.png")" type="image/png"/>
and put a favicon.png (you can change the name, if you want) in
webapps/xwiki/skins/albatross
If you're not using the albatross skin, change the path accordingly.
Sergiu
-------------- next part -------------- An HTML attachment was
scrubbed... URL:
http://lists.xwiki.org/pipermail/users/attachments/20071206/27bb23b8/attach…
Hello,
after upgrading to xWiki v1.7.2 the WatchListMessages sent by xWiki are
faulty. Any ideas how to solve this problem?
Thanks!
Bye,
Jan
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content with
id [XWiki.WatchListMessage]
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page XWiki.WatchListMessage
Wrapped Exception: Failed to evaluate content with id
[XWiki.WatchListMessage]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getExternalURL' in class com.xpn.xwiki.api.Document threw
exception java.lang.NullPointerException @ XWiki.WatchListMessage[33,138]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.java:430)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getServletPath(XWiki.java:4317)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addServletPath(XWikiServletURLFactory.java:208)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:178)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createExternalURL(XWikiServletURLFactory.java:273)
at
com.xpn.xwiki.doc.XWikiDocument.getExternalURL(XWikiDocument.java:925)
at
com.xpn.xwiki.api.Document.getExternalURL(Document.java:502)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 14 more
Euler Hermes is the world's premier credit insurer, offering solutions
for the management of trade receivables, from credit insurance and
financing of trade receivables to bonding and guarantees. Euler
Hermes is a subsidiary of AGF and a member of Allianz.
www.eulerhermes.com
-------------------------------------
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient or have received this e-mail in error,
notify the sender immediately and destroy this e-mail. Any unauthorised
use, copying, disclosure or distribution of the contents of this e-mail
is strictly forbidden and may be unlawful.
Read our full e-mail disclaimer statement and monitoring policy
(http://www.eulerhermes.com/group/en/disclaim/index.html) before
taking any action based on the contents of this e-mail.
Hi xwiki-users,
I've been playing with the new XWiki Syntax 2.0, but there are still some
things possible with the old 1.0 syntax which are impossible in the new 2.0
syntax. One thing that I still cannot figure out is something like the
following:
{{html wiki=true}}
<table id="serverList" class="grid sortable filterable doOddEven">
<tr class="sortHeader">
<th class="selectFilter">Space</th>
<th>Class</th>
<th>Server Name</th>
<th class="unsortable noFilter">Link</th>
</tr>
{{velocity}}
#foreach($serverDocument in $serverDocuments)
<tr>
<td>$serverDocument.Space</td>
<td>$serverDocument.Name</td>
<td>
#foreach($serverObject in $serverDocument.getObjects($serverClass))
* $serverObject.HostName
#end
</td>
<td>[[$serverDocument]]</td>
</tr>
#end
{{/velocity}}
</table>
{{/html}}
This gives me a lot of <br /> tags (the number of $server in $serverList),
and ends up displaying 1 row with the literal string $server.Space,
$server.Class, etc. It works if I use the normal table syntax:
|=Space|=Class|=Server Name|=Link
{{velocity}}
#foreach($serverDocument in $serverDocuments)
|$serverDocument.Space|$serverDocument.Name|???|[[$serverDocument]]
#end
{{/velocity}}
but I'm not sure how I'd iterate over each object associated with the
document in the tag marked '???'.
Also, whenever I have a {{velocity}} tag, I end up with a lot of empty <p>
elements:
* Line 1
{{velocity}}
#set($foo = "bar")
{{/velocity}}
* Line 2
This ends up with a <p> tag between "Line 1" and "Line 2", which seems very
strange when rendered (since there's no content when "viewing").
Just my 2 cents on the new syntax. But other than that, creating macros now
is a breeze (XWiki + Plexus is just purely amazing!), and I think the new
syntax is only inches away from surpassing the old 1.0 syntax :-D Thanks
again for the great work!
Hello,
Yesterday we tried to install a 1.8 RC1 on a serv to test some new
features but we had some blocker issues : no users listed in the admin
page, no groups listed in the admin page, not any document listed in the
WhatsNew etc.
We first thought that it was a JS issue, but a :
#set ($sql = "where 1=1")
#set ($list = $xwiki.searchDocuments($sql))
{pre}
$list
{/pre}
returned an empty list.
Here is the description of the install :
- We used a Debian Lenny 5.0 template (with Tomcat 6.0.18 & Java
1.6.0_12 pre-packaged)
- We downloaded the .war file on
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-web…
- We installed Mysql with the debian package (5.0.51a-24 version)
- We installed & configured the XE in UTF-8
- We used the standard hibernate conf (just added UTF-8 conf)
- We kept the standard xwiki.cfg (+UTF8 elements)
- We imported the xwiki-enterprise-wiki-1.8-rc-1 xar (found on XWiki.org)
- We tested with different mysql-java-connector (current version : 5.0.7)
The install is available here (if you want to check it)
http://testapplis.xwiki.com/
The Whats New page here :
http://testapplis.xwiki.com/xwiki/bin/view/Main/WhatsNew
Have you got any idea of the problem ?
Thanks,
Thomas
On Tue, 2009-02-24 at 12:00 +0100, users-request(a)xwiki.org wrote:
> I didn't check long enough, but I've seen that the guest right is set
> right from the first version. I don't know how does your site works,
> but could it be caused by the fact that a new pattern has the "owner"
> (wrongly) set to XWikiGuest, and you have a script that grants view
> and edit rights to the owner right after the document was created?
I was using the script below. the idea is:
- object should have "owner" and "contributors"
- "owner" and "contributors" have edit rights
- initially, "owner" is set to the document creator
There where a few problems with this. $ownr = $doc.getCreator() would
fail, so I reverted to $ownr = $context.user. also, save() failed, so I
rely on the user saving the document.
---------- code -----------------------
#if ((!$ownr || $ownr == "") && !$doc.getURL.endWith("ClassSheet"))
#set ($ownr = $doc.getCreator())
#if (!$ownr || $ownr == "")
#set ($ownr = $context.user)
#end
$doc.set("Owner",$ownr,$obj)
#end
#if (!$obj.Contributors)
#set ($contributors = "")
#else
#set ($contributors = $obj.Contributors+",")
#end
##if ($context.user == $ownr)
#set($editors = $contributors+$ownr)
#macro(allowEdit $users)
#if($users && $xwiki.checkAccess($doc.getFullName(),"edit"))
#set ($rights = $doc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", $users))
#set ($result = $rights.set("allow", 1))
## $doc.save()
#end
#end
#end
---------- /code -----------------------
I think the problem was that either the classsheet had XWikiGuest set as
owner, and that was copied, or that the property was set when an
unauthorised viewer visited the document. I now added:
#if ((!$ownr || $ownr == "" || $ownr == "XWiki.XWikiGuest") && !
$doc.getURL.endWith("ClassSheet"))
but I still think something here is a strange.
> One more thing, is there a reason why Patterns.PatternClassSheet uses
> #includeInContext("scripts.DesObjClassSheet") instead of
> #includeMacros("scripts.DesObjClassSheet")?
I'm not sure, I think I wanted to pass on some global variables, and so
I thought I needed to include the whole page in context rather than the
macros. I've changed this now, we'll see what happens.
thanks!!
Hello,
I have been searching for a compatibility matrix of Xwiki, and I hadn't found if it is compatible with theses infrastructure:
DB: Oracle 10g
AppServer: Oracle Weblogic 9.2
Does anybody know if they are compatible?
Thanks a lot,
Francisco
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
> I don't think this is correct since you're not saving the
> modifications... They'll be in the cache when but they go out of the
> cache you'll have lost your changes.
>
> See http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
>
> -Vincent
Thanks Vincent. I thought I need to save, but then when I do, I get -
Exception while saving document Patterns.ObjectsToTalkWith
Wrapped Exception: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): xpn.xwiki.objects.String Property#<?xml version="1.0" encoding="UTF-8"?>
<dead-field></dead-field&
See:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/fixrights
Hello everybody, maybe this is a stupid question but...
in the release notes of new version 1.8 RC1 i can see "Make it easier to
disable footer information (comments, history, etc)"
Now the question is: How? Maybe it is easier, but it still remains too
difficult for me :confused:
Thank you in advance
--
View this message in context: http://n2.nabble.com/disable-footer-information-tp2377081p2377081.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
>>> This has happened a few times on
> >>> http://patternlanguagenetwork.myxwiki.org/, and I can't explain it.
> >>> I set the access rights to allow view by all, but edit is restricted.
> I'm
> >>> seeing documents rolled back to older versions by XWikiGuest. Example:
> >>>
> >>
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopc…
> >>
> >> On this document the guest has been granted edit rights. Look at the
> >> rights editing for it, and select Users, and you will see that
> >> Unregistered Users has set view, comment and edit.
>
> I still see edit selected... And as a guest I can indeed edit the
> document. Just to make sure we're on the same page, I'm looking at
>
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/edit/Patterns/tabletopc…
>
This is really puzzling. I don't understand how the guest user has obtained
edit rights on some objects and not on others. Just to be on the safe side,
I ran the script below:
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Patterns.PatternClass' and obj.name
<>'Patterns.PatternClassTemplate'")
#set ($items= $xwiki.searchDocuments($hql))
#foreach ($item in $items)
* $item
#set ($itemDoc = $xwiki.getDocument($item))
#set ($rights = $itemDoc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", "XWiki.XWikiGuest"))
#set ($result = $rights.set("allow", 0))
#end
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Dear all,
I am trying to render strings using velocity while i am in inline mode,
but every time, i got an input form with my value inside.
How can i get my variable well displayed ?
Here is my piece of code (with different tries):
$context.setDisplayMode("view")
#set($a="${backlogId},${domainId},${topicId},${epicId},${temp}")
$doc.display($a)
$a
<a href ="/xwiki2/bin/view/Project/addActor?usId=${a}">Add an actor</a>
(Note, a is not rendered when using $doc.display($a) and is always
replaced by :
<input size='30' id='XWiki.USClass_0_id' value='1,0,0,1,2' name='XWiki.USClass_0_id' type='text'/> instead of '1,0,0,1,2' )
Thanks in advance for your help
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hello Everybody!
While trying to upgrade xwkiki from version 0.9.543 via "database copy" as
recommended in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Installat…
we got lots of warnings in catalina*.log like this:
WARN rcs.XWikiRCSArchive - isDiff: Archive is inconsistent.
Text and diff field are contradicting. version=1.1
After a while, the result of "http://HOSTNAME:8180/xwiki17/bin/view/Main/"
contains
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
Full excerpt on this from catalina*.log can be found below. But what does
all this mean?
Can you please give me a hint? Do you need any other (config) info?
Thanks in advance!
Stefan
LOGFILE:
15:09:11,753 WARN http-8180-Processor24 RequestUtils:createActionForm:175
- No FormBeanConfig found under 'view'
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.ClassCastException: java.lang.String
at org.hibernate.type.IntegerType.set(IntegerType.java:41)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:107)
at
org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2002)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2248)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:343)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
15:09:12,407 WARN http-8180-Processor24
RequestProcessor:processException:528 - Unhandled Exception thrown: class
com.xpn.xwiki.XWikiException
15:09:12,407 ERROR http-8180-Processor24 [action]:invoke:253 -
Servlet.service() for servlet action threw exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: java.lang.String
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.ClassCastException: java.lang.String
at org.hibernate.type.IntegerType.set(IntegerType.java:41)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)
at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:107)
at
org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2002)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2248)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:343)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1244)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1239)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2916)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:748)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:668)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://n2.nabble.com/java.lang.String-while-upgrading-0.9-to-1.7-tp2372328p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
> Yishay Mor wrote:
> > This has happened a few times on
> > http://patternlanguagenetwork.myxwiki.org/, and I can't explain it.
> > I set the access rights to allow view by all, but edit is restricted. I'm
> > seeing documents rolled back to older versions by XWikiGuest. Example:
> >
> http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/tabletopc…
>
> On this document the guest has been granted edit rights. Look at the
> rights editing for it, and select Users, and you will see that
> Unregistered Users has set view, comment and edit.
>
> --
>
That's strange: I see "view" and "comment" ticked, but not "edit"
Hi,
I should want a special link, in a xwiki page, so that when man clics on it,
he get a new image (for instance, a clock with the hour of the clic).
I suppose I need groovy. I know how to do an image with java, and I presume
with groovy, but I don't understand how to embedded that in xwiki. I suppose I
need to create a special servlet, but how this servlet is created and inserted
in xwiki by the groovy mecanism ?
Thank you for your help.
Hi,
A thing that I already recognized since a long time, but now it
affects me more because I really start using xwiki in production,
daily, and look more often in the documentation on the .org website:
On Ubuntu Linux with firefox (3.0.6), the administration/navigation
bar on top of every xwiki page is flickering a lot when scrolling hte
page instead of just keep being there as it is probably intended.
it keeps there in the end, but it flashes heavily, which makes me very
nervous and is bad for the eyes.
On my own site I change is by making albatross the default - here it
works poerfectly as intended. The bar is always there but no
flickering at all when scrolling.
I see, the problem doiesn't happen with Opera on UBuntu so I can work
around it, but sure I'd rather like to use firefox.
Am I the only one experiencing this? Did somebody try to look into this ?
At a glance I see no great difference between the css settings of the
two skins that could make this effect happen, but I'll look further
into it.
Henning
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/
Hi,
We are using XWiki for the http://jugl.ch JUGL .
We want that all users would be able to add new subjects and vote on already
purpose subjects.
At this time we are using doodles, it works fine for the votes but all
participants can't add new subject to the list.
Is there a better way using XWiki and its plugins for our meeting
organisation ?
Thanks,
Philippe
--
View this message in context: http://n2.nabble.com/organize-vote-with-XWiki-tp2358524p2358524.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
another problem I am currently facing with my new xwiki installation:
There is a link "forgot username/password" on the login page.
it looks like this: http://myhost/bin/XWiki/ResetPassword
But when I click on it (as an not-logged-in user), I always get
redirected to the Login page - no possibility to enter an email
adresse or username to get a reminder as it's normally the case.
What am I doing wrong?
Henning
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/
Hi,
I want to require users to register and verify for an existing email
adress before being allowed to write comments - to prevent spam.
So, I set "Use email verification " to yes in the wiki registration preferences.
But there are two problems:
1) the newly registered user can edit and write comments without
properly verifying the email address.
2) The registration mail is not correctly showing the link to
registration. It seems to show the plain velocity template, like this:
Subjec: Validate your account on $wikiname
Hello my user,
This email address was used to register a new account on ${wikiname}.
If you did not make the request, please ignore this message.
In order to activate your account, please follow this link:
$xwiki.getDocument("XWiki.AccountValidation").getExternalURL("view",
"validkey=${validkey}&xwikiname=${xwikiname}")
Any idea what I could be doing wrong?
--
Henning Sprang
http://www.sprang.de | http://lazyb0y.blogspot.com/