Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9321 closed defect (fixed)

RSS feed checks for values previously set in the prefs form

Reported by: Daniel Musketa <daniel@…> Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: timeline Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

First: My browser (konqueror) and my RSS reader (akregator) seem to share a session cookie.

After having filtered out my name using the authors field in the prefs form

/trac/timeline?authors=-vlt

I don't get any RSS updates for events created by me, either.

"-vlt" is stored in a session and seems to be applied falsely when generating the feed.

Example:

# optional
$ curl -c cookiejar -b cookiejar -u vlt "trac:8000/trac/login"

# set a filter value for timeline
$ curl -c cookiejar -b cookiejar "trac:8000/trac/timeline?authors=-vlt"

# get rss feed: vlt's items are missing
$ curl -c cookiejar -b cookiejar "trac:8000/trac/timeline?ticket=on&ticket_details=on&format=rss"

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 15 years ago

Milestone: 0.12.1
Owner: set to Remy Blank

Thanks for reporting the issue.

comment:2 by Remy Blank, 15 years ago

Milestone: 0.12.10.12
Resolution: fixed
Status: newclosed

Fixed in [9693]. Strictly speaking, it was not really necessary, as the RSS link at the bottom of the timeline includes all parameters, so the session data was never actually used. The issue would only be visible if the link was entered "by hand" into the RSS reader.

With the fix, the session data is not used anymore for the RSS format, and the default values for daysback= and max= are set to 90 and 50, respectively, the same values as in the RSS link.

in reply to:  2 comment:3 by Daniel Musketa <daniel@…>, 15 years ago

Replying to rblank:

it was not really necessary

I didn't enter the link manually. I added it to my rss reader years ago (without the &authors= part), and I think many users would have experienced the same issue if you hadn't applied that patch.

Thank you.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.