Modify

Opened 10 years ago

Last modified 7 years ago

#12365 assigned defect

Unable to update RSS feed

Reported by: Rastlin Owned by: EmeCas
Priority: normal Component: TracHoursPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

Hello,

When i press RSS Feed (Hours tab) i have the following information:

Internet Explorer was unable to update this feed and will try again

I can do this only one time. I set the feed properties in the IE but doesn't help.

Thanks in advance.

Best regards

Attachments (0)

Change History (8)

comment:1 Changed 10 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 10 years ago by Ryan J Ollos

Which version of Internet Explorer? Does the issue only occur with IE? Could you please test with other browsers?

comment:3 Changed 10 years ago by Rastlin

Hello,

I used IE, Firefox in the latest version and I had the same problem. In the current time I have to freeze this topic. The TracHours plugin works properly but this RSS feed doesn't work.

But thanks anyway for help :)

Best regards,

comment:4 Changed 10 years ago by Ryan J Ollos

Summary: RSS FeedUnable to update RSS feed

comment:5 Changed 10 years ago by Ryan J Ollos

Does the feed on /hours/1 work correctly, but the feed on /hours does not? If that's the case, the following patch might be correct.

Index: trachours/hours.py
===================================================================
--- trachours/hours.py  (revision 14703)
+++ trachours/hours.py  (working copy)
@@ -906,7 +906,7 @@
                 items.append(item)
 
         adapted['items'] = items
-        return 'hours.rss', adapted, 'application/rss+xml'
+        return 'hours.rss', adapted, 'text/xml'
 
     def tickethours2rss(self, req, data):
         """adapt data for /hours/<ticket number> to RSS"""

I think the plugin should probably be implementing IContentConverter, but not sure I will take the time to refactor it.

comment:6 Changed 10 years ago by Ryan J Ollos

Status: newaccepted

comment:7 Changed 8 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted
Status: acceptednew

comment:8 Changed 7 years ago by EmeCas

Owner: set to EmeCas
Status: newassigned

Reassigning to maintainer

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain EmeCas.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.