[mapguide-trac] #1746: Maestro .LayerDefinition - Display Composite Fail

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jul 8 11:13:16 EDT 2011


#1746: Maestro .LayerDefinition - Display Composite Fail
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  medium        |   Milestone:  Maestro-3.5
  Component:  Maestro       |     Version:             
   Severity:  minor         |    Keywords:             
External_id:                |  
----------------------------+-----------------------------------------------
 On any existing .LayerDefinition (schema v1.3), when I edit in Maestro 3.5
 (build from \trunk) and click the new "Display Composite" checkbox I get
 the following exception:

 Assigned value does not implement ICompositeTypeStyle2

 System.InvalidOperationException: Assigned value does not implement
 ICompositeTypeStyle2
    at
 OSGeo.MapGuide.ObjectModels.LayerDefinition_1_3_0.VectorScaleRangeType.set_CompositeStyle(ICompositeTypeStyle
 value) in
 e:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\ObjectModels\VectorLayerDefinitionImpl.cs:line
 340
    at
 Maestro.Editors.LayerDefinition.Vector.Scales.VectorScaleRangeCtrl.chkComposite_CheckedChanged(Object
 sender, EventArgs e) in
 e:\Projects\Maestro\Maestro.Editors\LayerDefinition\Vector\Scales\VectorScaleRangeCtrl.cs:line
 167
    at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
    at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
    at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
    at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
 button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&
 m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
 IntPtr wparam, IntPtr lparam)

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1746>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list