Opened 11 years ago

Closed 10 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:


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

Change History (1)

comment:1 by jng, 10 years ago

Resolution: fixed
Status: newclosed

Fixed r8056

Note: See TracTickets for help on using tickets.