tgext.routes changes

Alessandro Molina alessandro.molina at gmail.com
Tue Apr 5 23:30:01 UTC 2016


Hi Thomas,

Had time to give it a quick look.
Issue was caused by the fact that form was relying on ?_method parameter to
override request method.

It's now supported in tgext.routes 0.1.2
Just upgrade tgext.routes and it should work ( please raise dependency to
kallithea-tg, I cannot commit right now :( )

On Fri, Mar 25, 2016 at 9:43 AM, Thomas De Schampheleire <
patrickdepinguin at gmail.com> wrote:

> Hi Alessandro,
>
> While investigating the test suite failures under Turbogears, I bumped
> into an issue which turned out to be caused by the recent changes to
> routing in Kallithea, with the introduction of tgext.routes. Even
> without a test suite it seems that some routes are not OK.
>
> An example case can be reproduced easily:
> - go to the web interface
> - log in as an admin user
> - go to Admin>Repository defaults
> - leaving the settings, just click 'Save'.
> - you will get a 404 Error
>
> The form action is _admin/defaults/defaults and it is this URL that
> seems to pose problems. In upstream Kallithea with Pylons, the form
> works fine.
>
> I did not investigate deeper myself yet; I'm busy with finding the
> issues with the rest of the tests. So far it's been mostly issues with
> initialization code.
>
> If you have some time to spare, it would be great if you could have a
> look; otherwise no problem and I will get to it later.
>
> Thanks,
> Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20160406/6ad97e33/attachment.html>


More information about the kallithea-general mailing list