Opened 18 years ago
Closed 15 years ago
#164 closed defect (wontfix)
SetResource doesn't validate featurename in layerdefinitions
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Resource Service | Version: | |
Severity: | minor | Keywords: | |
Cc: | External ID: | 939554 |
Description
Featurename's passed in layerdefintion's should be validated when they are uploaded via SetResource and an error should be thrown if they don't exist.
It maybe useful to allow this to be overridden to allow batch uploads of resources without walking along a dependancy tree.
Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
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
comment:4 by , 17 years ago
External ID: | → 939554 |
---|
comment:5 by , 17 years ago
Milestone: | 1.2 → 1.3 |
---|
comment:6 by , 17 years ago
Milestone: | 2.0 |
---|
comment:7 by , 15 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Version: | 1.2.0 |
I believe that the Maestro validity checker takes care of post-upload validation nicely. If not, please enter an enhancement rather than defect.
sorry, wasn't logged in when i created the log