[Mapguide-trac] [mapguide-trac] #2423: Maestro - LayerDefinition Does Not Show 'Dirty' or Invalid When Opened and Feature Class Unavailable

MapGuide Open Source trac_mapguide at osgeo.org
Thu Apr 10 07:20:37 PDT 2014


#2423: Maestro - LayerDefinition Does Not Show 'Dirty' or Invalid When Opened and
Feature Class Unavailable
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  low           |   Milestone:  Maestro-5.2
  Component:  Maestro       |     Version:             
   Severity:  major         |    Keywords:             
External_id:                |  
----------------------------+-----------------------------------------------

Comment(by crispinatime):

 Save (with Validation enabled) now flags this up.

 Ideally this could also be raised as a warning when opening.

 A similar issue occurs when the Geometry Property is changed.  We recently
 had an issue and tried to track-down by opening a Session: layer in
 Maestro.  All looked OK as the Geometry drop-down was populated.  Only
 when viewing the XML did we see that there was an invalid property name in
 the geometry property - but the UI view in Maestro showed the valid value.
 This scenario can be tested by:

  1) Turn OFF Maestro validation on save

  2) Open a valid .LayerDefinition in XML and edit the geometry property to
 an invalid name

  3) Save and close

  4) Turn ON Maestro validation

  5) Open the .LayerDefinition and the full UI - the invalid name shows up
 and no warning or dirty state

  6) The Save button can be clicked and there is no Validation warning
 implying to the user that the Layer is valid.  You need to edit another
 field to force-dirty before the validation happens.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2423#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list