Modify ↓
      
#6055 closed defect (invalid)
List Out of bound problem
| Reported by: | anonymous | Owned by: | Jonas Borgström | 
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | ticket system | Version: | 0.9.3 | 
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I addin a ticket custom-field (type=select) in the trac.ini When I create new ticket I got this error message
Python traceback
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 85, in process_request
    ticket = Ticket(self.env, db=db)
  File "/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 37, in __init__
    self._init_defaults(db)
  File "/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 57, in _init_defaults
    default = options[default_idx]
IndexError: list index out of range
      Attachments (0)
Change History (3)
comment:1 by , 18 years ago
| Keywords: | Ticket custom field removed | 
|---|---|
| Resolution: | → invalid | 
| Status: | new → closed | 
comment:2 by , 18 years ago
Just to clarify: you can re-open this ticket if the problem is still present with latest stable 0.10.x (and then please provide us the relevant parts of your config), but it's very unlikely that anything less than a critical security bug would be addressed on the 0.9.x line.
comment:3 by , 18 years ago
- I will try upgrade to 0.10.x version
 - Can paste the link on procedures to upgarde?
 
  Note:
 See   TracTickets
 for help on using tickets.
    


  
does this also occur with a recent version, like 0.10? maybe you could post the details of the config, or write to the mailing list.