Opened 12 years ago
Closed 11 years ago
#2249 closed defect (fixed)
Do not dispatch GETDYNAMICOVERLAYIMAGE requests if any display parameter values are <= 0
Reported by: | jng | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AJAX Viewer | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
The cause of those "value cannot be less than zero" exceptions in MgRenderingService::RenderDynamicOverlay is most likely caused by the AJAX Viewer firing off GETDYNAMICOVERLAYIMAGE requests willy-nilly without any sort of client-side verification.
The viewer should be doing this verification. Do not send a GETDYNAMICOVERLAYIMAGE request if any of the parameters are <= 0:
- width
- height
- dpi
- scale
- metersPerUnit
This should cut down on the incidences of such exceptions being logged server-side
Note:
See TracTickets
for help on using tickets.
Fixed r8056