Is it possible to create collapsable sections on a wiki-page? (collapsable
just like the panels you can add to your wiki).
I think it would be realy cool to have this feature. People can just
collapse sections and "browse" quicker to the information they seek on a
large wiki-page.
WDYT?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Collapsable-sections-on-a-wiki-page-tp758…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I wonder if they are some specific recommendations, in addition to
what's described in [1] and [2] ?
My particular use-case, is to know if there is such a rule as to
create one maven module for one xwiki component, or if several
components can be grouped in the same maven module.
Detailed description: for the xwiki-contrib-mailarchive-api, I started
from a monolithic class (@Component), then I started splitting it up
in several classes. While each of these sub-groups could be considered
components (highly related to the mail archive use-case, ie not
particularly re-usable), for now their life-cycle is managed by the
main Component (ie if one of them needs a query manager, it is not
injected by xwiki framework, but provided to it by the main
Component).
Would it be recommended to move to a whole component architecture, and
make all these sub-components Components managed by xwiki framework ?
Are there any limitations (perfs...) to do it that way ?
I'm pretty sure it's obvious to xwiki devs, but I prefer to ask.
Br,
Jeremie
[1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
[2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module
Hi everyone,
i just created my own farm and try to build a template wiki which i
can use for upcoming wikis.
now i got some problems with the configuration.
after searching for a menu bar like on xwiki.org i found the extension
which is what i was looking for.
http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wi…
if i go to the main wiki i can use this menu and it works..but on my
subwiki it wont work..
hopefully someone is more experienced in running a farm and culd help me out.
i dont really know where to start now because i checked the rights and
i think its fine.
thanks so far and regards
Niko
Hi All,
Two WYSIWYG editors were included in XWiki -- tinyMCE and GWT-based.
I understand that
1. tinyMCE was used at the very beginning, and later GWT-based was
used to replace tinyMEC because tinyMCE was buggy, and its performance
was not good (at the time)
2. the version for tinyMCE included in XWiki 4.1.4 is 2.0.6.1 released
on 2006-05-04 ( I checked the code ), and the latest version is 3.5.7
release on 2012-09-20.
My questions are:
1. have any one revisit later release of tinyMCE, since lots have
changed over the 6 years?
2. for the GWT-based WYSIWYG solution, is it developed by XWiki? and
is there a way that i can get WYSIWYG related codes only, and
integrate it into one of our internal project?
Thank you very much!
Ray
Hi, Andreas,
See below,
Tue, 18 Sep 2012 15:36:15 +0200 от Thomas Mortagne <thomas.mortagne(a)xwiki.com>:
>On Tue, Sep 18, 2012 at 2:20 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> Hi Dmitry,
>
>
>
> Thanks for your inputs! See below.
>
>
>
> On Sep 18, 2012, at 2:10 PM, Dmitry Bakbardin <haru_mamburu(a)mail.ru> wrote:
>
>
>
>> Hi, Vincent,
>
>>
>
>> My 10 coins to the suggested topic :-)
>
>>
>
>> 1. New Access Rights management system. There are a lot of weak points already known. Probably, it's time to review this.
>
>
>
> Have you been able to play with it already? Would be great to provide feedback and details. I'm sure Denis would love some feedback.
>
>
Andreas too ;)
>
>
Do you actually know there is a new right management system ? It's not
>
clear in your question if you talk about introducing a new right
>
management system or using more the new one.I mean situations like
http://jira.xwiki.org/browse/XWIKI-2184 and
http://jira.xwiki.org/browse/XWIKI-6987
Probably I missed something in the roadmap and release notes, but I didn't see it fixed. And these reports were not the only "bugs" found as far as I remember mailing lists conversations. All of them required brand new system and Vincent said, that these changes are planned after comprehensive discussion and voting in futher releases. So, I mean BRAND NEW system that acts as expected, e.g. user with edit rights is in the "god mode" as to the page. I expect edit rights means edit page, but not access rights change. Access rights looks more admin function. And so on. IMHO it worth discussion.
>
>
>
>
>> 2. Second level XWiki virtualization http://jira.xwiki.org/browse/XEM-207
>
>>
>
>> 3. Add WYSIWYG's editor logic while adding the link Space -> Page -> Anchor on the page http://jira.xwiki.org/browse/XWIKI-4084
>
>>
>
>> and the same in XEM Environment: Workspace/Virtual Wiki -> Space -> Page -> Anchor
>
>> http://jira.xwiki.org/browse/XWIKI-7483
>
>>
>
>> 4. WebDAV access to deleted attachments http://jira.xwiki.org/browse/XWIKI-6989
>
>
>
> So you're using XWiki WebDAV feature ATM?
>
>
>
>> 5. Rebuild Translation System and add possibility to translate not only page content, but objects' content (and field names) also.
>
>
>
> Just on this point, we're planning to work on this in XE 4.3 in the coming month.
>
>
Except for the object content translation part which has more to do
>
with the model and is not going to change very soon. Note that fields
>
names are already translatable, for this you can use the id <class
>
full name>_<field name> like in "Blog.BlogClass_title" for the title
>
field name of a blog object.
>Looks disaster for me :-)
Let's overview simple usecase:
- I buld FAQ (or something like it) in English with Application within minutes
- I want to make it multilingual. Looks like I'm stuck by default: "not going to change very soon" :-(
- I see the only "human-friendly" option to modify default scripting, produce templates for each language, then build pages like <PageName>_<Language> and load required page depending on requested language. I didn't make it like this yet, but if it is "not going to change very soon", I'd consider this way as an option to make application running in multilanguage environment. I understand, that this is not the best solution, but as far as I understand XWiki - it should work.
>
>
>
>> 6. Evolve filestorage system from "experimental" to all-kind-production-ready and make it more or less comprehensive:
>
>> - for example, add possibility of XWiki clustering and automatic attachments synchronization while FS is on.
>
>> - to configure path to store attachments for each XWiki/virtual wiki/workspace/space separetly.
>
>> - fix current bugs (like http://jira.xwiki.org/browse/XWIKI-6917) and probably add some other fatures :-)
>
>
>
> Yeah I also think we need Caleb to work a bit on this so that we could call it production-ready ;)
>
>
>
>> 7. Smooth upgrade system (to make it look more like linux upgrades): upgrade AND KEEP all XWiki customization with minimal manual config files comparison and reediting of customized pages inside XWiki.
>
>
>
> Yep, we're working on this one (XAR upgrades). You should see some first version with XE 4.2 when it's released next week. Next step is to tackle WAR and config file upgrades indeed.
>
>
Note that for the server side (WAR and configuration) you have the
>
Debian package (see
>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT)
>
that can help a lot since apt/dpkg is taking care of configuration
>
file comparison/merging. But that's only for Debian based system of
>
course.
>
>
For the XAR part as Vincent said we are working on it and you get a
>
first version of an install/upgrade Wyzard for it in the coming 4.2.Thanks a lot. I was going to set up new server soon. Migration to Debian looks fine for me in this case. :-)
Looking forward to 4.2. It would be "admin-rescue" release :-))))
>
>
>
>
>> 8. Add Space -> Subspace -> Page logic to XWiki hierarchy to build "trees" instead of "horizontal" set of spaces.
>
>>
>
>> 9. Extend TOC macro to logic: ...wiki1:Space1.Page1, wiki2:Space2.Page2... to include TOCs of separate pages inside current TOC.
>
>>
>
>> 10. XWiki Native support for mobile users (Skins, ColorThemes for all kind of mobile users bundled with XE/XEM)
>
>
>
> Ludovic has a pull request for improving mobile skin support for XE 4.3 but probably not to the extent you're interesting in at the moment.
>
>
>
> Thanks, keep the ideas coming. No promise that they'll be implemented but the more people who want the same thing the more weight it has. And developers are reading this!
>
> -Vincent
>
>
>
>> Hope it helps :-)
>
>>
>
>> Kind Regards,
>
>>
>
>> Dmitry
>
>>
>
>>
>
>> Tue, 18 Sep 2012 08:58:04 +0200 от Vincent Massol <vincent(a)massol.net>:
>
>>>
>
>>>
>
>>>
>
>>
>
>>
>
>>>
>
>>
>
>>
>
>>
>
>>> Dear XWiki lovers ;),
>
>>>
>
>>>
>
>> We're getting close to the end of the 4.x cycle which is about to be finished with XWiki 4.5 around end of January and we need to start brainstorming about the 5.x cycle (1 year duration from Feb 2013 to Jan 2014).
>
>>>
>
>>>
>
>> * 3.x was about "Building Apps and Distributing them" (priority 1) and "Polishing"
>
>>>
>
>> * 4.x was about "Ease of use" (priority 1) and "Quality"
>
>>>
>
>>>
>
>> So what would you like to see in the coming year?
>
>>>
>
>>>
>
>> You can suggest both general themes and specific items.
>
>>>
>
>>>
>
>> Thanks
>
>>>
>
>> -Vincent
>
>>>
>
>>>
>
>>
>
>>
>
>>
>
>>
>
>> Kind regards,
>
>>
>
>> Dmitry
>
>> WebDAV access to deleted attachments
>
>
>
> _______________________________________________
>
> users mailing list
>
> users(a)xwiki.org
>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
--
>
Thomas Mortagne
>
Thank you for good news and excellent work.
Kind regards,
Dmitry
Hi.
I'm trying to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Appli…
. It works almost fine, but I cannot find out how to create document
structure exactly as I need.
I've created three pages in Sandbox (T1, T2 and T3) with the following
content (xwiki source):
T1:
= T1-1 =
T2:
= T1-2 =
T3:
= T1-3 =
(T1 stands for "Title1" heading).
Each one of them has 'Sandbox.WebHome' as their parent.
When I create Multipage export (html or pdf), then in resulting document
heading levels are being changed. This is HTML output:
<h1 id="HT1-1"><span>T1-1</span></h1><h4 id="child_1543277317"><span>T2</span></h4><h5 id="HT1-2"><span>T1-2</span></h5><h4 id="child_1543277318"><span>T3</span></h4><h5 id="HT1-3"><span>T1-3</span></h5>
Is there any way to keep the original heading levels intact?
TIA,
R.
Hi,
I'm trying tom igrate an xwiki installation at version 2.4 to the latest
debian package (4.1.4).
This is on Tomcat 7 and Mysql 5.5 with Oracle Java 6 update 34.
I get the following error:
2012-09-17 18:03:32,895 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Running migration [R40000XWIKI6990] with version [40000]
2012-09-17 18:03:33,014 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 document IDs to be converted.
2012-09-17 18:03:33,144 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 object IDs to be converted.
2012-09-17 18:03:33,260 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 3 custom mapped classes to be processed.
2012-09-17 18:03:34,517 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 14750 document statistics IDs to be converted.
2012-09-17 18:03:34,535 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 83 referer statistics IDs to be converted.
2012-09-17 18:03:34,852 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 36076 visit statistics IDs to be converted.
2012-09-17 18:03:34,897 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document IDs to convert, skipping.
2012-09-17 18:03:34,897 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No object IDs to convert, skipping.
2012-09-17 18:03:34,898 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Converting 14750 document statistics IDs in 1 tables...
2012-09-17 18:03:38,742 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] WARN o.h.u.JDBCExceptionReporter - SQL Error: 1062, SQLState: 23000
2012-09-17 18:03:38,742 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] ERROR o.h.u.JDBCExceptionReporter - Duplicate entry '5441591690732251370' for key 'PRIMARY'
2012-09-17 18:03:38,856 [https://par-wiki-1.clear2pay.com/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration R40000XWIKI6990 failed
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:111) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:621) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:546) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:493) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:421) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:666) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:813) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:746) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:736) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1438) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1481) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2215) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2247) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1114) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:790) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.<init>(XWiki.java:738) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:399) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:486) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [tomcat-servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [tomcat-servlet-api-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.1.4.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-catalina-7.0.28.jar:7.0.28]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) [tomcat-coyote-7.0.28.jar:7.0.28]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) [tomcat-coyote-7.0.28.jar:7.0.28]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote-7.0.28.jar:7.0.28]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_34]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_34]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_34]
Caused by: com.xpn.xwiki.XWikiException: Error number 3005 in 3: R40000XWIKI6990 migration failed
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute native bulk manipulation query
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1299) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 61 common frames omitted
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute native bulk manipulation query
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1214) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1322) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration.hibernateMigrate(R40000XWIKI6990DataMigration.java:1286) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 62 common frames omitted
Caused by: org.hibernate.exception.ConstraintViolationException: could not execute native bulk manipulation query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:219) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractBulkIdConversionHibernateCallback.executeSqlIdUpdate(R40000XWIKI6990DataMigration.java:531) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$7.doBulkIdUpdate(R40000XWIKI6990DataMigration.java:1294) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractBulkIdConversionHibernateCallback.doUpdate(R40000XWIKI6990DataMigration.java:356) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration$AbstractUpdateHibernateCallback.doInHibernate(R40000XWIKI6990DataMigration.java:218) ~[xwiki-platform-legacy-oldcore-4.1.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1208) [xwiki-platform-legacy-oldcore-4.1.4.jar:na]
... 64 common frames omitted
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '5441591690732251370' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_34]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) ~[na:1.6.0_34]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_34]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) ~[na:1.6.0_34]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.Util.getInstance(Util.java:386) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333) ~[mysql-connector-java-5.1.16.jar:na]
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318) ~[mysql-connector-java-5.1.16.jar:na]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.3.jar:1.3]
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
... 71 common frames omitted
How can I proceed with the migration ?
Should I try to migrate from 2.4 to another version first ?
Philippe
Dear XWiki lovers ;),
We're getting close to the end of the 4.x cycle which is about to be finished with XWiki 4.5 around end of January and we need to start brainstorming about the 5.x cycle (1 year duration from Feb 2013 to Jan 2014).
* 3.x was about "Building Apps and Distributing them" (priority 1) and "Polishing"
* 4.x was about "Ease of use" (priority 1) and "Quality"
So what would you like to see in the coming year?
You can suggest both general themes and specific items.
Thanks
-Vincent
Hello,
>What happens on Preview? Do you see the modified content or the
>original one? What happens on Save & Continue? You can check with
>Firebug (or any other similar tool) if the modified content is
>submitted (check the POST parameters) and if the AJAX request is send
>to the right place (check request URL).
>Note that the edit buttons should behave the same in WYSIWYG and Wiki
>edit modes. Check that the wiki edit mode works fine.
Preview and Save&Continue just redirect me to the original content (without
any change). The Edit mode had the same result, changes weren't saved (and
wasn't able to preview them).
Thanks for your response.
Sergio Carrasco