Opened 12 years ago
Closed 5 years ago
#2206 closed defect (fixed)
MgResourcesLoadFailedException needs greater context
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | medium | Milestone: | 4.0 |
Component: | General | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
The MgResourcesLoadFailedException message needs to have greater context. The message is usually of the form:
Failed to load Resources/mapguide_<locale>.res for locale '<locale>'
Which tells us nothing about why this exception was thrown. It could be:
- File not found
- Insufficent permission to access file
- Something else?
This exception is a critical one as it is mostly thrown during web tier initialization. And if web tier initialization doesn't complete, most of the remaining MapGuide API is un-usable. So it is very important that this exception (if thrown) contains as much useful information as possible to diagnose the problem at hand.
Attachments (1)
Change History (6)
by , 12 years ago
Attachment: | BetterMgResourcesLoadFailedMessage.patch added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Milestone: | 2.5 → 2.6 |
---|
Note:
See TracTickets
for help on using tickets.
Suggested test case to try triggering this: