Edgewall Software

Ticket #281 (closed defect: fixed)

Opened 5 years ago

Last modified 3 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:

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

Changed 5 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)

Changed 5 years ago by jonas

  • status changed from new to assigned
  • milestone set to 0.7

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.

Changed 5 years ago by jonas

  • status changed from assigned to closed
  • resolution set to fixed

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

Add/Change #281 (Timeline RSS format doesn't show IDs)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.