Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2013 01:13:46 +0800 (CST)
From:      Hung-Yi Chen <gaod@hychen.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181689: [MAINTAINER] www/trac-watchlist: add a bugfix
Message-ID:  <201308301713.r7UHDkqw009832@cse.tw>
Resent-Message-ID: <201308301720.r7UHK0bB079544@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181689
>Category:       ports
>Synopsis:       [MAINTAINER] www/trac-watchlist: add a bugfix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 30 17:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
        Add a bug fix.

>How-To-Repeat:
>Fix:


--- www_trac-watchlist.diff begins here ---
Index: www/trac-watchlist/Makefile
===================================================================
--- www/trac-watchlist/Makefile	(revision 325633)
+++ www/trac-watchlist/Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	watchlist
 PORTVERSION=	1.0.${SVN_REV}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www devel python
 MASTER_SITES=	http://distfiles.cse.tw/ \
 		http://trac-hacks.org/changeset/${SVN_REV}/watchlistplugin?old_path=/&format=zip&filename=/
Index: www/trac-watchlist/files/patch-trachwatchlist_plugin.py
===================================================================
--- www/trac-watchlist/files/patch-trachwatchlist_plugin.py	(revision 0)
+++ www/trac-watchlist/files/patch-trachwatchlist_plugin.py	(working copy)
@@ -0,0 +1,11 @@
+--- tracwatchlist/plugin.py.orig	2013-08-30 19:07:32.000000000 +0800
++++ tracwatchlist/plugin.py	2013-08-30 19:08:43.000000000 +0800
+@@ -527,7 +527,7 @@
+                     self.set_notify(req, realm, res)
+                 db.commit()
+             if redirectback and len(new_res) == 1:
+-                req.redirect(req.href(realm,new_res[0]))
++                req.redirect(req.href(realm,list(new_res)[0]))
+             action = 'view'
+ 
+         elif action == "unwatch":
--- www_trac-watchlist.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308301713.r7UHDkqw009832>