Hello,
I tried XE 2.2-SNAPSHOT.27143 and have noticed one new error message in
xwiki.log, that was not in XE 2.2 stable release.
Deploy xwiki-enterprise-web-2.2-20100218.061341-347.war - OK
The message appears on importing default .xar Archive
(xwiki-enterprise-wiki-2.2-20100218.061341-348.xar).
I tried also snapshot 2749 - with the same effect.
2010-02-19 11:43:54,328 [Lucene Index Updater] ERROR lucene.AttachmentData
- error getting content of attachment
java.lang.NullPointerException
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:145)
at
com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:145)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:80)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
at java.lang.Thread.run(Unknown Source)
is it critical? It didn't occur before.
===
One more warning in log - it seems to be not very important...
2010-02-19 11:44:06,515
[http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] WARN
interwiki.InterWiki - Unable to read conf/intermap.txt
==
We are working on XE 2.2 + jdk1.6.0_17 + Tomcat + Oracle 10g
Best Regards,
Alla
http://n2.nabble.com/file/n4597247/xwiki.log xwiki.log
--
View this message in context: http://n2.nabble.com/ERROR-lucene-AttachmentData-NullPointerException-tp459…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I created few pages (class, sheet, template, etc) to let me have a template for incidents management. My problem is that when i click on Edit it opens the WYSIWIG editor and i would like to have the Inline Editor by default. If i force the inline editor from the edit menu it works great.
I have the same problem for the user's edition
Christophe Périnaud
Hub Banking Support Application
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
Hey,
I have a few questions on a variety of topics
1. Is there a method that returns the access rights for a given group? I tried to use method hasAccessLevel to return the access rights (at the group level) but it seems that the method only applies for users and not groups.
To expand on this thought, where are all the group names stored? I've been using hasAccessLevel using XWiki.{groupname} as the parameter, so I am not sure whether I am calling it right.
2. It seems that no one has addressed Mike Davis's question, but since I also need to do something similar to what he brought up, I'd like to bring it up again:
Mike Davis said:
"2) Is there a way to remotely access a sql 2005 database from an xwiki
script? A groovy wrapper for java jdbc or something. I want to query
the database and put the results in a livetable, but the db lives on a
completely separate server."
I understand that accessing files depends on the web server you are running xwiki on, but I am almost clueless on how to access information on another server from a web server. I'm not sure if I am asking the right people, but if someone would like to enlighten me, I'd greatly appreciate it.
3. Regarding Livetable, I need to create a (huge) table that includes the User field and well as the AllDocs field. What I am trying to do is create a table that will display the access rights for a given user and given document. Livetable is obviously the best option for this kind of task because of its organization, but it seems that I can only use one classname and either display AllDocs or Users on the livetable, not both.
Thank you,
Felix
Following velocity allows to create simpe xwiki document:
#set ($mydoc = $xwiki.getDocument("Sandbox.Test1"))
$mydoc.setContent("sdfsdf")
$mydoc.save()
But How can I create custom object?
http://hans.gerwitz.com/projects/snipsnap-to-xwiki
shows some ideas but I can't make it working for me.
Another (awkward) way would be executing external curl command.
How can I do this?
Thanks,
Valdis
Hi,
I did not find a "DeleteProperty" feature.
What is the reason?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
We are having problem with importing document from xwiki 1.9 into 2.1. (Most
of the data in 1.9 was previously imported from v1.7). Any insight will be
appreciated.
In the log file, there are SQL errors:
ERROR 2010-02-09 15:20:23,022 (Package.java:628) - Failed to save document
ABCD.System Management Plan (SMP)
WARN 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:77) - SQL Error:
1400, SQLState: 23000
ERROR 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:78) - ORA-01400:
cannot insert NULL into ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
ERROR 2010-02-09 15:20:23,084 (AbstractFlushingEventListener.java:301) -
Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert:
[com.xpn.xwiki.objects.BaseObject]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
Thanks
Jin
Did some programmed a glossar for xwiki?
My impression is, this is not to complicated.
Did some programmed a forum for xwiki?
This looks much more complex to me.
However, maybe the commenting facility is suffient for a simple forum.
If yes, are you willing to share code?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Now I have more tricky question -- how to add custom object using Xwiki
REST service.
By browsing existing ones I assume, I can create linked custom object
using POST before, and get object id.
Then I add wiki document using PUT and set relation to previously
created object.
Is it right approach to test?
Are there more recommendations beside
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
Thanks,
Valdis
Hello,
I have problem with editing documents with the new WYSIWYG editor (page
syntax – XWiki 2.0) - on attempt to create a link to existing documents I
get a message “There was an error loading the data” – it looks like the
select from the xwikidoc table doesn’t work properly.
Log file: “Exception while searching documents with sql select distinct doc
from XWikiDocument doc where 1=1 and doc.author='XWiki.Admin' order by
doc.date desc” and
Oracle error “ORA-00932 inconsistent datatypes”. The full log files
attached.
Even so, if I switch to tab “All pages”, I can see the list of all existing
pages, but cannot select any of them.
Links creation with XWiki 1.0 syntax works fine.
Are there Oracle-specific workarounds or is it just a bug?
Our environment: XE 2.1.1 + JBoss 5 ( jdk 1.6 ) + Oracle 10g.
http://n2.nabble.com/file/n4556042/wysiwyg_editor.jpg wysiwyg_editor.jpg
http://n2.nabble.com/file/n4556042/server.log server.log
http://n2.nabble.com/file/n4556042/xwiki.log xwiki.log
Thanks,
Alla
--
View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4…
Sent from the XWiki- Users mailing list archive at Nabble.com.