HOME | SOLUTIONS | INDUSTRIES | SERVICES | ABOUT US | NEWS & EVENTS | SUPPORT CENTER | CONTACT

 
Product Documentation
Dovetail SelfService
Knowledge Base
Support Forums
Employee Blogs
Contact Us

"Index -1 is out of range for list" error message in form 412 for Comm Center (Article # 41)

View products that this article applies to.

Problem:


1) Have a contact that has created 40+ cases (they are all open)
2) Open the New Ticket form
3) Press the Find caller button (Rolodex button)
4) Then, in Select Contacts, filter and find the contact
5) Press Use/Done (or double click the contact). At this point, the run-time error occurs.

The heading on the error message popup is:
263,412,baseline

Also, the error message that appears is:
Runtime error 79691834 on line 164
Index -1 is out of range for list (should be between 0 and xxx)

Resolution:

This appears to be some sort of CB bug.
In the code module, we take the list of previous cases from the grid, extract the list of case objids, and then query for the cases & call types for this list of case objids.
We then cycle through this list & the list of previous cases in order to color the previous cases based on their case type (ticket type).

However, when our query comes back, we have one less case than there was in the list - this should NEVER happen. We weren't trapping for this.

We believe this is a CB bug, probably in the list handling routines in POMS.

The code has been modified so that it traps for this condition. If a case can't be found, it is colored white in the grid.

Applies To:

Copyright © 2008 Dovetail Software, Inc. All rights reserved.

 

support center | blogs | terms & conditions | contact