Edgewall Software
Modify

Ticket #281 (closed defect: fixed)

Opened 8 years ago

Last modified 6 years ago

Timeline RSS format doesn't show IDs

Reported by: jon@… Owned by: jonas
Priority: normal Milestone: 0.7
Component: timeline Version: devel
Severity: minor Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 8 years ago by art@…

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 Changed 8 years ago by jonas

  • Milestone set to 0.7
  • Status changed from new to assigned

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 Changed 8 years ago by jonas

  • Resolution set to fixed
  • Status changed from assigned to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.