Bug 181689 - [MAINTAINER] www/trac-watchlist: add a bugfix
Summary: [MAINTAINER] www/trac-watchlist: add a bugfix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-30 18:20 UTC by Hung-Yi Chen
Modified: 2013-08-31 20:10 UTC (History)
0 users

See Also:


Attachments
www_trac-watchlist.diff (1.22 KB, patch)
2013-08-30 18:20 UTC, Hung-Yi Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!