[mapguide-commits] r4568 - trunk/Tools/Maestro/Maestro

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Jan 30 14:32:31 EST 2010


Author: ksgeograf
Date: 2010-01-30 14:32:31 -0500 (Sat, 30 Jan 2010)
New Revision: 4568

Modified:
   trunk/Tools/Maestro/Maestro/EditorInterface.cs
Log:
Maestro:
Fixed an issue with truncating validation messages.

Modified: trunk/Tools/Maestro/Maestro/EditorInterface.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/EditorInterface.cs	2010-01-30 19:28:16 UTC (rev 4567)
+++ trunk/Tools/Maestro/Maestro/EditorInterface.cs	2010-01-30 19:32:31 UTC (rev 4568)
@@ -251,7 +251,7 @@
                             }
 
                             if (fullmsg.Length > 512)
-                                fullmsg = string.Format(Strings.EditorInterface.ValidationMessageTooLong, fullmsg.Substring(512));
+                                fullmsg = string.Format(Strings.EditorInterface.ValidationMessageTooLong, fullmsg.Substring(0, 512));
 
                             if (errors.Count > 0)
                                 msg = string.Format(Strings.EditorInterface.SaveWithErrorsConfirmation, fullmsg);



More information about the mapguide-commits mailing list