Opened 13 years ago

Closed 13 years ago

#1769 closed enhancement (fixed)

Resource upgrade API

Reported by: jng Owned by: jng
Priority: low Milestone: Maestro-3.5
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

The upgrade button in that firefox-style notification bar that is displayed in the resource editor is disabled because the actual functionality to upgrade these resources has not been implemented.

After some actual thinking, the resource upgrade functionality will actually be much simpler than I originally thought. We exploit the fact that schema revisions are additive and so upgrading is a matter of serializing the current resource to XML, tweak the version and xsd references in that XML and deserializing it back into the object form, which should be the new upgraded version.

Change History (1)

comment:1 by jng, 13 years ago

Resolution: fixed
Status: newclosed

Fixed r6038

Note: See TracTickets for help on using tickets.