Tracker: Bugs

5 RSS link does not work - ID: 2143872
Last Update: Settings changed ( mattsjo )

1.9.7-rc1
The RSS link on the "Topic List" page doesn't work.


Mattias S ( mattsjo ) - 2008-10-03 01:12:26 PDT

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 3 )

Date: 2008-10-19 20:38:37 PDT
Sender: sitsProject Admin

Yes you are right - that is one way of fixing it, however that "rss"
parameter is deprecated now.

I've committed in the proper fix in ListTopicsMethod.pm which just switches
on the action parameter instead. I've confirmed that it actually does work
properly now. I'll make a rc3 build with this fix in it.



Date: 2008-10-16 03:45:35 PDT
Sender: mattsjo

1.9.7-rc-2
Still does not work... I had to add this:
File: UrlBuilder.pm
Fuction: list_topics_url_rss
Added line: $args{rss} = 1;



Date: 2008-10-10 17:25:55 PDT
Sender: sitsProject Admin

Thanks for that - should be fixed now. Here is the patch below since it is
so simple.

Index: lib/Codestriker/Http/Method/ListTopicsMethod.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/Http/Method/ListTopicsMethod.pm,v
retrieving revision 1.6
diff -u -r1.6 ListTopicsMethod.pm
--- lib/Codestriker/Http/Method/ListTopicsMethod.pm 8 Sep 2008 10:19:50
-0000 1.6
+++ lib/Codestriker/Http/Method/ListTopicsMethod.pm 11 Oct 2008 00:23:13
-0000
@@ -83,7 +83,13 @@
sub execute {
my ($self, $http_input, $http_output) = @_;

- Codestriker::Action::ListTopics->process($http_input, $http_output);
+ my $action = $http_input->{query}->param('action');
+ if ($action eq "list_topics_rss") {
+ Codestriker::Action::ListTopicsRSS->process($http_input,
$http_output);
+ } else {
+ Codestriker::Action::ListTopics->process($http_input,
$http_output);
+ }
+
}

1;



Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2008-10-20 04:55:03 PDT mattsjo
close_date - 2008-10-20 04:55:03 PDT mattsjo
status_id Closed 2008-10-16 03:45:35 PDT mattsjo
close_date 2008-10-10 17:25 2008-10-16 03:45:35 PDT mattsjo
resolution_id None 2008-10-10 17:25:55 PDT sits
close_date - 2008-10-10 17:25:55 PDT sits
status_id Open 2008-10-10 17:25:55 PDT sits