Hello.
This email is mainly for Gentoo Linux users/admins/developers.
I write a draft version of XWiki ebuild (package analog) for Gentoo
Linux distribution:
http://jira.xwiki.org/jira/browse/XWIKI-467
ebuild in attachments
install instructions in comments
For now ebuild can (USE flags):
war - simple build war in
/usr/share/xwiki-svn-1.0/lib/xwiki.war
exowar - build exo portlet integration war in
/usr/share/xwiki-svn-1.0/lib/xwiki-exo.war
standalone - build standalone distribution (embedded hsqldb and jetty)
and install it in /usr/share/xwiki-svn-1.0/standalone
run by /etc/init.d/xwiki start
tomcat - deploy to tomcat6. simply symlink war file :)
write what you want else?
ebuild will checkout
svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/branches/XWIKI_1_0
sources for building and uses ant for building.
ebuild uses svn because xwiki haven't source distribution yet. But I
think for test this ebuild svn is most suitable.
Later we will needed source distribution for xwiki releases.
ebuild allow to Gentoo user to install xwiki very easily without any
knowledge in xwiki.
I tested this ebuild on ~amd64 arch, sun-jdk-1.5 & 1.6 (with some
patches allowing xwiki to compile at 1.6).
I would like to hear some feedbacks,notes,misprints and bugs before we
can propose this ebuild to Gentoo java-overlay or java-experimental overlay.
--
Artem Melentyev, UralSU, CS401
Hi,
I'd like to vote to release 1.0 RC4 today. RC4 contains WYSIWYG fixes
only:
Bug
* [XWIKI-1151] - Wyswiyg editor has problem with lists and
carriage returns
* [XWIKI-1152] - Wysiwyg loosing content when copy pasting and
switching to list
* [XWIKI-1163] - Remove lines space before and after the list,
table
* [XWIKI-1164] - Editor removes line feeds
* [XWIKI-1165] - WYSIWYG editor doesn't understand the "-"
notation for lists
* [XWIKI-1166] - WYSIWYG editor doesn't understand the \<text
\> , it's ignored
* [XWIKI-1167] - Create 2 lists that separated by a line space
then it merges both lists
* [XWIKI-1172] - "Ident" button generates escaped <bloquote>
wiki markup
Here's my +1
Thanks
-Vincent
Hi,
We thought RC3 would be the last RC before the final release. However
we have discovered regressions in the WYSIWYG module :(
Thus I'd like to propose a RC4 release as soon as the problem listed
below are fixed.
Here are some issues that I think need to be fixed ASAP for a RC4
release (please add more if you think they are critical for a 1.0
release):
- XWIKI-1152 Wysiwyg loosing content when copy pasting and switching
to list
- XWIKI-1151 Wyswiyg editor has problem with lists and carriage returns
I think we need to all do a thorough review of the WYSIWYG editor to
try to find any other big issues that would need to be fixed before
the 1.0 release. Minor issues will have to wait for 1.1B1 or later.
Proposal:
- RC4 release for Wednesday
- 1.0 final postponed to the 9th of May
Is that ok with everyone?
Thanks everyone
-Vincent
PS: It should be clear by now that we need to spend more time on
functional testing...
Hi,
I just downloaded the latest version from svn but I get the following error
when I build. It looks like maybe a java version error, but I am using Jdk
1.6 and the build file uses version 1.4:
[javac] C:\New
Folder\xwiki\core\src\main\java\com\xpn\xwiki\store\XWikiJDBC
Connection.java:32: com.xpn.xwiki.store.XWikiJDBCConnection is not abstract
and
does not override abstract method
createStruct(java.lang.String,java.lang.Object
[]) in java.sql.Connection
[javac] public class XWikiJDBCConnection implements Connection {
[javac] ^
Thanks!
Myoki
--
View this message in context: http://www.nabble.com/Build-Error-with-Ant-tf3687912.html#a10309770
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I don't understand how to create plugin with my own tags in xwiki.
I would like to create some tags - something like {table} .... {table},
but I don't know how to render xwiki text with plugin.
Can anybody help me?
In fact is it even possible to write this plugin with
XWikiDefaultPlugin/XWikiPluginInterface?
It would be great if somebody be able to publish plugin which implementing
new tags
or write me the instruction what I have to do.
Thank you.
--
View this message in context: http://www.nabble.com/How-to-create-own-tags-in-xwiki--tf3504145.html#a9786…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
I have the need to show a better diff page for a page containing an object.
Since there is no generic diff for objects, I'd like to write a Diff
plugin allowing to make a nice diff of any two strings passed.
At the same time I'd like to start a refactoring of the current diff in
the same plugin.
Currently I see the following APIs:
DiffPlugin
// returns a list of org.suigeneris.jrcs.diff.Delta (which representd
differences)
getLineDiffAsList(String content1, String content2)
// returns a list of org.suigeneris.jrcs.diff.Delta (which representd
differences)
getWordDiffAsList(String content1, String content2)
// returns an HTML view of differences
getLineDiffAsList(String content1, String content2)
// returns an HTML view of differences
getWordDiffAsList(String content1, String content2)
// returns an Text view of differences
getLineDiffAsList(String content1, String content2)
// returns an Text view of differences
getWordDiffAsList(String content1, String content2)
Other APIs could be a function to get a complete diff of an
XWikiDocument (includes objects, attachements), however the
implementation itself should probably reside in an velocity template.
There is an interesting discussion to have about how the representation
of the Text and HTML views should be.
Any ideas ?
Another question is wether it is a good idea to put this as a plugin. I
think yes since it could be use for other things than the wiki content.
Ludovic
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
Hi,
I've found this http://wiki.moxiecode.com/index.php/
TinyMCE:Compressor for speeding up tiny MCE speed.
Is that something we could use?
Thanks
-Vincent
Hello,
I made a simple example using XWiki XML/RPC API, and I'm facing
something bizarre.
The example is located at:
http://www.xwiki.org/xwiki/bin/view/UserGuide/XMLRPCExample
It's a work in progress; is it OK to put it on www.xwiki.org user guide?
The idea is to make it a reusable example of XML/RCP API use.
The archive contains the source code, an Ant build file to compile and
run the example, an Eclipse project.
I do the following:
1- I run 'ant login': result is ok
2- I run 'ant create': result is ok, seen from the XML/RPC client side
3- I visit Sandbox.WebHome using firefox: Test page appears in Sandbox
space pages, but as a link to a non existing page; clicking on the link
brings to editing an empty page
4- I run 'ant get': the page is received ok, with same content as when
created (i.e. "This content was created by XMLRPC")
5- I visit Sandbox.WebHome using firefox: same as before. Clearing the
cache, quitting firefox does not change anything
6- I run 'ant edit': the page is edited ok
7- I run 'ant get': the content is correct w.r.t. previous editing
8- I visit Sandbox.WebHome with firefox: idem as before (page
Sandbox.Test is non existant)
9- I restart Tomcat
10- I visit Sandbox.WebHome with firefox: page is there
11- I visit Sandbox.Test with firefox: content is correct
Looks like a cache problem, but where?
The source code of the example may seem unnecessarily complicated (use
of properties, separation in several classes), but the idea is to move
it to Ant task easily.
Any idea?
François
Hello,
I have not yet found how to do a mass insertion as simple user. Thanks for
any pointer if this information is not true.
So, I can try as developper.
I would like to add a lot of pages (500) into a xwiki to transfert
information from excel file to xwiki.
So I suggest to write code that :
- upload an XML file,
- read the XML file and create the pages.
How can do it ? (And how can I give it to xwiki ?)
What is the XML file : <page> is a <title> and <body> ? other information ?
How can I download a file to the server ? Is it some size limitation ?
How can I put the XML page into the xwiki database ? Can I write "directly
into the database" or must I create a "virtual client on the server" that
will read the XML page and simulate a browser ?
Other ideas ?
Thanks for any pointers.
Best regards,
PHL.
--
View this message in context: http://www.nabble.com/MASS-Insertion-tf3680310.html#a10285095
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
If an attached image size is reduced, there is a significant drop in
quality. I understand that there is some loss anyways but i have seen other
Wiki's do the size reduction much better (with ImageMagic i think).
Is this a known issue?
Using RC2 with Tomcat and MySQL on Windows 2003 Server with latest service
pack.
Thanks
Shiva
--
View this message in context: http://www.nabble.com/RC2---Image-Resize-quality-tf3681871.html#a10290186
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hello everybody!
I write my diploma thesis! And I have a problem. I want to attach a file to a page of the xwiki. This should happen automatically - this means without any intervention of a user.
You can attach a file over the GUI and I want the same functionality in my plugin. The file should be loaded from the folder and attached to the page over the plugin and velocity. A batchscript should update the wiki every hour, when some files in a given folder have changed.
The class "Document" in the package "com.xpn.xwiki.api" has a method "addAttachment()", but I have the problem that this method is protected. Thus I cannot attach a file with a self-written plugin. I don't find any information about this context in the documentation.
Has anyone a solution for my problem? Could this person please send me the coding or the link where I find the documentation/ information to solve the problem?
Please please help me! I have to implement this functionality but I don't know how. My diploma thesis is very important for me and I'm desperate!!!
Hi
I have successfully followed the tutorial on creating an FAQ application on
xwiki.org. However, i dont get a table with border encompassing the question
and answer. Here is the HTML from the browser for an actual document:
<dl>
<dt> Question </dt>
<dd>How do i use FAQ?</dd>
<dt> Answer </dt>
<dd>use the FAQ only for questions that do not need lengthy answers. Answers
to the FAQ should be short and should not exceed a few lines with no
screenshots or attachements.</dd>
</dl>
AFAIK, this was working well with Beta1. Did anything change? Or should i
create the answer and question properties with non-default values?
Thanks
Shiva
--
View this message in context: http://www.nabble.com/FAQ-Application---Problem-with-RC2-tf3678189.html#a10…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I need to document all this but I wanted to give you a heads up on
our Maven2 build:
* It's fully functional but requires Maven 2.1 to fully work (this is
due to bugs in 2.0.6 which is fixed in 2.1). As 2.1 isn't released
yet, I've made a version available at
http://xwiki.org/maven-2.1-SNAPSHOT.zip
* What does the m2 build currently do:
- it builds everything including the standalone distribution.
Note: it doesn't generate the NSIS exe yet.
- we can generate artifacts for various databases (we have 3
configured: HSQLDB, MySQL and PostGreSQL). However the application/
and application-test/ modules currently only work with HSQLDB and the
database/ module needs that your database be started if you're not
using HSQLDB (the default).
- it runs selenium tests written as junit tests and located in
xwiki/application-test/src/test/it
* The full build currently takes close to 3mn here. I'll exclude the
functional tests from the default build as they'll start to take too
long as soon as we start having more tests. I'll create a profile
called "integration-tests" for running them. Our CI tool will use it.
* We've installed a CI tool at http://teamcity.xwiki.org but we have
some issues with the svn checkout which hangs. I need to figure out
what's wrong.
* What's left for the m2 build:
- some fine tuning
- configure it so that we can release directly on objectweb's m2
repo at the click of a button
- NSIS integration
- move the tests in xwiki/tests or rewrite them
- review the JAR version differences with the Ant build and try to
align them. It's probably a good time to upgrade all our jars to use
the latest version of libraries too.
* A note on Selenium tests. I've set up an infrastructure so that any
tests dropped in xwiki/application-test/src/test/it gets executed.
Don't hesitate to add new tests there. To whet your appetite here's
an example of a login test to show you how easy it is (yeah I know,
that test is easy :)):
public class LoginTest extends AbstractSeleniumTestCase
{
public void setUp() throws Exception
{
super.setUp();
open("/xwiki/bin/view/Main/");
// Verify that the user isn't logged in
if (isAuthenticated()) {
logout();
}
goToLoginPage();
}
public void testLogAsAdmin()
{
setFieldValue("j_username", "Admin");
setFieldValue("j_password", "admin");
checkField("rememberme");
submit();
assertTrue("Admin user has not been authenticated",
isAuthenticated());
}
public void testLogWithWrongPassword()
{
setFieldValue("j_username", "Admin");
setFieldValue("j_password", "wrong password");
submit();
assertTextPresent("Wrong password");
}
public void testLogWithInvalidUsername()
{
setFieldValue("j_username", "non existent user");
setFieldValue("j_password", "admin");
submit();
assertTextPresent("Wrong user name");
}
}
TODO: I'm going to try writing some tests for the WYSIWYG editor
right now and see how hard it gets.
Comments are most welcome.
Thanks
-Vincent
Hi all,
I know everyone is really busy at this time trying to polish XWiki for
the 1.0 release, so this may not be a good time to start discussing
design issues. Thus feel free to ignore this message until the bug
chase is over ;)
Here I want to discuss about some IMO design flaws in XWiki and suggest
some ways to improve them. I know the programmer's motto that goes
"If it is not broken, don't fix it". While I usually agree with this,
sometimes I believe some changes can improve code readeability,
isolation and encourage better coding practices. Well now without
further ado, some things I believe we should fix:
1) com.xpn.xwiki.XWiki has become a mess. It has become the official
"put the method that does not fit elsewhere" place. Thus it is
gigantic and complex.
2) there are many abstraction violations in XWiki. For example, storage.
XWiki is modular, that's great, everything about storage
goes in com.xpn.xwiki.store and there are nice interfaces that abstract
the underlying storage for the rest of the world.
Sadly this is not true, for example com.xpn.xwiki.XWiki imports
XWikiHibernateStore, XWikiJcrStore, etc. So we loose the isolation.
Far worse, take a look at the methods:
getHibernateStore()
isSQL()
updateDatabase()
...
I mean why are those methods in XWiki.java instead of in some store
class. Those methods are encouraging bad code. Because
those methods are making assumptions about the XWiki storage.
And the problem with them is that they tend to promote
code like 3)
3) Reinventing OO:
I better explain this with an example, this is a method in XWiki.java:
public List getSpaceDocsName(String spaceName, XWikiContext context)
throws XWikiException
{
List docs = null;
if (getNotCacheStore() instanceof XWikiHibernateStore) {
docs = this.search("select distinct
doc.name from XWikiDocument doc",
new Object[][] {{
"doc.web",
spaceName}},
context);
} else if (getNotCacheStore() instanceof XWikiJcrStore)
{
docs = ((XWikiJcrStore)
getNotCacheStore()).getSpaceDocsName(spaceName,
context);
}
What are we doing here, we are doing a special case depending on
the store subclass... Sadly this is done in many places in XWiki,
so when I decide to add a new storage, I have to go to all of these
places and add another else if statement. No way!
Why not just do a dispatching call, that is what OO is for ;)
Ok, so I really think we should start fixing this for XWiki 2.0.
What I propose for the above points:
1) Instead of adding new methods to XWiki.java, try to fit
them in a more appropriate place or even create a new class.
2) Start working on real isolation. To support old versions,
mark the "bad methods" as deprecated and provide nice interfaces
that do not make assumptions about the implementation.
I'm happy, for storage I think Artem Melentyev is going to
improve his QueryPlugin during Soc, so this will be great ;)
3) Factor the hand-made dispatchs scattered in the XWiki codebase,
with dispatching.
I believe this is a first step before moving towards component based
architecture.
I have tried to tackle some of these problems, here is a patch.
Do not hesitate to criticize it, it is not supposed to be anything
else than a proof of concept because I think design issues should
really be discussed before doing any drastic changes.
I have tested it and believe it does not break anything, yet I
have a small doubt, maybe some XWiki expert can enlighten me:
in xwiki.setUserDefaultGroup() a call to saveXWikiObject hibernate
specific method is done.
The question is is the following equivalent and store agnostic ?
getDocument + addObject + saveDocument <=> getDocument + addObject + saveXWikiObject
If not how are we supposed to save the Object when we are not using hibernate ?
Thanks,
Pablo
Hi,
We need to improve our release notes for migrating from a 0.9 wiki to
1.0. I've seen a comment on
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWiki10RC3 that
it's not working as described.
It would help a lot if someone who's done it or who's doing it step
forward so that we can work together to make it work/document it.
Thanks a lot
-Vincent
I wish to contribute to xwiki. To begin with, I started configuring my development environment for xwiki. I have checkout out the xwiki project through svn (svn://sanjayjaiswar@svn.forge.objectweb.org/svnroot/xwiki/xwiki/branches/XWIKI_WYSIWYG_NEWARCHI).
I am using is MS Sql Server with Tomcat. I modified the hibernate.cfg.xml
<!-- SQL Server configuration -->
<property name="connection.url">jdbc:inetpool:inetdae7:stgdbsrv:1433?database=sjaiswar_xwiki_inf</property>
<property name="connection.username">sa</property>
<property name="connection.password">sjaiswar</property>
<property name="connection.driver_class">com.inet.pool.PoolDriver</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
The appropriate jdbc driver is also there in xwiki's lib directory.
I am getting the following database error.
14:08:40,409 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome XWikiHibernateBaseStore:updateSchema:340 - Failed updating schema: [STGDBSRV]The size (60000) given to the column 'XWO_CUSTOM_MAPPING' exceeds the maximum allowed for any data type (8000).
It seems as the seed data are not inserted, because of which there are other invoked errors.
The database driver is registered but there are datatype size limitation errors.
I hope the database schema file is xwiki_db.log. I am not even able to manually execute the queries in SQL Analyzer as the queries are not getting to the Query Analyzer due to oversize.
I am referring the Community resources & documentation. But then too can anybody help me how to begin with.
----------------------------------------------------------------------
LOG MESSAGES
14:08:40,409 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome XWikiHibernateBaseStore:updateSchema:340 - Failed updating schema: [STGDBSRV]The size (60000) given to the column 'XWO_CUSTOM_MAPPING' exceeds the maximum allowed for any data type (8000).
14:08:40,440 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:40,455 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:40,455 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:40,455 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
14:08:40,471 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:40,471 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:40,471 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:40,471 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
14:08:40,471 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:40,471 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:40,471 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:40,471 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
14:08:40,487 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:40,487 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:40,487 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:40,487 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
14:08:40,549 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:40,549 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:40,565 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:40,565 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
14:08:40,643 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:40,643 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:40,643 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:40,643 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
14:08:42,424 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome XWikiHibernateBaseStore:updateSchema:340 - Failed updating schema: [STGDBSRV]The size (60000) given to the column 'XWO_CUSTOM_MAPPING' exceeds the maximum allowed for any data type (8000).
14:08:42,424 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 208, SQLState: S0002
14:08:42,424 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Invalid object name 'xwikidoc'.
14:08:42,424 WARN http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:71 - SQL Error: 8180, SQLState: 01000
14:08:42,424 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome JDBCExceptionReporter:logExceptions:72 - [STGDBSRV]Statement(s) could not be prepared.
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.CalendarEvent
Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.CalendarEvent
Wrapped Exception: Error number 3212 in 3: Exception while loading archive -237,561,194
Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocumentArchive#-237561194]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:314)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:891)
at com.xpn.xwiki.plugin.calendar.CalendarPlugin.getCalendarEventClass(CalendarPlugin.java:84)
at com.xpn.xwiki.plugin.calendar.CalendarPlugin.init(CalendarPlugin.java:293)
at com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:132)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:71)
at com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:97)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:709)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:663)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:566)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:281)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:382)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
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 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:346)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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(Unknown Source)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception while updating archive XWiki.CalendarEvent
Wrapped Exception: Error number 3212 in 3: Exception while loading archive -237,561,194
Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocumentArchive#-237561194]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:249)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:239)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:891)
On May 1, 2007, at 5:13 AM, David Ward wrote:
> Author: dward
> Date: 2007-05-01 05:13:01 +0200 (Tue, 01 May 2007)
> New Revision: 3053
>
> Added:
> xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Coll_Templates/
> xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Coll_Templates/
> s2ZxMIMgmMrQFl7q
> Log:
> - Joshua wants this template to be committed
I love those commit comments :)
-Vincent
Hi all,
I'd like to change the way the XML version of an XClass looks, because the
current version lacks XML design patterns ( http://www.xmlpatterns.com/ )
compliance, is not extensible and not intuitive enough. The changes will
preserve backwards compatibility, meaning that old XML classes will still be
recognized, but will be replaced with the new XML structure when changed. I
think this change is safe, as the only thing the XML version should be used
for is serialization/deserialization, so in general no other code or user
should use the raw XML.
Here is a proposed structure, illustrated by an example:
<xclass version="1.1" name="XWiki.XWikiPreferences">
<meta>
<customMapping>internal</customMapping>
<defaultViewSheet>XWiki.PreferencesSheet</defaultViewSheet>
<!-- empty fields like customClass, defaultWeb, validationScript, etc. will
not be written in the XML, as they only consume space. -->
</meta>
<properties>
<property name="admin_email">
<prettyName>Admin eMail</prettyName>
<customDisplay></customDisplay>
<validationRegExp></validationRegExp>
<unmodifiable>0</unmodifiable>
<size>30</size>
<name>admin_email</name>
<number>14</number>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</property>
</properties>
</xclass>
WDYT?
Sergiu
--
http://purl.org/net/sergiu
Hi XWiki developers,
Till now I have been using mostly the Wiki editor of XWiki. Probably
because I'm too used to the wiki syntax and I find it faster. However
our WYSIWYG editor is a very very key feature of XWiki (users need it
and use it - They don't usually use the wiki editor, it's mostly
developers who uses it) and I suspect most of us developers are using
the wiki editor as I've been doing. As we don't have automated
functional tests for the WYSIWYG editor yet, it means we're bound to
find regressions to it... We're also bound not to fix little
usability problems fast enough as we're not using it.
Thus starting from today I'll start using the WYSIWYG editor on
xwiki.org whenever I have to make some change and report on JIRA or
here when I find issues. I'd like to propose that xwiki developers
try doing this too as much as possible. This should allow us to
improve it quickly.
WDYT?
Thanks
-Vincent
Thank you all very much for your quick response. I will try to do as suggested and hope it will work right for me. Thank you once again Vincent, Sergiu and Stephane.
And yes, I will continue this post on xwiki-users, if neccessary, as Stephane said.
Evelina Slatineanu
The XWiki development team team is pleased to announce the
availability of the 1.0 RC 3 release.
Go grab it on http://www.xwiki.org/xwiki/bin/view/Main/Download
This release is planned to be promoted as the final 1.0 release next
week if no critical bug is found till then.
New in this release:
Bugs fixed:
* Filter conflict: external links can be rendered two times. This
fixes a problem with some absolute URLs in wiki pages that make XWiki
hang.
* The link to the user profile is broken for non-local users
* Links to virtual wikis broken when using XWiki behind a proxy
* The top menu entry shadow disappears when hovering
* Generated PDF loses paragraphs
Improvements:
* Make password type HASH by default
IMPORTANT: XWiki 1.0 RC 2 and RC 3 fix an important security issue in
past releases where passwords were stored in clear in the database.
Passwords are now hashed. If you are upgrading from a previous
version, any new user or any password update will automatically get
the password hashed. However existing users who do not change their
passwords will still have their passwords in clear in the database.
Thus, we are providing a tool to automatically hash all passwords
from an existing database.
See the full release notes on http://www.xwiki.org/xwiki/bin/view/
Main/ReleaseNotesXWiki10RC3
Enjoy
-The XWiki development team
Hello,
I have the following question regarding relationing 2 classes in xwiki. I made a class Person with 2 properties (firstName, lastName) and a class Media with a prop. (title) and then I made an object "Richard Gere" of class person and 2 objects "Pretty Woman" and "Autumn at New York" of class Media. Now I would like to link somehow the 3 objects, i.e to say that Richard Gere played in "Pretty Woman" and also in the other movie (media). How can I do that? I don't seem to understand how to link the already created objects one with another. For instance, I cannot create another class with 2 properties, one of type Media and one of type Person, because these types don't appear under "Type" on "Add Property" panel.
Please help me understand how can I do that in xwiki.
Ps. I heard something about attachments but I don't really understand how...
Thank you.
Evelina Slatineanu
(sorry forgot the subject in my previous email)
Hi everyone,
I've staged the RC3 release on http://www.xwiki.org/10rc3/
It would be nice if some of you could quickly try it out (we'd like
to release ASAP) and let us know if it's working as expected. Once we
get a few confirmations we'll officially release it. We'd like to do
this tonight so that we can leave some time for users to install RC3
before we declare it the 1.0 finale version on next wednesday.
You can check the release notes on
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWiki10RC3
Thanks a lot
-Vincent (on behalf of the XWiki dev team)