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 #2190 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

lookup() does not get executed in RestController

Reported by: saabeilin Owned by: percious
Priority: normal Milestone: 2.1rc1
Component: TurboGears Version: 2.0rc1
Severity: normal Keywords:
Cc:

Description

The lookup() just does not get executed in a RestController (but works fine in TGController)

@expose()
def lookup(self, customer_id, *args):
    print 'never gets here'

The number of explicitly-defined argumens (like customer_id above) does not matter.

Tested in TG2.0b4 and b5.

Change History

comment:1 Changed 10 years ago by jorge.vargas

The TG2.1 version of RestController? fixed this. Please test with that and let us know.

comment:2 Changed 10 years ago by jorge.vargas

  • Milestone set to 2.1

comment:3 Changed 9 years ago by percious

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

comment:4 Changed 9 years ago by percious

  • Version changed from 2.0b* to 2.0rc1
  • Milestone changed from 2.1 to 2.1rc1
Note: See TracTickets for help on using tickets.