Edgewall Software
Modify

Opened 21 years ago

Closed 21 years ago

Last modified 19 years ago

#281 closed defect (fixed)

Timeline RSS format doesn't show IDs

Reported by: jon@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.7
Component: timeline Version: devel
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When using the RSS feed from the timeline view it doesn't include the ID of items, as shown in the following:

...
     <item>
	<author>jon</author>
        <pubDate>Fri, 23 Apr 2004 01:41:58 GMT</pubDate>
        <title>[]: Make DBObject use Config to get the DSN if none is defined.</title>	  
        <link>http:///trac.cgi/changeset/7</link>
        <description>Make DBObject use Config to get the DSN if none is defined.</description>
        <category>Changeset</category>
      </item>
...

Attachments (0)

Change History (3)

comment:1 by art@…, 21 years ago

The following patch fixes problem

--- trac/core.py        (revision 448)
+++ trac/core.py        (working copy)
@@ -287,6 +287,10 @@
         self.remote_user = os.getenv('REMOTE_USER')
         if os.getenv('HTTP_COOKIE'):
             self.incookie.load(os.getenv('HTTP_COOKIE'))
+
+        if os.getenv('HTTP_HOST'):
+            self.hdf.setValue('HTTP.Host', os.getenv('HTTP_HOST'))
+            
     
     def read(self, len):
         return sys.stdin.read(len)

comment:2 by Jonas Borgström, 21 years ago

Milestone: 0.7
Status: newassigned

The patch above fixes the broken <link>-tag (for trac.cgi at least) but the <title> is also broken. I'll commit a fix soon.

comment:3 by Jonas Borgström, 21 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [449]. Thanks for the report and the patch.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.