[mapguide-trac] #1397: When the length of TaskPane url is less than 8, there will be a exception

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jul 9 06:09:36 EDT 2010


#1397: When the length of TaskPane url  is less than 8, there will be a exception
-----------------------+----------------------------------------------------
   Reporter:  hubu     |       Owner:  hubu 
       Type:  defect   |      Status:  new  
   Priority:  medium   |   Milestone:       
  Component:  General  |     Version:  2.1.0
   Severity:  trivial  |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 1. create a simple html, and named it as 1.html(note: the name length
 should less than 8). Or you can use the attached 1.html file as your test
 page.

 2. Put the 1.html file to the mapguide/mapgudieajaxviwer/ folder

 3. In the MG Studio, open a basic weblayout. In the setting panel, input
 the "1.html" as the value of "URL for home task displayed in the Task
 Pane"

 4. Preview this weblayout in the browser.

 Result:
 An exception thrown:
 Index and length must refer to a location within the string. Parameter
 name: length

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1397>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list