Hi everyone,
I'd like test the waters and see what you'd feel about moving XWiki's source to GitHub.
Pros:
* Use Git instead of Subversion. Which means a better SCM especially wrt branching / diagnosins bugs (bissect) just to name 2
* More contributors since it's easy to fork/branch and we can see contributor's patches (pull requests) and apply them way more easily than with subversion
* More collaboration in general between committers and contributors
* A better SCM web site (check github.com - offers graphs/stats, views of forked/branched repos, etc)
* Good buzz for us (tech marketing)
* GitHub provides SVN integration (see https://github.com/blog/644-subversion-write-support) which means we can continue using SVN tools such as svnsearch, ohloh, our IDE integrations, etc
* Less admin work and less maintenance since this is handled by GitHub itself
* Good uptime on GitHub (probably at least as good as ours if not better)
* Improved developer spirit since most devs wants to start using Git
Cons:
* Have to learn a new SCM/new tools
* No integration of users with xwiki.org
* Import/reorg work to be done obviously
* Reliance on an external provider (but seen the other OSS projects there I'm not worried and there's no lock in since your have the repos spread on all users' machines)
IMO the pros heavily outweight the cons.
WDYT?
Thanks
-Vincent
Hi Devs,
I would like to improve Wiki Importer sandbox project, by making few changes
to the design to widen it scope of usage, and make sure its useful to the
community.
In the existing one (
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-wikiimporter/), I
have implemented import from MediaWiki XML.
Limitations:
* listener implementation is tightly coupled with storage ( Importing/Saving
pages or other objects into XWiki).
* listener doesnt include all the xwiki related events.
* No separate storage component, that can enable both imports and exports (
e.g. export the parsed content into XAR ).
Existing documentation on WikiImporter :
http://gsoc.myxwiki.org/xwiki/bin/view/Import+Export+other+wikis/WebHomehttp://gsoc.myxwiki.org/xwiki/bin/view/Import+Export+other+wikis/Wiki+Impor…
Can i move the design documentation to Design Proposal wiki.?
As Thomas suggested, it will be good to rename wiki importer to converter as
it is not limited to importing only, So am planning to change it to
WikiConverter.
WDYT?
Arun Reddy
Arun Reddy
Hi, everyone:
I am James Xu, and now I am an undergraduate student. I would like to
join GSoc this year. I am interested in the idea "Auto Completion in
Content Editors".
I have more than 4 years web developemnt, php for 4 years, and java
for 3 years. For java web development, I used
SSH(struts2+spring+hibernate) often,
and I also have project experience using velocity as view layer.
Beside, I am very interested in front-end design, and have more than 3
years experience in javascript development, I am the one of the early
user of
dojo since the 0.9 version, and I am now using jquery a lot, I am also
a big fans of google, I start getting to know GWT this year, but I
think I would
be a quick learner based on the kownledge gained from other tools and
my own experiences.
Though I don't have experience in developing rich text editor before,
but I had used a lot of them, and also I have done one project related
to
auto completion for facted search input form of the resource search system.
I read some documents of the idea page, I am attracted by the
autocompletion functions for a web rich text editor, I think we can
refer to the eclipse
HTML editor, when you first typing "<", there will be a suggest box
for next input of html tags, and it will be narrowed when you type
more. I think
it can be applied to xwiki editor for various syntax.
For example, if user type"{{", then it should suggest him a list
like"code,box..."which are the macro tags started with "{{", when user
type "enter",
then it will insert to the text area the following:
"{{box cssClass="" title="" width=""}} {{/box}}"
I think this will save the time for user to type all the macro tags by them own.
Another useful function could be the same as described in the idea
page, when user type "[[" it will auto suggest the documents of the
wiki.
However, some of the xwiki syntaxes are different from the enclosure
style of HTML tags, and some function looks very intuitive, it will be
very
confusing when using it, so I should think more about it.
Hope you all can give me some tips to complete this idea. thank you very much
and I would like to participate in GSoC-2011. I am mainly
interested in contributing to the project idea "Mobile Skin for XWiki
Enterprise". I have been working on web development for the past two years
and developed a couple of websites. I have a good knowledge of HTML,XHTML
and CSS , I also know PHP and am learning Javascript. If someone could help
me regarding this , I would be really thankful.
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
Hey
I am Supreet and I would like to participate in GSoC-2011. I am mainly
interested in contributing to the project idea "Mobile Skin for XWiki
Enterprise". I have been working on web development for the past two years
and developed a couple of websites. I have a good knowledge of HTML,XHTML
and CSS , I also know PHP and am learning Javascript. If someone could help
me regarding this , I would be really thankful.
Hi,
I've tried the dashbord on 3.0 snapshot and could not make the "Add
Gadget" function work on an empty dashboard.
From what I see the issue seems to be in the wysiwyg code. I got the
dialog box from the wysiwyg, when clicking on Insert Gadget" I got an
exception:
uncaught exception: Class$dF: One or more exceptions caught, see full
set in UmbrellaException#getCauses
at
function nr(){try{null.a()}catch(b){return b}}
This issue seemed to only happen with an empty dashboard macro (with not
gadget yet added).
I think we need to work on two things for each feature that we are
developping:
1/ Having a status of where we are:
In the case of Dashboard, I think that's updating this page:
http://dev.xwiki.org/xwiki/bin/view/Design/Gadget+Scenarios+Prioritized
2/ Write a test plan and have Sorin include the testing of new features
in his testing.
For that he needs to know how to test and what is supposed to be
there/not there.
Concerning the development priorities, I think for the next period of
development on the dashboard we need to focus on wiring the UI for
"beginners", making it easy for them to create their first dashboard. In
my view this is in priority:
- Create page with a dashboard macro (In the Add Menu in XE)
- Go to edit more (I'm still convinced that we need the dashboard
editing in "view" mode and not in "inline" mode)
- Add a column in your dashboard
- Editing a dashboard
Also for the 3.1 timeframe I think we need to have some brainstorm to
add some more "Dashboard" friendly macros/gadgets to make dashboards
more usefull and interesting for users, but that's another story.
Right now I think the most important is that we agree on the priorities
for the next step and that for 3.0 we have a simple but coherent
dashboard feature.
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi,
Right now logs go to a file on the filesystem. However this is not right since most logs are application logs and should be visible to wiki developers. For ex, if I use a deprecated API, I need to see it. It shouldn't go to admins only and shouldn't "pollute" the system logs.
Hence I believe we need a Log Console available somewhere (we could make it avail in the Admin UI FTM).
I'd like to discuss an implementation idea I've had this morning:
* Send application logs as Observation Events and make the available in the Activity Stream (AS)
Pros:
* Infrastructure already in place
* Fits the AS goal: temporary information and is purged regularly
* (Of course the Activity gadget would not display them)
* They can be sent remotely as remote events in the future; this allows implementing a remote console to monitor an XE or XEM from a distance
Cons:
* We need to assess the performance risk and more generally we need to make the AS scalable (I don't think it is now).
* 2 ideas for scaling up the Observation/AS:
1) Have the Observation Manager save events to be notified into a Queue and have one or several separate threads take those events and send them to listeners. Right now if one listener takes time in its onEvent() method it slows down the whole chain since they are called serially. Note that if we want even better scalability, the Queue could be stored externally to XWiki (a JMS queue for ex) and scalability can be achieved by app server instances listening to this queue to process it.
2) Have a way to tell the AS what storage to use for specific Event Types. For example the AS could use an in-memory storage for Log Events while using a DB storage for other events. This would be useful since I don't think we really need to store logs in the DB. Note that the cache could be indexed on the message so only one instance of each log message is preserved (no need for dups), possibly with a counter to mention how many of them there were (that's an optimization).
I believe 2) might be enough for performances in a first implementation of the log console.
WDYT?
Thanks
-Vincent
Hi Sergiu,
I would have thought that users would only need the delete (or edit but I prefer delete) rights to remove comments.
Could you explain the rationale?
BTW for logged in users, what do they need now?
Thanks
-Vincent
On Mar 18, 2011, at 12:36 AM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2011-03-18 00:36:44 +0100 (Fri, 18 Mar 2011)
> New Revision: 35698
>
> Modified:
> platform/web/trunk/standard/src/main/webapp/templates/commentsinline.vm
> Log:
> XWIKI-4842: Issues on Preview/Edit Comments for Unregistered Users
> Guests should not be allowed to delete comments unless they have admin rights.
>
> Modified: platform/web/trunk/standard/src/main/webapp/templates/commentsinline.vm
> ===================================================================
> --- platform/web/trunk/standard/src/main/webapp/templates/commentsinline.vm 2011-03-17 23:29:08 UTC (rev 35697)
> +++ platform/web/trunk/standard/src/main/webapp/templates/commentsinline.vm 2011-03-17 23:36:44 UTC (rev 35698)
> @@ -151,7 +151,7 @@
> <span class="commenttool commentedit"><a class="edit" href="$doc.getURL('view', "viewer=comments&number=${comment.number}&xredirect=$xredirect")" title="$msg.get('core.viewers.comments.edit')">$msg.get('core.viewers.comments.edit')</a></span>
> #end
> #end
> - #if ($hasEdit)
> + #if ($hasAdmin || (!$isGuest && $hasEdit && $comment.author == $xcontext.user))
> <span class="commenttool commentdelete"><a class="delete" href="$doc.getURL('objectremove', "form_token=$!{services.csrf.getToken()}&classname=${xCommentClass}&classid=${comment.number}&xredirect=$xredirect")" title="$msg.get('core.viewers.comments.delete')">$msg.get('core.viewers.comments.delete')</a></span>
> #end
> </span>## commenttools
Things noticed that we should improve
==============================
1) When the apache server on myxwiki.org is down there's no maintenance page appearing. We should get a nice "maintenance in progress" page.
2) When doing upgrades it's best to plan it a bit ahead of time and notify of the upcoming upgrade using the myxwiki twitter account/mailing list
3) In the upgrade notes, I'd like to suggest that we do things differently:
- before restarting tomcat, stop apache (after disabling the crontab)
- create a tunnel to your local machine: ~C + -L8080:<ip>:8080
(you get the ip using /sbin/ifconfig)
- start tomcat
- ensure it all works fine
- upgrade the XARs
- verify all is ok
- restart apache
4) Right now port 8080 is open on apache, this needs to be closed
5) we should subscribe the notifications list to the main wiki on myxwiki.org to perform community checking of the wiki
Who can help perform 1), 4), 5)? I can do 3).
Problems fixed while doing the upgrade
===============================
I noticed that one user page was called frequently in the logs and after checking it had over 3K comments, all spams with lots of external URLs.
I removed this page but we need to watch out for pages giving xwik guest rights to edit/comment on them.
I hope this was the problem causing lots of downtime on myxwiki.org and poor perfs.
Thanks
-Vincent
Hi community,
Time flies when you're having fun, so we missed last week's Thursday
bugfixing day (which would have made it a monthly event). So, tomorrow
there will be another bugfixing day, in preparation for a clean 3.0 release.
As usual, everyone is welcome to participate in bugfixing, but not only:
bug triage and bug reporting is also very much appreciated.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
LinkedIn
------------Arvind Gupta requested to add you as a connection on LinkedIn:
------------------------------------------
Guillaume,
I'd like to add you to my professional network on LinkedIn.
- Arvind Gupta
Accept invitation from Arvind Gupta
http://www.linkedin.com/e/3vasf0-glco4h7h-5q/9s_c-0fN05p6qjQq9meQgfVB/blk/I…
View invitation from Arvind Gupta
http://www.linkedin.com/e/3vasf0-glco4h7h-5q/9s_c-0fN05p6qjQq9meQgfVB/blk/I…
------------------------------------------
Why might connecting with Arvind Gupta be a good idea?
Have a question? Arvind Gupta's network will probably have an answer:
You can use LinkedIn Answers to distribute your professional questions to Arvind Gupta and your extended network. You can get high-quality answers from experienced professionals.
http://www.linkedin.com/e/3vasf0-glco4h7h-5q/ash/inv19_ayn/
--
(c) 2011, LinkedIn Corporation
On 03/16/2011 12:52 AM, Eduard Moraru wrote:
> I got fooled again by the SVN Application into losing the commit log.
Could it be related to the message size?
> Log was:
>
> WIKITHREEDOTO-22: Workspace directory for users willing to discover
> available workspaces
> - Implemented a livetable to browse workspaces with 'join' and 'leave'
> actions
> WIKITHREEDOTO-30: Users can join public workspaces
> - Users can join/leave a workspace from the workspace directory's
> livetable actions.
> WIKITHREEDOTO-20: Create workspace page in main wiki
> - Added WorkspaceClass to mark new wiki documents as workspaces
> - Showing owner selection only to admins since normal users should be
> owners of the new workspace by default
> - Used absolute references for initial user rights instead of changing
> the context database as a workaround for XAWM_139
>
> On 03/16/2011 01:51 AM, enygma (SVN) wrote:
>> Author: enygma
>> Date: 2011-03-16 00:51:41 +0100 (Wed, 16 Mar 2011)
>> New Revision: 35630
>>
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi devs,
I make a copy of a page (with attachments).
Then I edit the copy a couple of times.
At the end I delete the copy.
Then when saving the original page after editing - there is the
exception below.
As this happens now for the second time this looks like a bug to me.
Version is XWiki Enterprise 2.6.33065 <http://www.xwiki.org>
Unfortunately no newer version at hand - should I file it on JIRA anyway ?
This is the error while editing:
Detailed information:
Error number 3201 in 3: Exception while saving document xwiki:Shept.WebHome
Wrapped Exception: Error number 3211 in 3: Exception while updating archive Shept.WebHome
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)180ffce6[docId=-1734759207,version=74.1]]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:Shept.WebHome
Wrapped Exception: Error number 3211 in 3: Exception while updating archive Shept.WebHome
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)180ffce6[docId=-1734759207,version=74.1]]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:653)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1431)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:184)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception while updating archive Shept.WebHome
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)180ffce6[docId=-1734759207,version=74.1]]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:269)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:486)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1431)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:184)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)180ffce6[docId=-1734759207,version=74.1]]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1069)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1099)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:304)
at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:176)
at com.xpn.xwiki.doc.XWikiDocumentArchive.makePatch(XWikiDocumentArchive.java:139)
at com.xpn.xwiki.doc.XWikiDocumentArchive.updateArchive(XWikiDocumentArchive.java:255)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:263)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:486)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1431)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:184)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Wrapped Exception:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)180ffce6[docId=-1734759207,version=74.1]]
at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:309)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:1)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1063)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1099)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:304)
at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:176)
at com.xpn.xwiki.doc.XWikiDocumentArchive.makePatch(XWikiDocumentArchive.java:139)
at com.xpn.xwiki.doc.XWikiDocumentArchive.updateArchive(XWikiDocumentArchive.java:255)
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:263)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:486)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1431)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:162)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:184)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
thanks
Andreas
(moving to devs since it's an internal issue): the method XWikiServletResponse.setHeader was calling addHeader.
http://jira.xwiki.org/jira/browse/XWIKI-6106 is opened.
(it concerns the trunk as well).
Since I applied this fix on my development machine, I can set a cache-header!
paul
Le 14 mars 2011 à 14:47, Paul Libbrecht a écrit :
> as I am slowly realizing, there's no way to prevent the output of the following headers which basically say that no client or proxy caching should be done.
> I agree that the default policy should be to not cache but it should be possible to allow to cache.
>
> Even changing the header values with:
> $response.setHeader("Cache-Control","max-age=60, public")
> fails because it adds no-cache to the front.
>
> $reponse.setDateHeader("Expires",someDate) seems to work.
>
> This is quite odd I have to say.
> Should I hunt somewhere else?
> I fear I need to dig into the servlets.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 3.0 Milestone 3.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the last milestone before the 3.0 final release. It brings many
improvements and a bunch of new features. The highlights are:
* Dashboard editing UI
* Gallery macro and office presentation viewer based on it
* Search live suggestions
* User status updates and the ability to follow users
* Improved macro support in the WYSIWYG content editor
* Rendering and Commons top level projects
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise30M3
Thanks
-The XWiki dev team
Hello,
I followed build with eclipse from the tutorials.I want to modify a file
and then build the war file in order to deploy it with tomcat is this
possible?For the first step i just want to download the latest xwiki
enterprise sources and then build the war file.
thank you.
Hi devs,
I did not had much time to work on Extension Manager lately so you did
not seen much new things.
I'm concentrating again on it and here is what you can expect for 3.0M3:
* multiwiki support: it means that you can install an extension on
specific wiki(s) (even jar extensions)
* xar handler: the possibility to install/upgrade/uninstall a xar. It
will be only a first version here since it's a very big work.
** will contains:
*** import a xar into the wiki
*** the xar can have infinite number of pages and attachments,
it's just limited by the size of each attachment right now until the
storage API support fully streamed attachments
*** very limited upgrade: import add a new version to make sure to
not loose anything, there is no real merging handling
*** still experimental (not stable) API
*** still demo-like UI
I'm pretty much done with multiwiki support and import and currently
writing tests for it. Then I will add new feature in the UI.
The next step will be to concentrate on xar merging for framework side
and start sealing a bit more the API. Some work on the UI will
probably be done at the same time too.
Thanks,
--
Thomas Mortagne
Hi (Sergiu),
I think there are 2 things we absolutely need in the message stream (user status) implementation before we can release 3.0 final, ie so that it can be put in production:
* Ability to filter user statuses per wiki. On a XEM install a user status sent in a given subwiki shouldn't leak to another subwiki. This is required for example for myxwiki.org.
* Ability to remove a given user status. Imagine that we upgrade xwiki.org or myxwiki.org to 3.0M3 and someone registers and send a user status with some spam content... We wouldn't be able to remove it (except by having to go to the DB).
WDYT?
Thanks
-Vincent
Hi XWiki devs and users,
FYI, XWiki applied as a mentoring organization for Google Summer of
Code 2011 (http://socghop.appspot.com/). We have participated in
2005-2009, but we were not on the accepted organization list last
year. We have prepared and submitted yesterday an application for this
year's GSoC, and we'll be receiving a verdict from Google on March
18th (according to the timeline
http://socghop.appspot.com/document/show/gsoc_program/google/gsoc2010/faqs#…
).
Here is the list of possible student projects we've come up with so far:
http://gsoc.xwiki.org .
We're open to new project proposals, and we'll inform the community as
soon as we get an answer from Google regarding XWiki's acceptance in
this year's Summer of Code.