Opened 15 years ago
Last modified 15 years ago
#1076 closed defect
Move or rename resource should avoid breaking links — at Initial Version
Reported by: | christinebao | Owned by: | Tom Fukushima |
---|---|---|---|
Priority: | medium | Milestone: | 2.2 |
Component: | Resource Service | Version: | 2.0.2 |
Severity: | major | Keywords: | |
Cc: | External ID: |
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.