[mapguide-trac] #1536: ModifiedDate not set when saving resources

MapGuide Open Source trac_mapguide at osgeo.org
Thu Nov 25 03:18:13 EST 2010


#1536: ModifiedDate not set when saving resources
-----------------------+----------------------------------------------------
   Reporter:  gBecker  |       Owner:  jng  
       Type:  defect   |      Status:  new  
   Priority:  medium   |   Milestone:       
  Component:  Maestro  |     Version:  2.2.0
   Severity:  major    |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------

Comment(by gBecker):

 In my application I've created a custom "CacheDependency" for use with
 MapGuide resources. I store a xml representation of a MapDefinition in
 Cache and display a treeview of the Layers and LayerGroups in this
 MapDefinition. When the MapDefinition is modified in "MapGuide Studio"
 then the xml in Cache is removed (check ModifiedDate every 30 seconds).
 Next time a user access the webpage with the treeview, the xml of the
 changed MapDefinition is added into the cache again.

 So I have to tell our customers that they have to use Studio for some
 special operations. But I would prefer them to use Maestro in most cases!

 Changing a resource in Maestro means to me that the resource is modified.
 So the "ModifiedDate" has to be set correctly, even with COPYRESOURCE.

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


More information about the mapguide-trac mailing list