Hi all,
I'm trying to copy the rights from a page to another without any success
using this code.
Can someone help me?
Thanks
raffo
#set($targetDoc = $xwiki.getDocument('paginavuota2'))
$targetDoc.getName()
#foreach($obj in $doc.getObjects("XWiki.XWikiGlobalRights"))
#set($levels = "$obj.getProperty('levels').getValue()") ## get the levels
#set($users = $obj.getProperty('users').getValue())
#set($groups = $obj.getProperty('groups').getValue())
#set($allow = $obj.getProperty('allow').getValue())
#set($entry=$targetDoc.newObject("XWiki.XWikiRights"))
$entry.set('groups',$levels)
$entry.set('users',$users)
$entry.set('levels',$groups)
$entry.set('allow',$allow)
#end
#foreach($obj in $doc.getObjects("XWiki.XWikiRights"))
#set($levels = "$obj.getProperty('levels').getValue()") ## get the levels
#set($users = $obj.getProperty('users').getValue())
#set($groups = $obj.getProperty('groups').getValue())
#set($allow = $obj.getProperty('allow').getValue())
#set($entry=$targetDoc.newObject("XWiki.XWikiRights"))
$entry.set('groups',$levels)
$entry.set('users',$users)
$entry.set('levels',$groups)
$entry.set('allow',$allow)
#end
$targetDoc.save()
Hi,
Following a previous thread ([xwiki-users] rendering pages with Groovy
code), we are running a ISO-8859-1, 1.3-milestone-1.7186 XWiki server.
Encoding seems to work fine now, but there is still at least an issue here.
When we create/edit an user by using the new AJAX reach Administration
utility, extended characters are not correctly entered/interpreted.
Thus, the only moment we get correctly characters is when entered in
each field. Once we hit the accept button, the right character is showed
as weirds symbols.
iso-8859-1 is also the value in HTTP Meta Information:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Please, what could be our error here?
Thanks!
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi all,
We are facing a weird issue. The following code (provided the right host
name, username and password)...
áéíóú
<%
import groovy.sql.Sql
db = Sql.newInstance("jdbc:mysql://hostname/database", "username",
"password", "com.mysql.jdbc.Driver")
List samplesIA = db.rows('SELECT * FROM saltmines s where es like "I"
and ess like "A" and ids>=1')
%>
Tomáronse un total de <% println "${samplesIA.size()}"%> mostras da
secuencia sedimentaria do perfil P3-6-IA.
Edited by any user but admin with programming rights is rendered as...
http://mire.environmentalchange.net/~webmaster/images/RightCharaters.png
Edited by admin it is rendered this other way...
http://mire.environmentalchange.net/~webmaster/images/WrongCharacters.png
Please, not the question marks and the absence of the number 32.
This happens with any page containing Groovy code in this server, but I
am not able to reproduce the problem in my test environment. Both of
them run 1.3-milestone-1.7186.
Please, do you know why this could happen? Thanks!
Best regards,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Document name is "XWiki.macom_admin1301121402082"
I've seen this happen on our local wiki; the result is that the document
cannot be deleted regardless of what is done to the server.
I really need this doc deleted though :s.
---error text---
Error number 3203 in 3: Exception while deleting document
XWiki.macom_admin1301121402082
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document XWiki.macom_admin1301121402082
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateSto
re.java:540)
at
com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:
185)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3129)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:4741)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:52)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
0)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:685)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.StaleStateException: Batch update returned unexpected row
count from update: 0 actual row count: 0 expected: 1
at
org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93
)
at
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:7
9)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:5
8)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195
)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java
:91)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java
:86)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEn
tityPersister.java:2274)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEn
tityPersister.java:2440)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:
65)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:296)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:10
6)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:617)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:591)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateSto
re.java:537)
at
com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:
185)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3129)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:4741)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:52)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
0)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:685)
at java.lang.Thread.run(Thread.java:595)
Hi,
I've had a request from one of my users to create a script on our hosted
wiki that will create all the needed wiki content for one of their
lists.
* Problem 1, there is over 2000 xwiki documents to create from
this list
* Problem 2, they're a little anxious to get it going
I've tried using the $xwiki.createDocument in the underneath code (most
likely more saves than necessary).
What seems to be happening is this:
* Does not create a new document, attaches instead to
XWiki.WebHome
* All following changes occur to XWiki.Webhome - including rename.
Origionally had it saving after each change, no difference.
#set($seedForUnique=$xwiki.formatDate($xwiki.currentDate,
"HHmmssddMMyyyy"))
#set($userUnique=$context.user.replace("XWiki.", ""))
#set($generatedUnique="${userUnique}${seedForUnique}")
#set($baseAVLClass='XWiki.AVLEntryClass')
#set($baseSupplierClass='XWiki.VendorClass')
#set($newSupplierPartClass='XWiki.AVLVendorClass')
#set($newDocument=$xwiki.createDocument())
$newDocument.rename($generatedUnique)
$newDocument.setContent('#includeForm("AVL.VendorClassSheet")')
$newDocument.createNewObject('${baseSupplierClass}')
$newDocument.save()
#set($docObj=$newDocument.getObject('${baseSupplierClass}', 0))
$docObj.set('name', 'Samsung')
$docObj.set('email', '')
$newDocument.save()
I would guess I'm not doing a crucial step (or doing that step wrong)?
Better suggestions welcome too :)
On wikimatrix.org I read CamelCase is optional feature in xwiki. How can I
switch it on ?
What I shoud do when I need translate xwiki user interface to Slovak
language ?
Frantisek Kall
Hi,
Thank you for your answer.
Benoît
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]De la part
de Sergiu Dumitriu
Envoyé : jeudi 14 février 2008 00:23
À : XWiki Users
Objet : Re: [xwiki-users] Creating a class : hHow to add tye of
properties?
HERICHER Benoit DSIC BUA wrote:
> Hi,
>
> I would like to create a class "Contact" with a property "
> PersonalAddress". As I guess that will have to reuse the concept of
> Address to manage other things , I decide to create first a class
> "Address" and then I would like to assign this type to the property
> "PersonalAddress" of the class "Contact" as one would do in OO Languages
> like Java ; but it doesn't seem possible or did I miss something?
>
> Thank you
>
> Benoît
>
>
Hi,
This is not possible. Classes in XWiki can have fields only of
predefined, simple data types. Usually, the strategy to do what you want
is like this:
1. Create the Address class, also adding an "address type" field.
2. In a document, use one Contact object and several Address objects.
This way you gain even more flexibility. You can either use one Address
object with "type" = "personal" and one with "type" = "work" (or
whatever values you like), or you can accept any number of objects, and
the user can select what type of address he wants, and a button "add
address" allows him to add a new Address object.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello all,
I have edited the fields in XWiki.ArticleClass for the users to enter data into fields rather than the "Content" and "Extract" fields. However, those fields still exist and there is no space for the deletion of the class property. Is there a function in XWiki which allows the deletion of class properties or I must I recreate the entire class/classheet/template and not include those fields. Thank you in advance for your help.
Tim Campbell
Hello,
While upgrading xwiki 0.9 to 1.2, we run accross this problem:
1) we copy db to a new db for upgrade
2) we fix a column according to docs (issuing an alter statement)
3) we start first time xwiki 1.2
4) we get bunch of document upgrade messages
5) we get some warnings about author/date in history
6) we upload and set xwiki skin usnig our old skin (which wasmainly the
old defuat skin with some customized css)
7) we get this error: (how are we supposed to fix it?)
org.apache.velocity.exception.ParseErrorException: Encountered
">Blog<.a><span> | <.span> <a
href=\"......view.Main.KnowledgeBase\",\"view\")\">Knowledge
Base</a><span> | </span> \r\n-->\r\n<a href=\"" at line 3, column 38 of
view.Main
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:212)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:95)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:60)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:247)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:150)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1313)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:554)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
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.SimpleNode.render(SimpleNode.java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1354)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:607)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
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.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
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
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1354)
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(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
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:283)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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)
thanks for suggestions and regards,
David Delbecq
Hi,
I would like to create a class "Contact" with a property " PersonalAddress".
As I guess that will have to reuse the concept of Address to manage other
things , I decide to create first a class "Address" and then I would like to
assign this type to the property "PersonalAddress" of the class "Contact" as
one would do in OO Languages like Java ; but it doesn't seem possible or did
I miss something?
Thank you
Benoît
Hi all,
sometimes when I try to change rights, xwiki doesn't updates all changes.
This problem appends when I have more than one column rights set and I try
to change some allow cells into deny
Regards
Raffo
--
View this message in context: http://www.nabble.com/edit-page-rights-problem-tp15434468p15434468.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys..
Can't seem to find in the api any means to set the subject for a message
being sent using this method - is this not possible?
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
Hi guys,
Been looking to get one of my hosted wiki pages saved (protected calls
inside page), can someone please update?
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
Hello,
we are currently running XWiki Version 0.9.840 in our intranet. Due
to regular problems we have with pages history being corrupted, absence
of wysiwig editor, we would like to upgrade our xwiki version. It seems
that the replacement for that xwiki is "xwiki enterprise 1.2.2". We
tried to do that upgrade on a copy database, but we hit that problem
upon accessing:
java.lang.UnsupportedClassVersionError: org/exoplatform/container/PortalContainer (Unsupported major.minor version 49.0)
It seems (http://www.nabble.com/Plexus-version-error-td14888606.html)
that it's linked to the presence of exo components that requires java
1.5. However, since that tomcat run also other applications, upgrade to
1.5 is not an option. What is the latest xwiki that works with 1.4
version and where should i go to download it?
Also, has the authentification mecanism been changed since 0.9? We are
using a custom password checking class
(xwiki.authentication.authclass=be.rmi.intranet.XWikiNISAuthService). Is
that still supported? If no, is container managed authentification
supported?
Thanks
--
David Delbecq
Institut Royal Météorologique
Ext:557
Hi,
I'm using version 1.2.1.7160 and noticed that both the regular and lucene search won't search page titles (I mean the title field, not the first page heading which otherwise gets promoted to the page title). In the lucene source I noticed that title field doesn't get indexed. Why is this missing?
Thanks for information,
pete
The XWiki development team is pleased to announce the release of XWiki
Enterprise1.2.2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix release.
Changes from 1.2.1:
Bugs fixed
* XWIKI-2052 - XWikiDocument.equals always returns false if a
document is compared to itself
* XWIKI-2064 - DBListClass and DBTreeListClass are building
invalid SQL statements
* XWIKI-2065 - XWikiHibernateStore.deleteWiki don't works
* XWIKI-2066 - Migrator fails to upgrade sub wiki databases
* XWIKI-2068 - Rights Manager does not clean deleted user/group
in all wikis
* XWIKI-2074 - Database Migration fails when migrating from 1.0
or older directly to 1.2 without going through a 1.1 upgrade
* XWIKI-2076 - "Content is not allowed in prolog" error while
migrating a database to 1.2
* XWIKI-2078 - Missing translation entry for the title of the
Group Admin page
* XWIKI-2079 - Fails to save document after migrating from a 1.0
or before database to 1.2
* XWIKI-2080 - Server hangs while rendering certain pages
* XWIKI-2087 - Attached files that we can't delete or link in the
Wiki pages
* XWIKI-2090 - Attaching images with a name containing special
characters (é & è à ...) generates bugs (image are not displayed)
* XWIKI-2101 - XWiki.clearName strips dots when using ascii
option even if stripDots option is set to false
* XWIKI-2102 - Attachments should not contain non-alphanumeric
characters in the file name
Improvements
* XWIKI-1980 - $doc.displayTooltip should support
internationalized strings
New Features
* XWIKI-2088 - Add a method to retrieve the e-mail address of a
user
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise122
Thanks
-The XWiki dev team
Hi Frantisek,
On Feb 11, 2008, at 10:27 PM, Frantisek Kall wrote:
> > I changed default skin to dodo skin (because its looks the best for
> > me) but there aren't all navigation links when I compare it with
> > albatross skin (Panels - Quick Links, ..).
> > Are all skins fully comparable in functionality?
>
> The panels feature was introduced in Albatross and it's present in
> Finch, Albatross and the upcoming Toucan. It's not in Dodo.
>
> In Dod there was a left menu page (XWiki.Menu from the top of my head)
> and a Toolbar page (XWiki.Toolbar again from the top of my head).
>
> Thanks
> -Vincent
>
> Hi Vincent,
> thanks for quick answer. We plan use xwiki as main intranet server
> for documentation, projects and knowledge sharing. We are testing it
> now. I also tested MoinMoin and I like his simple looking interface.
> Dodo skin looks similar to Moin, but it is probably outdated and not
> fully supported. Do you recommend us to use Dodo or rather Finch (I
> don't like Albatross)?
> When you expect Toucan will be released?
* Dodo is outdated
* Finch is a bit better but not very well supported (only community
support right now and not the xwiki dev team although one committer is
interested in working on it)
* Albatross is fully supported and the most up to date
* Toucan will be released in about a week
Please use the mailing lists (I've cced the user list).
Thanks
-Vincent
Hi everybody,
On the mailing lists, we noticed several people trying to use XWiki in
academic environments, requesting features such as support for
mathematical equations or support for LaTeX.
We took some time to design a product that would be great for writing
scientific papers, identifying some important features, and some "would
be nice to have" features. You can see the current design proposal at
http://dev.xwiki.org/xwiki/bin/view/Design/SPAWN (feel free to send
comment on the mailing list).
Given the fact that this is not a product which can easily be sold, and
that there are other more critical projects to work on for the moment,
the core XWiki developers cannot dedicate much time on it. This is why
we need help from the community. Whoever would like to use this product,
and has the power and knowledge to work on in, please help us.
If you are in an university as a student, you can propose one of the
sub-applications as a project for one of your classes. If you are a
teacher, you can propose some sub-applications as student projects. We
can help with coordination, more detailed description/requirements,
question answering, code review, etc.
Some of the features require mostly programming skills, while others
require more advanced research skills, like the positioned comments in a
dynamic text (adapting some sequence alignment algorithms from
bioinformatics seems the best idea for the moment, but also some fuzzy
systems theory could be applied), or an automatic merge algorithm based
on Operational Transformations, so some publications can come out of
this, too.
If we gather a few volunteers, I'll make the necessary Jira setup and
mark the product as active.
Regards,
The XWiki dev team
Hi everybody,
I'm having trouble with PDF and RTF export. I tested it in both IE and
Firefox browsers und got the same corrupt PDF file.
Firefox generates only one line:
%PDF-1.4 %ª«¬ %PDF-1.4 %ª«¬ ���������������������������������
We are running XWiki Ent.1.2 on Oracle App Server 10.2.0.3.
The problem ist somehow OC4J specific - the similar test on the localhost
(Windows XP, Tomcat) with the same Oracle DB was absolut OK.
xwiki.log shows XML-22900-error, what is rather typical for using the wrong
JDK . I'm sure I have set in OEM the path to JDK 1.5. Could it happen that
the path to JDK would be overwritten for some reason? (We have 1.4, 1.5 and
1.6 JDKs installed on this server) .
We have replaced Hibernate-3.1.3.jar with the version 3.2.5.ga.
Do I need to configure some other files or replace some libraries?
Can the character set be the cause of such behavior? XWiki uses ISO-8859-1,
but our DB works with "Latin 9" - WE8ISO8859P15.
On the other side - I also tried to export the empty page (or with only one
letter A on it) and the result was the same, i.e. I was getting the corrupt
file.
Thanks a lot for any help,
Alla
--
View this message in context: http://www.nabble.com/PDF-and-RTF-Export-under-OC4J-tp15412211p15412211.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Geee OAS sux big time. I dont have any shared lib, but oracle has it's own xml parser in some parent classloader. I'll have to try some dirty tricks with OAS's classloaders to exclude it from classpath or change loading priorities. I'll report result.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of Sergiu Dumitriu
Sent: Monday, February 11, 2008 5:20 PM
To: XWiki Users
Subject: Re: [xwiki-users] PDF and RTF Export under OC4J
Martin Vanek wrote:
> We have xwiki 1.2.1 on OracleAS and PDF/RTF export dos not work too, but in
> different way. After clicking on export to PDF, browser only displaying
> blank page.
>
> Exception from xwiki log is
>
> 2008-02-01 14:52:38,452
> [http://sis01:5678/xwiki/bin/export/sis2/WebHome?format=pdf&]
> [RMICallHandler-9] WARN web.XWikiAction - Uncaught
> exception: Error number 0 in 11: Uncaught exception
> Wrapped Exception: loader constraints violated when linking
> org/xml/sax/InputSource class
> com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
> Wrapped Exception: loader constraints violated when linking
> org/xml/sax/InputSource class
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164)
> 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:743)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at
> com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
> at
> com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
> at
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
> at
> com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
> at
> com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
> at
> oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
> at
> oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
> at
> oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
> at
> oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
> at java.lang.Thread.run(Thread.java:595)
>
>
> Wrapped Exception:
>
>
> java.lang.LinkageError: loader constraints violated when linking
> org/xml/sax/InputSource class
> at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyCSS(PdfExportImpl.java:326)
> at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyCSS(PdfExportImpl.java:288)
> at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:202)
> at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:220)
> at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:82)
> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:50)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
> 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:743)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at
> com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
> at
> com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
> at
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
> at
> com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
> at
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
> at
> com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
> at
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
> at
> oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
> at
> oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
> at
> oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
> at
> oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
> at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
> at java.lang.Thread.run(Thread.java:595)
>
Your problem is with the libs provided by the container. There are some
incompatibilities between different XML utilities. What do you have in
the container shared libs directory?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I changed default skin to dodo skin (because its looks the best for me) but
there aren't all navigation links when I compare it with albatross skin
(Panels - Quick Links, ..).
Are all skins fully comparable in functionality?
Frantisek Kall
The XWiki development team is pleased to announce the release of
XWiki Watch 1.0 Milestone 3.
You can go grab it here :
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiWatch
This release include both bug fixes and new features, among which you can
find :
- Date range filter: you can select the date range (start date and end
date) for the articles displayed in the list.
- Email press review : the same press review you used to view as html or
as pdf can now be sent over through email
- other UI improvements and bugfixes.
You can read the full release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWatch10M3
And the installation guide :
http://code.xwiki.org/xwiki/bin/view/Applications/WatchApplication
Have fun!
The XWiki Watch development team
After upgrading from 1.1 to 1.3m1 most, but not all, binary attachments
(images, PDFs, Word documents, etc...) are corrupt when I attempt to
download or view them from any links on the main page where they are
attached: the documents download, and they're the right size, but are
unusable (won't open, produce errors in the program trying to read them,
won't display in the browser, etc...).
If I download files from the attachment history page they work correctly.
Similarly, if I re-attach them they work correctly.
Downgrading to 1.2.1 does not affect the problem.
I browsed JIRA for a while looking for any similar issues but didn't see
anything. Does anyone have any insight, or what additional information can I
provide to help isolate the problem?
Vincent: Thanks for suggesting $xwiki.refreshLinks() the other day. That
solved my missing backlinks problem.
Thanks,
--
AW
Hi
I downloaded xwiki war file and changed the hbm.cfg.xml , xwiki.hbm.xml
I am using weblogic portal and oracle9i.
After deploying when i used the following url
http://localhost:7788/xwiki/bin/view/Main/WebHome.
I got the following error
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
XWiki.XWikiPreferences
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.XWikiDocument#104408758]
Can somebody help me out
--
View this message in context: http://www.nabble.com/Unable-to-deploy-xwiki-with-weblogic-portal---oracle-…
Sent from the XWiki- Users mailing list archive at Nabble.com.