[mapguide-trac] #1076: Move or rename resource should avoid
breaking links
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Aug 28 11:45:13 EDT 2009
#1076: Move or rename resource should avoid breaking links
------------------------------+---------------------------------------------
Reporter: christinebao | Owner: brucedechant
Type: defect | Status: new
Priority: medium | Milestone: 2.2
Component: Resource Service | Version: 2.0.2
Severity: major | Resolution:
Keywords: | External_id:
------------------------------+---------------------------------------------
Old description:
> Currently if move or rename resource, the other resources referencing to
> it are not updated and can't find the new location of the resource, thus
> they will not work anymore. For example, if move or rename a
> FeatureSource?, the LayerDefinitions? which references to this
> FeatureSource? are not updated to use the new FeatureSource? URL, and
> they can't work properly. This RFC overload the ResourceService? API
> MoveResource?, adding a new parameter "bool cascade" to indicate whether
> update the referencing resources or not. The old API exist along with the
> new API to keep compatible.
>
> Please refer to RFC http://trac.osgeo.org/mapguide/wiki/MapGuideRfc74 for
> detail.
New description:
Currently if you move or rename a resource, the other resources
referencing to it are not updated and can't find the new location of the
resource, thus they will not work anymore. For example, if you move or
rename a !FeatureSource, the !LayerDefinitions which reference to this
!FeatureSource are not updated to use the new !FeatureSource URL, and thus
fail to work properly. RFC 74 overloads the !ResourceService API
!MoveResource by adding a new parameter "bool cascade" to indicate whether
to update the referencing resources or not. The old API will continue to
exist along with the new API to keep backwards compatibility.
Please refer to RFC http://trac.osgeo.org/mapguide/wiki/MapGuideRfc74 for
detail.
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1076#comment:5>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list