[mapguide-trac] #1401: Enhanced error reporting on DataConnection save (was: Connecting to SQL Server can throw errors)

MapGuide Open Source trac_mapguide at osgeo.org
Mon Jul 12 01:00:17 EDT 2010


#1401: Enhanced error reporting on DataConnection save
---------------------------+------------------------------------------------
   Reporter:  jbirch       |       Owner:  jng  
       Type:  enhancement  |      Status:  new  
   Priority:  low          |   Milestone:       
  Component:  Maestro      |     Version:  2.1.0
   Severity:  minor        |    Keywords:       
External_id:               |  
---------------------------+------------------------------------------------
Description changed by jbirch:

Old description:

> It would be useful if, when getting an !MgClassNotFoundException in reply
> to a !GetIdentityProperties call when saving a !DataConnection, Maestro
> could inform the user that it could not determine the identity property
> for X class, rather than just dumping the exception to the screen.  A
> smart user should then be able to figure out from this that the error is
> occurring because of a missing PK.

New description:

 When saving a SQL Server DataConnection, if one or more of the tables does
 not have a primary key set, Maestro presents a screen to the user with the
 text of an MgClassNotFoundException.  This isn't especially easy to figure
 out for end users.

 It would be useful if, when this occurs, Maestro could inform the user
 that it could not determine the identity property for X class.  A smart
 user should then be able to figure out from this that the error is
 occurring because of a missing PK.

--

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


More information about the mapguide-trac mailing list