Hi
I've modified http://localhost:8080/xwiki/bin/view/XWiki/XWikiSkins
with the class editor.
I've used the Add Property Panel to add a property "toucan.css" of
type TextArea
In the editor i set the size of the property to 100000 (toucan.css is
a very large file)
I've tried to set the type to PureText and FullyRendered...
THen I modify the default skin on http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object&classn…
I copy and paste the content of the original toucan.css in the toucan
field
Try to save but:
problem occurred while trying to process your request. Please contact
the webmaster if this happens again.
Detailed information:
Error number 3201 in 3: Exception while saving document
XWiki.DefaultSkin
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
=> The complete toucan.css
and the rest of the error
]
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:
2412)
at
org
.hibernate
.persister
.entity
.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:
2312)
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:
2612)
at
org
.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
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:
168)
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:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:
106)
at
com
.xpn
.xwiki
.store
.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:
852)
at
com
.xpn
.xwiki
.store
.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:
823)
at
com
.xpn
.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:
589)
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:1283)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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.doPost(ActionServlet.java:
432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
269)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:
145)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.web
.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
295)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.web
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
112)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
172)
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:
174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
875)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org
.apache
.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org
.apache
.tomcat
.util
.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:613)
Hi,
I migrated the binaries from 1.5 to 1.8.2 (I'm on linux redhad / tomcat 5.5
/ mysql 5).
When importing default xar, most of the pages fail to be imported. Logs show
these kind of messages :
"ERROR packaging.Package - Failed to save document
Stats.WebHome"
In some cases, it fails on delete of existing pages.
As I had many errors I removed the activity stream plugin temporarily. As it
was too resource consuming, I also removed lucene to avoid full indexing at
startup. Errors on import were the same with or without these plugins.
I really don't know what I missed ... If anyone has a clue, thanks.
Best regards,
Jeremie
--
View this message in context: http://n2.nabble.com/XWiki-1.8.2-%3A-migration-from-1.5%2C-import-default-.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Just an idea, maybe your wiki is not configured to be viewable by guest
users, meaning xwiki will redirect to login page whenever a not logged in
user try to view a page ?
You might check the rights allowed to group XWikiAllGroup, in "Rights" under
Administration pages, and the following options in same page :
- Prevent unregistered users from viewing pages, regardless of the page or
space rights
- Prevent unregistered users from editing pages, regardless of the page or
space rights
--
View this message in context: http://n2.nabble.com/homepage-in-xwiki-tp2954111p3019299.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
First: could you validate my understanding.
When a document url is requested XWIKI will get the document from the
database and start applying velocity-templates.
It will look, according to skin-setting, down a "template path" and if
a programmer did not put a "modified" template on the path it will end
in the templates directory (xwiki/templates)
A programmer can put a template on the path by putting a rightly-named
*.vm file in a directory in skins directory
(xwiki/skins/toucan or xwiki/skins/#####) (where ##### is the name of
the skin)
A programmer can also put a template as a object in a xwiki-page of
class XWiki.XWikiSkins
You create a TextArea with the same name as the original template,
without the vm extension
The mother(s) of all templates are view.vm, edit.vm, preview.vm and
save.vm?
xwiki will always only apply the first found template of a certain
name, meaning if you put some script in header object in the xwiki
page of your skin it will ignore the header.vm files on the file system?
This would imply that you best first copy the orginal script into the
text-area field and then make your changes?
Would this practise not lead to missing out on features of newer xwiki
versions, assuming that the template-scripts are also improved? Or is
the programmer forced to, with each upgrade, examine his/her scripts
against the scripts in the templates directory?
What is best practise here?
Second;
If you put also graphical elements, CSS scripts in the
XWiki.XWikiSkins page of your skin
how does xwiki know if it is a velocity-script, a css or a graphical
element?
Gerritjan
I would like to know how to display only an specific field from a class in inline mode, obviously using the code in the class sheet related to that class.
Â
I would like to show only one field in inline mode because I need that embeddeb html editor that appears only in inline mode for text fields. The other fields can be showed in normal edit mode.Â
Â
Thank you so muchÂ
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
First of all I would like to thanks anybody who has available time to answer my question.
This is really important for me.
Â
My problem is described below :
Â
I have a class named Problem.
It has a text field.
When I have a page using the Template and the Class Sheet related to that Problem Class, I edit that specific page in inline mode, so I have access to put information in that specific "text field" using an embedded xwiki HTML editor, but the problem is that in inline mode I have so many buttons available, and I would like to have only my own button(and only that button) in order to save all typed data to avoid some confusion in the user's mind(with so many buttons). When I use a form in edit mode I can have only my own button to save the information in the form, but the problem than is that I have no access to that embedded xwiki html editor, so I can't put images etc... in the text field.
Â
Could anyone, please, give me a solution.
Â
Thank you so much.Â
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Hi,
On a page I have a html document attached and I link to that document:
[[Some HTML Document>>attach:MySpace.MyPage@myattachedfile.html]]
This is working fine.
But the attached html document is very large and contains a lot of
anchors for easier navigation inside the document.
So I'd like to improve the xwiki link to point directly to one of these
anchors in the html attachment.
I modified the link:
[[Some HTML Document>>attach:MySpace.MyPage@myattachedfile.html#someAnchor]]
But unfortunately this is not working. The hash is always escaped.
Is there a way to link directly to an anchor in an attached html document?
Importing the html document in the wiki page is not an option, it has to
be attached.
We're using 1.8.3.
Thanks.
Reto
Hi guys,
is raw database hacking the only way to remove such pages?
e.g. when looking at the orphaned pages tab in AllDocs, I find documents,
generated through faulty code evaluation, such as .../SpaceName/<em class= ,
so to say, somehow the page was created with somje html stuff in its name.
I've got lots of other examples. But when clicking on delete, XWiki tells
me, that the page does not even exist yet. So, what can I do to delete it
without hacking in the database itself.
thanx for any suggestions
Sebastian
Hi
I'm getting this error (see below) while trying to rollback to an older
document version.
I have made some class property changes (additions) recently, could this
prevent a correct rollback?
If so is there a solution?
Error number 3201 in 3: Exception while saving document
Patterns.GuessMyX
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
Thanks
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.