[mapguide-trac] #1076: Move or rename resource should avoid breaking links

MapGuide Open Source trac_mapguide at osgeo.org
Thu Aug 27 02:54:11 EDT 2009


#1076: Move or rename resource should avoid breaking links
------------------------------+---------------------------------------------
 Reporter:  christinebao      |         Owner:  Tom Fukushima
     Type:  defect            |        Status:  new          
 Priority:  medium            |     Milestone:  2.2          
Component:  Resource Service  |       Version:  2.0.2        
 Severity:  major             |    Resolution:               
 Keywords:                    |   External_id:               
------------------------------+---------------------------------------------
Comment (by ksgeograf):

 A minor performance improvement:

 Change /ApplicationRepositoryManager.cpp line 491 to:

 Ptr<MgStringCollection> referencingIds = NULL;

 The referencingIds is assigned in line 495, and if not cascading, it is
 not accessed.

 To clarify this, line 518 could be changed to:
 if(cascade && referencingIds != NULL && referencingIds->GetCount() != 0)

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


More information about the mapguide-trac mailing list