Changes between Initial Version and Version 1 of Ticket #12267


Ignore:
Timestamp:
Apr 13, 2015, 10:00:26 AM (9 years ago)
Author:
Jun Omae
Comment:

It seems this issue probably would be fixed by the following patch.

  • watchlistplugin/0.12/tracwatchlist/plugin.py

    diff --git a/watchlistplugin/0.12/tracwatchlist/plugin.py b/watchlistplugin/0.12/tracwatchlist/plugin.py
    index eaff75a..46c8408 100755
    a b class WatchlistPlugin(Component): 
    531531                    self.set_notify(req, realm, res)
    532532                db.commit()
    533533            if redirectback and len(new_res) == 1:
    534                 req.redirect(req.href(realm,new_res[0]))
     534                req.redirect(req.href(realm, new_res.pop()))
    535535            action = 'view'
    536536
    537537        elif action == "unwatch":

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12267 – Description

    initial v1  
    3434Python Traceback
    3535Most recent call last:
    36 
     36{{{
    3737    File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 513, in _dispatch_request
    3838    File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 222, in dispatch
    3939    File "build/bdist.linux-x86_64/egg/tracwatchlist/plugin.py", line 534, in process_request
     40}}}