When viewing a directory in loggerhead the url path can designate either the revno_url and absolutepath for the directory - or the file_id for the directory. When the file_id is used (as with breadcrumb links), the file listing is rendered with incorrect urls (the absolutepath of the *directory* is provided as the file_id for each *file*):
the view controller then interprets the file as a directory (based on the incorrect file_id) and passes it back to the inventory controller, which I presume passes it back to the view controller, and so on..
I don't know how best to fix it (this is my first look at the loggerhead source), or if it's already been fixed.. I thought I'd write this anyway.
When viewing a directory in loggerhead the url path can designate either the revno_url and absolutepath for the directory - or the file_id for the directory. When the file_id is used (as with breadcrumb links), the file listing is rendered with incorrect urls (the absolutepath of the *directory* is provided as the file_id for each *file*):
e.g.
http:// 127.0.0. 1:8080/ files/head: /someproject/ src/main. py?file_ id=src- 20110504123105- ijtcm0g7a3txui1 b-6
the view controller then interprets the file as a directory (based on the incorrect file_id) and passes it back to the inventory controller, which I presume passes it back to the view controller, and so on..
I don't know how best to fix it (this is my first look at the loggerhead source), or if it's already been fixed.. I thought I'd write this anyway.