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

Opened 13 years ago

Last modified 12 years ago

TG 796 breaks std.url

Reported by: anonymous Owned by: anonymous
Priority: highest Milestone: 0.9a1
Component: TurboGears Version:
Severity: blocker Keywords:


from siteadmin.controllers import Root
from siteadmin.SiteGroup? import SiteGroup?
cherrypy.root = Root()
cherrypy.root.SiteGroup? = SiteGroup?(config)
std.url("/Edit/"...) - should result in localhost:8080/SiteGroup/Edit/
Results in localhost:8080/Edit/

Page handler: "The path '/Edit/' was not found." Traceback (most recent call last):

File "/home/utvikler/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py", line 99, in _run


File "/home/utvikler/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py", line 240, in main

page_handler, object_path, virtual_path = self.mapPathToObject(path)

File "/home/utvikler/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py", line 305, in mapPathToObject

raise cherrypy.NotFound?(objectpath)

NotFound?: 404

This is tested with Cherrypy 974 and 932. (I've got one instalation that's not broken using tg 559 and cherrypy 932).

Change History

comment:1 Changed 13 years ago by simon

Could this be related to #584?

comment:2 Changed 13 years ago by kevin

  • Milestone changed from 0.9 to 0.9a1

This appears to be related (the same) as #402.

comment:3 Changed 13 years ago by kevin

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

This should now be fixed in [823].

Note: See TracTickets for help on using tickets.