I see,
You are building 1.2 and the oracle hbm files are probably not up to=20
date for the 1.2 store changes.
You might want to try with 1.1 or help fix this. You can compare the=20
mysql hbm with the oracle hbm to see the missing tables.
From the log file: com.xpn.xwiki.store.migration.XWikiDBVersion is not=20
declared in the oracle hbm
Ludovic
Colin Tay a écrit :
> Hi,
>
> I am sure that i have change the hibernate config to use ORavle
> specific hbm files. The details of the log are attached below:
>
> ERROR store.XWikiHibernateBaseStore - Failed updating schema: 2
> ERROR store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translation is null
> ERROR store.XWikiHibernateBaseStore - Failed updating schema:
> ORA-00942: table or view does not exist
> WARN hql.QuerySplitter - no persistent classes found
> for query class: delete from com.xpn.xwiki.store.migration.XWikiDBVersion
> WARN query.HQLQueryPlan - manipulation query [delete
> from com.xpn.xwiki.store.migration.XWikiDBVersion] resulted in [0]
> split queries
> WARN action.RequestProcessor - Unhandled Exception thrown:
> class com.xpn.xwiki.XWikiException
> ERROR store.XWikiHibernateBaseStore - Failed updating schema: 2
> ERROR store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translation is null
> ERROR store.XWikiHibernateBaseStore - Failed updating schema:
> ORA-00942: table or view does not exist
> WARN hql.QuerySplitter - no persistent classes found
> for query class: delete from com.xpn.xwiki.store.migration.XWikiDBVersion
> WARN query.HQLQueryPlan - manipulation query [delete
> from com.xpn.xwiki.store.migration.XWikiDBVersion] resulted in [0]
> split queries
> WARN action.RequestProcessor - Unhandled Exception thrown:
> class com.xpn.xwiki.XWikiException
> ERROR store.XWikiHibernateBaseStore - Failed updating schema: 2
>
> and the list goes on.....
>
> I have also look into XWikiHibernateBaseStore file. In the
> getSchemaUpdateScript(Configuration config, XWikiContext context)
> method, the if(isOracle) {
> dschema = config.getProperty(Environment.DEFAULT_SCHEMA);
>
> always return a null value. Why issit so?
>
> Need your help!
>
> */Ludovic Dubost <ludovic(a)xwiki.org>/* wrote:
>
>
> Hi,
>
> Normally the schema should be created before calling this query.
> Don't
> you have more logs ?
> Did you change the hibernate config to use the Oracle specific hbm
> files ?
>
> Ludovic
>
> > Hi,
> >
> > I have successfully build Xwiki-1.2-SNAPSHOT and try to use it
> > on oracle database. I have also followed the instructions on
> >
> http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
> closely.
> > But error message were display instead as follow in the xwiki.log
> >
> > ERROR store.XWikiHibernateBaseStore - Failed updating schema: 2
> > ERROR store.XWikiHibernateBaseStore - While executing query: update
> > xwikidoc set xwd_translation=0 where xwd_translation is null
> > ................................
> >
> > To clarify, i understand that i need to create the database schema
> > manually but do i need to insert anything in the tables? Or else
> there
> > were be nothing show to the users?
> >
> > Need your guidances!
> >
> >
> ------------------------------------------------------------------------
> >
> > *Real people. Real questions. Real answers. Share what you know
> > *.
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
>
> --
> Ludovic Dubost
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> AIM: nvludo Yahoo: ludovic
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> ------------------------------------------------------------------------
> Yahoo! Movies
> <http://sg.rd.yahoo.com/mail/sg/footer/def/*http://sg.movies.yahoo.com>
> - Search movie info and celeb profiles and photos.
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
The XWiki development team team is pleased to announce the
availability of the 1.1 release of XWiki Enterprise.
Go grab it on http://www.xwiki.org/xwiki/bin/view/Main/Download
This release implements 298 issues since XWiki Enterprise 1.0 was
released less than 5 months ago.
Major changes:
* Improve default Wiki: better usability and better navigation
o Search improvements and result filtering
o Index page and Treeview page
o WYSIWYG improvements and bug fixes
* Full screen edition
* RTF exports
* Ability to enter comments on page modifications
* Visual difference improvements when comparing versions
* XMLRPC improvements
* XWiki Platform is GWT-ready
* Lucene experimental search
And many more… See the release notes for all details at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise11
Enjoy
-The XWiki development team
Hi Asiri/Tharindu,
I'd like to set a new target date for the XEclipse 1.0M2 release so
that we have an objective.
Could you please tell me what date would be reasonable, taking into
account your studies and such?
Thanks
-Vincent
Hi,
I'd like to promote 1.1RC2 as 1.1 final. There's a 1.1.1 on the way
if we require important bugs fixes. But I haven't seen important bugs
yet on 1.1RC2.
Here's my +1
Thanks
-Vincent
Hi,
Maintaining copyright statements in source file headers is a pain.
The ASF has solved this recently by removing copyright information
from headers. Their header is now:
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
The important line is "See the NOTICE file distributed with this work
for additional information regarding copyright ownership".
I propose that we do the same and have this new boilerplate:
/*
* See the NOTICE file distributed with this work for additional
information
* regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
And in the NOTICE file we would have:
"
This product includes software developed by XpertNet SARL and
individual contributors under the following copyright:
Copyright 2004-2007, XpertNet SARL, and individual contributors.
"
WDYT?
I'm not a lawyer so I have no idea if this is valid or not but it
looks sensible to me.
-Vincent
Hi,
I have re-written the Xwiki.CalendarSheet code to add the calendar event
object to $xwiki.getDocument("XWiki.CalendarSheet") rather than $doc
(reason being, I want to include it in other contexts/pages).
It works fine, until another user adds an event, then the events in the
calendar display disappear, and re-appear if I edit the page and make no
changes: oddly, the changes disappear for everyone and re-appear
globally too.
If I use my own account and add an even, there's no issue (im an admin,
my test account is a normal user: I have tried fiddling with the
rights).
Any help?
(code attached)
Hi,
I'm proposing to improve the generic install to add database
configuration setup:
1) include different database driver jars in the installer
2) have some installation panels to let the user choose the database
to use (using some combo box and fields to modify default DB values)
3) include the XAR in the installer
4) use the packager tool to import the XAR in the database at install
time (using the information provided in 2))
Note: I'd also like to modify the web/standard build so that we
release only a single WAR without database driver and without DB
configuration.
Advanced users will configure it manually and novice will use the
installer.
WDYT?
Thanks
-Vincent
I've entered two bugs (XWIKI-1734 and XWIKI-1735) which relate to
extending the Lucene Plugin search API.
I would like to try getting them into the 1.1.1 version.
The first is to allow Lucene to return the results in reverse order
(one of the results columns we want to sort by is reverse
alphabetical).
The second is to index the creation and modification dates of the wiki
pages (to allow "recently changed" type of searches limited by other
criteria).
The first is more important, but the second looks easy.
David
dward(a)curriki.org
--
Hi,
I'd like us all to welcome Marius Dumitru Florea who has joined the
XWiki dev community to work on a new GWT-based WYSIWYG editor. Marius
is very new to the XWiki team so I'd like all of us to support him
for this very important work.
This is really just the start of this project so we need everyone's
help in designing it and for providing feedbacks and ideas.
I've started a page on it there:
http://www.xwiki.org/xwiki/bin/view/Idea/NewWysiwygEditorBasedOnGwt
I'll we working with Marius on this for the time being and Jean-
Vincent will probably help us in the future too. And anyone willing
to help is most welcome.
As I've mentioned on that page we have 3 main issues with the current
WYSIWYG editor so it's time to start fixing them. The current Tiny-
MCE based editor as the following deficiencies:
* Slow
* Complex code using complex regexs. This leads to a fragility that
makes it break somewhere whenever someone adds a modification to it.
* Lots of bug reports consistently for the past year, showing a non-
optimal design
I'll kick-start the discussion with some open questions I've listed
on that page:
* Is there a GWT editor component we can/should reuse?
* Check WikiModel capabilities for conversions in both directions and
especially from HTML to wiki syntax.
* How to integrate WikiModel in the Rendering layer of XWiki?
* Is there any code to be salvaged from the work done by Christian
and Nam in that branch: svn+ssh://svn.forge.objectweb.org/svnroot/
xwiki/xwiki-platform/core/branches/XWIKI_WYSIWYG_NEWARCHI
If anyone has any insight on these questions, please speak up! :)
Thanks everyone,
-Vincent
Hi Thomas and everyone,
I've started reviewing the XEM code in SVN in preparation for the
1.0M1 release for the 17th and I have the following questions/remarks
(before putting them in JIRA):
1) Search.WebHome: This looks empty. Should it be removed or will
there be something before 1.0M1 is released?
2) The XE XAR overwrites the XEM XAR in the build. I think it should
be the other way around.
3) The XEM home page should be different than the XE one. It should
mention things specific to XEM.
4) The Quick Links panel should be specific to XEM.
5) I think several XE pages should be removed from the default XEM.
For example Photo Album is not something I'd think belongs to the XEM
Administrator page by default. It would be belong to a subwiki for
sure but not to the Admin one or at least not by default. This raises
the question: what is the XEM administrator wiki for? Only for
administrating subwikis or is it meant for other things too?
6) UserDirectory.WebHome is empty too
7) Utils space. Is that the right name for this space? From its
content it look like some Admin space.
8) UserDirectory space. Wouldn't it be shorter and nicer to name this
space: "Users" , and to name "Wikis" the space listing wikis instead
of "WikiDirectory"?
9) The WikiDirectory.WebHome page shows the following which doesn't
look very nice (especially the "listwikiempty" text):
Wikis
totalnumberofwiki : 0
createwiki
Search
listwikiempty
10) XEMAdmin.WebHome is empty
11) In XEMCode there's a XEMSkin document. Is it ready? If not we
shouldn't keep pages that are not going to be released in 1.0M1
12) XWiki.SearchResults is not used/
+ some other comments.
Generally speaking it seems to me the default XEM wiki is not ready
yet to be released.
Also it would be nice if XEM had a different visual identity than XE.
Do we have a skin in progress for it? Will it be ready for 1.0M1?
I'm pretty sure I must be missing something (maybe there's a patch
that hasn't been applied about XEM's XAR pages?)... :)
These are just a few questions to get us started towards the 1.0M1
release of XEM.
Thanks
-Vincent