Opened 9 years ago

Closed 9 years ago

#1045 closed defect (fixed)

Measure tool should not use GetResourceContent to check if resource exists

Reported by: bscott Owned by:
Priority: high Milestone: 2.1
Component: AJAX Viewer Version: 2.0.2
Severity: major Keywords:
Cc: External ID:

Description

The measure tool uses GetResourceContent? to check if the resource exists This is causing an exception in the error log We should avoid as much as possible exceptions as they are causing memory leaks see this nabble thread: http://n2.nabble.com/Huge-memory-leaks-in-Mapguide-Exceptions-td3231610.html#a3231610

As the ResourceExists? is now working, we should use it instead.

Attachments (2)

resourceExists.patch (1.2 KB) - added by bscott 9 years ago.
1045-java.patch (654 bytes) - added by jng 9 years ago.
Same patch for java viewer

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by bscott

Attachment: resourceExists.patch added

Changed 9 years ago by jng

Attachment: 1045-java.patch added

Same patch for java viewer

comment:1 Changed 9 years ago by jng

Resolution: fixed
Status: newclosed

Patches applied.

trunk: r4085 branches/2.1: r4086

Note: See TracTickets for help on using tickets.