[mapguide-trac] #164: SetResource doesn't validate featurename
in layerdefinitions
MapGuide Open Source
trac_mapguide at osgeo.org
Thu May 24 07:27:51 EDT 2007
#164: SetResource doesn't validate featurename in layerdefinitions
------------------------------+---------------------------------------------
Reporter: anonymous | Owner:
Type: defect | Status: new
Priority: low | Milestone: 1.2
Component: Resource Service | Version: 1.2.0
Severity: minor | Resolution:
Keywords: | External_id:
------------------------------+---------------------------------------------
Comment (by waltweltonlair):
I don't think validation of the feature source name should be done. If
I'm creating a new layer then I should be able to upload the layer
definition and feature source resources in any order. If we validate the
feature source name then I'd have to upload the feature source first.
Furthermore, even with validation you can't prevent layers from having
invalid feature source references since you could later delete a
referenced feature source.
Of course the server should gracefully handle the case when a layer's
feature source is not found. This means:
* not crashing
* throwing the proper exception
* logging a message to the error log
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/164#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list