Hi,
I have a groovy script in a page, that loads some data and create pages and
objects with it.
Basically for each input data 2 new documents are created, each with 2 new
objects inside (one a custom class, and one for tags "XWiki.TagClass").
For most documents there is no problem, while for some I get the following
kind of exceptions (always for one of the classes, never for the other) :
Error number 3201 in 3: Exception while saving document MailArchive.
MMKSonLinuxpatch22-01
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]
The exact same date string is used to save another document/object without
any problem (the Date fields have exactly same pattern format). I use the
same SimpleDateFormat for all, and the patterns in the class are copy-paste,
so why is it ok for one and failure for the other ?
It's not always a DateProperty that cause issues, it can also be Strings or
LargeStrings.
I tried to delete my custom class and recreate it, purge all created
documents (with doc.delete()), and also to purge all entries that were left
even after delete(), directly in database (in tables xwikidoc, xwikiobjects,
xwikistrings, xwikilargestrings, xwikidates and xwikirecyclebin), but it
seems the same input data will always have document.save() fail this way.
It seems it's always the second save() for an input data that can fail. This
second save() targets a different document, object and class, and it's not
the same groovy variables either. Could it happen that the first save() is
not completely finished and there is some problem with tables updates ?
Would I have something else to do to make sure previous transaction is
finished ?
I believe it must be something in the data, but it's only strings,
largestrings and a date, so I don't know how to investigate more...
Thanks for any help,
Jeremie
PS : I'm on XWiki 2.0.3, MySQL 5.1.38, Linux RH Rel 4
Hallo,
is it possible that attachments on one page have different access rights?
Or gets the attachments always the rights from their page?
Thank you!
Best Regrades
juergen
Hi,
got something intresting,
i have a table with divs with headings (syntax 2.0, XE 2.0.2)
|(((
=== Heading ===
)))
The Heading is displayed fine in Firefox but is not displayed in IE with
Colibri skin. Using the Toucan skin it is displayed in both browsers.
For further investigation I looked at the source code of the page where i
get something like
<table><tr><td>
<div>
<h3>Heading</h3>
</div>
</td></tr></table>
In IE somehow it seems the span is displayed but not its content. Changing
the font-size in IE the text appears, refreshing the page the text
disappears.
Any suggestions cause i really cant figure out what happens there.
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/IE-Display-problem-tp4024042p4024042.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
I'm always looking for the new releases from XWiki, and I was wondering if
it was possible to get these informations by email? instead of always going
on the site and checking if the new release has arrived or not.
In advance thanks
Best regards
Raphaelle
--
View this message in context: http://n2.nabble.com/How-to-be-informed-of-the-releases-from-XEM-tp4063973p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone!
I just change the logo of my xwiki but I don't why, when the page is
loading, it takes several seconds loading the image. I followed the
instructions below:
* Choose an existing image or create a new one
* Resize it so that it is 220 pixels wide and 80 pixels high
* Save it as a PNG file and name it "logo.png"
* Upload the image as an attachment in /
xwiki/bin/view/XWiki/DefaultSkin
So, I want to know if this is the normal behavior.
Thanks in advance!
MCR
Hi XWiki lovers :),
By now you've probably seen the new menu bars that we have introduced
in XE 2.1M1. If not, please try XE 2.1M1 or check the release notes at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise21M1
Since the action menu has been heavily reworked we're interesting in
gathering feedback and thus ensure that you like the new menu as much
as we do.
If you have some problems with them please let us know ASAP (since the
2.1 final release is approaching fast - early December).
So whether you like them or not, please let us know what you think
about them.
Thanks a lot
Enjoy XWiki
-Vincent on behalf of the XWiki dev team
Hello all,
We try to configure and use a 2.0.3 xwiki server (based on our 1.8.2 experience)
1) Problems found :
- During the import of a small sized Word document (3Mb - 20 pages - 7 pictures - few arrays), we had a crash (IE displayed the page about missing server). When we tried to opened again the main page, the imported document was partly created, with no picture displayed (but in attachment files) and with some HTML files in the attachment list. Since the crash we cannot log in the system anymore, we had to restart it (we use a LDAP authentication)
- When we try to insert a picture in a page, we change the width and height in the popup window to 50%. The picture is displayed well in the editor, once saved the picture is not displayed. If we edit again the page, the picture is displayed in the editor. If we try to insert the same picture without resizing it, it works well.
- Statistics / Insert of macro : you already know about this problems
I don't have the access permissions to the log, but if you need some traces, tell me and i will request them.
2) Questions :
- In the WYSIWYG editor, we cannot change the text color or background text color. Is there a way to do that ?
- In the Office Importer we cannot paste a PowerPoint slide, is there a way to do that ? We would like to import the content of PPT files and displayed them in a Wiki page.
3) Feedback :
The main feedback of the xwiki is a "waouh looks great". Users (IT and Business) all agree that it can be really usefull in them daily work and see the added value to work with it. Now, like many companies, we use a lot of Microsoft Office documents and they would like the import of documents working better (DOC, XLS, PPT - Formatting). Also, the insert of print screen could be easier than creating a JPG file and use then a copy/paste instead (i have to say that i don't know if it's possible or not)
But at the end, the feeling is very positive and we hope to see many more improvements soon in this great software.
Very good work all !
Christophe Périnaud
Hub Banking Support Appl. Dvo
KBL European Private Bankers S.A.
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I'm trying to create an instance of a class using the restful api however I keep getting back http error 400 bad request messages.
We are posting a string of propertyname=value pairs seperated by ampersands with a className property at the end set to the type of xwiki class that we would like to create.
1. Is a string of property=value pairs the right way to do this?
2. do I need to prefix "property#" infront of each property name?
3. Are there any logs which might give more insight into why http 400 bad request is being returned? Ive checked the xwiki.log and Jetty/logs/ folder but couldn't find anything detailed.
Thanks in advance
Radek
Evening, or at least here is starting to be late... :)
i am stuck at an issue here. is there a way to copy for instance(from the
ValidationSample.xar...the formulary...) the ValidationSampleCode[0] into
anothe space, as a class to a page in that page.
so if the class has 3 properties...string textarea number, then these to be
copied in a clone class .
ex:
page Val1 has the ValidationSample.ValidationSampleCode[0] attached
i want for the page TestPage(from another space) to have the
TestSpace.TestPageClass[0] attached to it.(this TestSpace.TestPageClass[0]
to be a clone of another class obj).
am i making any sense here for you
--
View this message in context: http://n2.nabble.com/copy-a-Class-into-a-space-tp4061342p4061342.html
Sent from the XWiki- Users mailing list archive at Nabble.com.