[Mapguide-trac] [mapguide-trac] #2866: MgException messages are lost in mapagent

MapGuide Open Source trac_mapguide at osgeo.org
Thu Mar 30 01:06:41 PDT 2023


#2866: MgException messages are lost in mapagent
-----------------------+------------------------
 Reporter:  jng        |        Owner:  jng
     Type:  defect     |       Status:  assigned
 Priority:  medium     |    Milestone:  4.0
Component:  Map Agent  |      Version:
 Severity:  major      |   Resolution:
 Keywords:             |  External ID:
-----------------------+------------------------
Description changed by jng:

Old description:

> The recent RFC to unify all exceptions to a single `MgException` has
> subtly broken error message display in the mapagent.
>
> Known issues:
>
>  * The exception type `MgException` is being set as the status message.
> This should now be the code of the caught `MgException`
>  * It is failing to resolve the localized message when displaying the
> exception message

New description:

 The recent RFC to unify all exceptions to a single `MgException` has
 subtly broken error message display in the mapagent.

 Known issues:

  * The exception type `MgException` is being set as the status message.
 This should now be the code of the caught `MgException`
  * ~~It is failing to resolve the localized message when displaying the
 exception message~~. Actually it's just that the failure to retrieve the
 localized message for exceptions thrown by the implementation of #2864
 that is masked by a separate error that is not being surfaced.

--
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2866#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list