Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2274 closed defect (fixed)

RuntimeMap Save() can cause MgUnclassifiedExceptions on subsequent rendering operations

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

Description

When a RuntimeMap is saved, subsequent rendering operations may throw a MgUnclassifiedException.

This is due to the MgMap deserialization code naively reading in groups as-is and doing parent group assignment on groups that may not have been read yet.

While the true fix is to defer parent group assignment for groups that haven't been deserialized yet, we can add an easy workaround on the RuntimeMap side by forcing the groups to be serialized out in a certain order.

  • Groups without parents
  • Child groups of the above groups
  • Child groups of the above groups
  • etc, etc

Change History (2)

comment:1 by jng, 12 years ago

Resolution: fixed
Status: newclosed

comment:2 by jng, 12 years ago

Fixed trunk (r7513) and 4.0.x (r7515)

Note: See TracTickets for help on using tickets.