ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

News RSS Feed <content> tag not populating (Bug #933)


Added by Gilbert Flamino at 2012-03-16 01:49 am. Updated at 2012-03-17 07:01 pm.


Status:Closed Start date:2012-03-16
Priority:Normal Due date:
Assignee:Felix Schäfer % Done:

0%

Category:Journals / History
Target version:3.1.0
Remote issue URL: Affected version:2.6.0

Description

After the upgrade to Release 2.6 (from 1.5.0) the News RSS feeds no longer contains data within the <content> tag. RSS feeds for Issues and the like look and operate fine; all contain data in the <content> tag. The bug appears to only affect the News RSS feed.


Associated revisions

Revision ef80597c
Added by Jean-Philippe Lang at 2008-03-27 12:22 am

Trac importer: exclude more Trac wiki pages (#933).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1297 e93f8b46-1217-0410-a6f0-8f06a7374b81

Revision df66e9b9
Added by Felix Schäfer at 2012-03-17 01:53 pm

aaj: default to don't force notes as event descriptions #933

Revision f0119485
Added by Felix Schäfer at 2012-03-17 01:55 pm

Use the news description as event description #933

History

Updated by Felix Schäfer at 2012-03-16 06:33 am

That's tangentially related to aaj, I know where this clashes and will post a fix soon.

  • Assignee set to Felix Schäfer
  • Category set to Journals / History

Updated by Felix Schäfer at 2012-03-17 12:57 pm

Fixed in f011948, thanks for reporting!

  • Target version set to 3.1.0
  • Status changed from Open to Closed

Updated by Gilbert Flamino at 2012-03-17 05:20 pm

Testing fix.

app/model/news.rb line#24

acts_as_journalized :event_url => Proc.new {|o| {:controller => 'news', :action => 'show', :id => o.journaled_id} },
:event_description => :description

After modification to code, Apache bounce, add a new News item, the <content> tag does not contain data for the RSS feed.

Example:

http://c.fitr.us/projects/a_3/news.atom?key=5ef05276f992f6b889f20859e8ffe78727105532

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>TestProj: News</title>
  <link href="http://c.fitr.us/projects/a_3/news.atom?key=5ef05276f992f6b889f20859e8ffe78727105532" rel="self"/>
  <link href="http://c.fitr.us/projects/a_3/news" rel="alternate"/>
  <id>http://c.fitr.us/</id>
  <updated>2012-03-17T17:06:11+00:00</updated>
  <author>
    <name>ChiliProject</name>
  </author>
  <generator uri="https://www.chiliproject.org/">
ChiliProject  </generator>
  <entry>
    <title>test news</title>
    <link href="http://c.fitr.us/news/1" rel="alternate"/>
    <id>http://c.fitr.us/news/1</id>
    <updated>2012-03-17T17:06:11+00:00</updated>
    <author>
      <name>Gilbert Flamino</name>
      <email>gilbert.flamino@somehwere.cc</email>
    </author>
    <content type="html">
    </content>
  </entry>
</feed>

Updated by Felix Schäfer at 2012-03-17 06:54 pm

You'll need the previous one, i.e. df66e9b9 too.

Updated by Gilbert Flamino at 2012-03-17 07:01 pm

That was it. Tested and it looks good.

Thank you!

Also available in: Atom PDF