After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141257 - Export as older Planner/MrProject versions.
Export as older Planner/MrProject versions.
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
unspecified
Other All
: Normal enhancement
: 0.12
Assigned To: Lincoln Phipps
planner-maint
Depends on:
Blocks:
 
 
Reported: 2004-04-28 02:59 UTC by Lincoln Phipps
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lincoln Phipps 2004-04-28 02:59:39 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.
Comment 1 Lincoln Phipps 2004-04-28 04:18:55 UTC
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.
Comment 2 Lincoln Phipps 2004-04-28 07:52:50 UTC
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.

Comment 3 Richard Hult 2004-04-28 15:26:42 UTC
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.
Comment 4 Richard Hult 2004-04-28 16:19:09 UTC
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.
Comment 5 Lincoln Phipps 2004-04-28 16:27:14 UTC
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.
Comment 6 Lincoln Phipps 2004-06-02 07:57:21 UTC
Patch sent to dev list.  It tests OK on my system.
Comment 7 Lincoln Phipps 2004-06-20 11:34:28 UTC
Updated patch sent to Planner-dev for review. 
Comment 8 Richard Hult 2004-06-21 20:57:20 UTC
Committed with some tweaking (e.g. removed the dialog and used a file selector
directly, fixed the placeholder).