Opened 8 years ago

Closed 7 years ago

#1397 closed defect (fixed)

When the length of TaskPane url is less than 8, there will be a exception

Reported by: hubu Owned by: hubu
Priority: medium Milestone:
Component: General Version: 2.1.0
Severity: trivial Keywords:
Cc: External ID:

Description

  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.
  1. Put the 1.html file to the mapguide/mapgudieajaxviwer/ folder
  1. 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"
  1. Preview this weblayout in the browser.

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

Attachments (2)

1.html (40 bytes) - added by hubu 8 years ago.
Fix of this ticket.patch (636 bytes) - added by hubu 8 years ago.
This is the fix of this ticket

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by hubu

Attachment: 1.html added

Changed 8 years ago by hubu

Attachment: Fix of this ticket.patch added

This is the fix of this ticket

comment:1 Changed 7 years ago by hubu

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.