Hi,
the Print/Preview funtions is not working in our environment (1.1.2.5797).
PDF and RTF export works fine.
When we call the Preview I get the following error:
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception:
Invocation of method 'getAttachmentURL' in class com.xpn.xwiki.api.Document
threw exception java.lang.NullPointerException @ [17,26]
Anyone else also having this error, how can we get rid of it?
Regards
Cybexion
I added the Tag Cloud and InlineTagEdition Snippets as panels, but the "\|"
as a tag separator does not work under 1.2-milestone-2.5917.
Tags are properly displayed, but all "\|" are removed in the data field. If
I attempt to update the tags by typing something like "a\|b\|c" only one tag
is applied "a b c".
Same thing happens in the page edit, though...
Err, second query on new features
Watchlist
1) Can I setup the service to use my own script for sending email
instead of the builtin one?
b) Failing that, how does one setup the email server settings,
including login details? I'd prefer to set this up at the xwiki.cfg
level if possible, as this will then map across to all virtual servers.
2) Will this send multiple emails (one per watch), or a single combined
email per day?
Getting these exceptions when I try delete certain documents:
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'searchDocuments' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with SQL
[select distinct doc.web, doc.name from XWikiDocument as doc where
doc.fullName <> ? and (doc.parent = ? or (doc.parent = ? and doc.web =
?))]
Wrapped Exception: could not execute query @ <unknown template>[11,24]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page
Wrapped Exception: Invocation of method 'searchDocuments' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with SQL
[select distinct doc.web, doc.name from XWikiDocument as doc where
doc.fullName <> ? and (doc.parent = ? or (doc.parent = ? and doc.web =
?))]
Wrapped Exception: could not execute query @ <unknown template>[11,24]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:157)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1353)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1314)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Hi all (more for the dev's I guess)
When you setup a user as Admin to a space, they are treated as full
admin - so if you're protecting stats/toolbars/etc to admin users, they
end up seeing those things they're not meant to.
Shouldn't someone with admin rights to a space (not global admin) be
assigned admin rights only within that space?
Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: esbachb(a)tycoelectronics.com
I noticed the addition of this feature a little while back (good idea
guys :) ).
I don't seem to have any way to list the recycle bin though, in order to
either clear it, or confirm deletions after browsing away from the page
you get after deleting a page.
Is this detail available in some way? Or is it automatically cleared?
Hi,
i have class and in script i need real value. I mean, this script give me
value of attribute hromadna
#set($class = $praceDok.getObject("XWiki.SemestralkaClass").xWikiClass)
#foreach($prop in $class.properties)
#if($prop.getName()=='hromadna')
#set($hromadna = $praceDok.display($prop.getName()))
#end
#end
but, hromadna is boolean and i need value which is in database. 1 or 0.
Which method can i use for this?
thanks
Jan