Bug 181689

Summary: [MAINTAINER] www/trac-watchlist: add a bugfix
Product: Ports & Packages Reporter: Hung-Yi Chen <gaod>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
www_trac-watchlist.diff none

Description Hung-Yi Chen 2013-08-30 18:20:00 UTC
        Add a bug fix.
Comment 1 Ruslan Makhmatkhanov freebsd_committer 2013-08-30 20:57:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 2 dfilter service freebsd_committer 2013-08-31 20:02:16 UTC
Author: rm
Date: Sat Aug 31 19:01:59 2013
New Revision: 325829
URL: http://svnweb.freebsd.org/changeset/ports/325829

Log:
  - add patch to fix type handling bug
  - bump PORTREVISION
  
  PR:		181689
  Submitted by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)

Added:
  head/www/trac-watchlist/files/patch-trachwatchlist_plugin.py   (contents, props changed)
Modified:
  head/www/trac-watchlist/Makefile   (contents, props changed)

Modified: head/www/trac-watchlist/Makefile
==============================================================================
--- head/www/trac-watchlist/Makefile	Sat Aug 31 19:01:07 2013	(r325828)
+++ head/www/trac-watchlist/Makefile	Sat Aug 31 19:01:59 2013	(r325829)
@@ -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=/
@@ -11,7 +11,7 @@ PKGNAMEPREFIX=	trac-
 DISTNAME=	${PORTNAME}plugin-r${SVN_REV}
 
 MAINTAINER=	gaod@hychen.org
-COMMENT=	Provide watchlist feature for wikis and tickets of Trac
+COMMENT=	Watchlist feature for wikis and tickets of Trac
 
 LICENSE=	BSD
 

Added: head/www/trac-watchlist/files/patch-trachwatchlist_plugin.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac-watchlist/files/patch-trachwatchlist_plugin.py	Sat Aug 31 19:01:59 2013	(r325829)
@@ -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":
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer 2013-08-31 20:06:11 UTC
State Changed
From-To: open->closed

Committed, thank you!