DO NOT EDIT OR ANSWER THIS ISSUE. SEE THE ORIGINAL ISSUE INSTEAD:
https://www.jfire.org/modules/bugs/view.php?id=1427
ORIGINAL REPORTER: alex
Currently the 'Export ReportLayout' feature Exports the layouts only in a form that can be used by developers:
ReportLayout XML file
Directory structure with files for localisation
Directory with files for ReportTextParts
XML for ParameterAquisition.
It should be possible to import exported features into a JFire datastore from the ReportingAdmin-UI.
The feature could be implemented by creating a temporary descriptor that can be read by the server-side ReportInitialiser and then simply using the ReportInitialiser to import the layout.
The descriptor can be easily created using the artefacts that are already created by an export.
ORIGINAL COMMENT BY alex, VIEW IT HERE:
https://www.jfire.org/modules/bugs/view.php?id=1427
Hi, one enhancement request for this feature and one bug:
Enhancement:
Please put the code that does the export into a
server-class that can do the export statically.
Then create a server method that sends a finished export-zip
to the client, so that every client (not only the rcp-client)
can benefit from the feature.
Bug:
For the last tests the resource-bundles were missing for the
imported layouts (the were in the export-zip).