[mapserver-dev] Hiding large number of errors in msSetError

Daniel Morissette dmorissette at mapgears.com
Mon Jul 21 07:57:31 PDT 2014


FWIW I like the count idea.

Daniel

On 14-07-21 10:56 AM, Tamas Szekeres wrote:
> Yes, that count could easily be added to errorObj.
>
> Tamas
>
>
> 2014-07-21 16:38 GMT+02:00 Lime, Steve D (MNIT) <Steve.Lime at state.mn.us
> <mailto:Steve.Lime at state.mn.us>>:
>
>     Could we somehow count the number and report that? I would think it
>     would useful to know that a particular error was reported n times.____
>
>     __ __
>
>     *From:*mapserver-dev-bounces at lists.osgeo.org
>     <mailto:mapserver-dev-bounces at lists.osgeo.org>
>     [mailto:mapserver-dev-bounces at lists.osgeo.org
>     <mailto:mapserver-dev-bounces at lists.osgeo.org>] *On Behalf Of *Tamas
>     Szekeres
>     *Sent:* Monday, July 21, 2014 8:44 AM
>     *To:* mapserver-dev at lists.osgeo.org
>     <mailto:mapserver-dev at lists.osgeo.org>
>     *Subject:* [mapserver-dev] Hiding large number of errors in
>     msSetError____
>
>     __ __
>
>     Hi Devs,____
>
>     __ __
>
>     There are certain locations in MapServer were a large number of
>     error can be raised subsequently, which might be annoying if the
>     error is getting displayed to the end user (in a message box for
>     example).____
>
>     __ __
>
>     One example for this issue is in msProjectPoint (mapproject.c line
>     118) which may be raised many times for a polygon or a line string.
>     In the meantime I see that the referred line has been commented out
>     in the master branch, but I don't think if it would be the
>     reasonable solution for this problem, since that error may contain
>     important information for the user.____
>
>     __ __
>
>     How about modifying msSetError to ignore the error if it has already
>     been issued previously?____
>
>     __ __
>
>     Thanks,____
>
>     __ __
>
>     Tamas____
>
>
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


-- 
Daniel Morissette
T: +1 418-696-5056 #201
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000


More information about the mapserver-dev mailing list