Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #447 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

CatWalk: Pressing [ENTER] should launch expected behavior

Reported by: anonymous Owned by: anonymous
Priority: high Milestone: 1.5
Component: Toolbox.Catwalk Version:
Severity: major Keywords: ui usability db catwalk


If you follow the  TurboTunes tutorial, when you try to add Genres, Songs, etc., you are forced to click on [Create] to add rows to such table. However, if you press [ENTER], you get the following error:

Page handler: <bound method CatWalk.index of <turbogears.catwalk.catwalk.CatWalk instance at 0xb748bb0c>>
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 98, in _run
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 246, in main
    body = page_handler(*virtual_path, **self.params)
  File "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r569-py2.4.egg/turbogears/controllers.py", line 240, in newfunc
    html, fragment, *args, **kw)
  File "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r569-py2.4.egg/turbogears/database.py", line 189, in run_with_transaction
    retval = func(*args, **kw)
  File "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r569-py2.4.egg/turbogears/controllers.py", line 257, in _execute_func
    output = func(self, *args, **kw)
TypeError: index() got an unexpected keyword argument 'name'

That form having only two buttons ([Cancel] and [Create]), the default behaviour for pressing [ENTER] would be, e.g., to activate the [Create] button.

Change History

comment:1 Changed 13 years ago by jorge.vargas

  • Component changed from TurboGears to Toolbox

comment:2 Changed 13 years ago by jorge.vargas

  • Component changed from Toolbox to Toolbox.Catwalk
  • Milestone changed from 0.9 to 1.0

is this still present?

comment:3 Changed 12 years ago by alberto

  • Milestone changed from 1.0 to 1.1

comment:5 Changed 12 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to fixed

guess not

Note: See TracTickets for help on using tickets.