#9321 closed defect (fixed)
RSS feed checks for values previously set in the prefs form
Reported by: | 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 , 15 years ago
Milestone: | → 0.12.1 |
---|---|
Owner: | set to |
follow-up: 3 comment:2 by , 15 years ago
Milestone: | 0.12.1 → 0.12 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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.
comment:3 by , 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.
Thanks for reporting the issue.