Ticket #1292 (closed enhancement: fixed)

Opened 14 years ago

Last modified 14 years ago

Export tab in ZMI should export the XML used in profiles

Reported by: div Owned by: gracinet
Priority: P3 Milestone: CPS 3.4.1
Component: CPS (global) Version: TRUNK
Severity: normal Keywords:


Export tab for layouts, schemas, workflows, vocabularies should change the format of the exported data, from the current dictionary to an XML that can be used directly in the GenericSetup?'s profiles. An export tab should be added for portal types, with the same behaviour as above.

Change History

comment:1 Changed 14 years ago by ogrisel

What about writing a generic adapter from ISimpleItem (or something similar that has the manage_options attribute) to IZMIExportable that adds the required tabs + action + ZMI template and then use IZMIExportable(zmi_item) instead of zmi_item?

comment:2 Changed 14 years ago by sfermigier

  • Milestone changed from CPS 3.4.0 to CPS 3.4.1

Move target to 3.4.1

comment:3 Changed 14 years ago by gracinet

  • Owner changed from fguillaume to gracinet
  • Status changed from new to assigned

comment:4 Changed 14 years ago by gracinet

  • Status changed from assigned to closed
  • Resolution set to fixed

Done in [34811]

This is a Five view, so that it will supersede (for now) any previously declared export tab if the object is Five:traversable (schemas and layouts are). We can add manage_export to management options of many more objects in the ZMI.

There's a link to the old-style export, too.

Also, no test because this isn't worth the hassle in this case (side-effects and such)

comment:5 Changed 14 years ago by gracinet

[34813], sorry

Note: See TracTickets for help on using tickets.