GNOME Bugzilla – Bug 141257
Export as older Planner/MrProject versions.
Last modified: 2004-12-22 21:47:04 UTC
When you upgrade to the new planner versions AND if its a new version that changes the DTD then a old Planner won't be able to open any files that have saved by the new Planner version. When on a small site then you can flash-upgrade the whole site , but on a large organisation this just isn't really possible. Whats required is a way of exporting to an old Planner version. This really is an export as (in many cases) there will be loss of data (e.g. our new planner v0.12 will read and save Notes, Priority and the new Short name (nicknames). We need to really make it obvious that you're doing is potentially a bad thing and warn as to whats going to be lost (which is unique). We could thus have ... Export To...--> HTML Export To...--> Planner (pre-0.12) Export To...--> MPX Microsoft Project Export To...--> OpenOffice Calc/Writer Export To...-->... ...and so on.
Looks like its easy to add a new writer with imrp_application_register_writer () in mrp-xsl.c and have the XSL do the donkey work on the export ...just like it does with the HTML. This should be part of 0.12 release really IMHO.
Finished patch OK - working on the stylesheet. This is the key component to making this work anyway :) ..shouldn't be too hard, though my XSL is rusty a bit.
I agree that we need to add export to openoffice, the patch in http://bugzilla.gnome.org/show_bug.cgi?id=129146 just needs to be hooked up. For exporting to older planner versions, the list of versions could grow pretty big if we are to add an entry for each version. We should have "Save as 1.0" in 1.1, but do we really want it now? 0.x is still a development branch and we don't make any backwards compatibility promises. Since 1.0 is pretty close, I'm not sure it's worth it to add this.
We could add this and keep it throughout 0.x, so we have only one export to mrproject 0.10 (planner 0.11) and keep that as a reference point. Maybe this is what you had in mind.
Yes ... it was to keep existing (MrProject/pre-0.12) users happy. If you have a suitable OpenOffice XSL file that transforms Planner -> XSL I can add the writer for that too.
Patch sent to dev list. It tests OK on my system.
Updated patch sent to Planner-dev for review.
Committed with some tweaking (e.g. removed the dialog and used a file selector directly, fixed the placeholder).