Bugs: Browse | Submit New | Admin

[#26674] Fields not updating in RSS feed module

Date:
2009-07-20 20:55
Priority:
3
Submitted By:
Steve Watkins (swatkins79)
Assigned To:
Admin Admin (kimberlygriggs)
Category:
Backend
State:
Open
Summary:
Fields not updating in RSS feed module

Detailed description
It appears that in the 1.3 RSS Feed module, the Result Set Size and Label fields are not being written to the MySQL
database rss_resources table. It appears that the Label should be stored in rss_resources.topic and the Result Set Size
in rss_resources.num_feeds. However, num_feeds seems to always revert to the default value of 6 and the topic field
is empty for all of our entries. I don't know which files are responsible for inserting the values from the form, but
they don't appear to be working for these two fields only. Other fields update just fine.

What's more puzzling is that occasionally the Label value will show up in the Edit form and occasionally it will also
appear in the Guide itself, but the database table contains no values at all. A caching issue, perhaps?

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-07-22 21:58
Sender: Admin Admin

Great! I have made the path changes to the package too. 
Date: 2009-07-22 21:53
Sender: Steve Watkins

No problem, Kim, glad that I asked! I uploaded the new set
of files and after making one edit to _add_feeds.rhtml, it
started working. I had to edit 'feed' to read 'shared/feed'
in lines 10 and 15 of _add_feeds.rhtml:

<div id ='feeds'>
                        <%=render :partial =>
'shared/feed',
:collection => @mod.feeds %>
</div>


<label><%= link_to_function
image_tag("/images/icons/add.png", :title => 'Click
to add a
feed', :alt => '', :border => 0)+" Add Feed"
do |page|
                                            page.insert_html
:bottom, :feeds, :partial => 'shared/feed', :object =>
Feed.new
                                   end  %>

Thanks!
Date: 2009-07-22 21:30
Sender: Admin Admin

OMG. I am so sorry. I was giving you files from the newest and
not from V1.3. I uploaded a new package. Please try and let me
know.

Date: 2009-07-22 20:29
Sender: Steve Watkins

I tried restarting the mongrel cluster and then restarting
httpd, but no luck. Is this maybe a ruby version issue? I'm
still running 1.8.5 and I know you had mentioned that you
would be looking to revising the code this summer to run on
2+. Sorry this is turning out to be so hard to pin down.
Date: 2009-07-22 19:41
Sender: Admin Admin

No that is how ruby hashes look. 

It is running on my machine (uploaded a screenshot). Did you
restart the server? Changes to models sometimes need that.
Date: 2009-07-22 19:05
Sender: Steve Watkins

I tried again, verifying that I copied over all the new
files including rss_resource.rb in the models directory, but
still see the same error message about "uninitialized
constant RssResource::NUMFEEDS"

I wondered whether the commas after the final pairs of
values in the NUMFEEDS and FINDFEEDSNUMS sections of
rss_resource.rb might need to be deleted, such as:

 NUMFEEDS = [
     ["3",       3],
     ["6",       6],
     ["9",       9],
     ["15",      15]  <== delete comma here?
   ]
  
 FINDFEEDSNUMS =  [
     ["1",      "1"],
     ["2",      "2"],
     ["4",      "4"],
     ["6",      "6"]  <== delete comma
here?
   ]

instead of:

 NUMFEEDS = [
     ["3",       3],
     ["6",       6],
     ["9",       9],
     ["15",      15], <==
   ]
  
 FINDFEEDSNUMS =  [
     ["1",      "1"],
     ["2",      "2"],
     ["4",      "4"],
     ["6",      "6"], <==
   ]

But it didn't change the error message when I tried it, so I
don't know why the NUMFEEDS array isn't being read as a
constant.
Date: 2009-07-22 17:57
Sender: Admin Admin

Did you update the RssResource.rb file? It should contain the
NUMFEEDS variable.
Date: 2009-07-21 19:28
Sender: Steve Watkins

Hi again,

I replaced all the files except _rss_resource_form.rhtml and
now see this error when trying to open an RSS module to edit:

 NameError in Module#edit_rss

Showing app/views/shared/_add_feeds.rhtml where line #7 raised:

uninitialized constant RssResource::NUMFEEDS

Extracted source (around line #7):

4:       <%= radio_button 'mod', 'style','mixed' %> Mixed
5: <label>Result Set Size
6: <span class = 'more_help'
onMouseover="fixedtooltip(ADD_FEED_NUM_MSSG, this, event,
'');" onMouseout="delayhidetip();"><%=
image_tag("/images/icons/small_help.png", :alt =>
'Tip',
:border => 0)%></span></label>
7: <%= select('mod','num_feeds', RssResource::NUMFEEDS,{},
{:class => 'page'}) %>	
8: 				
9: <div id ='feeds'>
10: 			<%=render :partial => 'feed', :collection =>
@mod.feeds %>
Date: 2009-07-21 19:22
Sender: Admin Admin

Shoot. I didn't catch that change. I think the bug fix should
work without updating that file. Try reverting to the previous
file and let me know.
Date: 2009-07-21 18:45
Sender: Steve Watkins

Hi Kim,

I copied over the various files, but now see this error when
trying to open an RSS module to edit:

 ActionView::ActionViewError in Module#edit_rss

Showing app/views/shared/_rss_resource_form.rhtml where line
#57 raised:

No rhtml, rxml, rjs or delegate template found for
/module/_title_actions in
/usr/local/src/alaCarte_V1.3/config/../app/views

Extracted source (around line #57):

54: 
55: <fieldset>
56: <h3 class='title'> 
57: 	<%=render :partial => '/module/title_actions'%>
58: 	</h3>
59: 	<h4>
60: 		<%if @page || @guide%>

Trace of template inclusion: /app/views/module/edit_rss.rhtml

RAILS_ROOT: /usr/local/src/alaCarte_V1.3/config/..
Application Trace | Framework Trace | Full Trace

#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:399
:in
`find_template_extension_for'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:333
:in
`pick_template_extension'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:249
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:59:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:58:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287
:in
`render'
#{RAILS_ROOT}/app/views/shared/_rss_resource_form.rhtml:57:in
`_run_rhtml_47app47views47shared47_rss_resource_form46rhtml'
#{RAILS_ROOT}/app/views/module/edit_rss.rhtml:1:in
`_run_rhtml_47app47views47module47edit_rss46rhtml'
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19

#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:399
:in
`find_template_extension_for'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:333
:in
`pick_template_extension'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:249
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:59:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:58:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`compile_and_render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301
:in
`render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:59:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:58:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`compile_and_render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301
:in
`render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:806:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:711:in
`render_with_no_layout'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layou
t.rb:247:in
`render_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:50:in
`render'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:50:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:1096:in
`perform_action_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:632:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:634:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:634:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:619:in
`perform_action_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:66:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:66:in
`perform_action_without_rescue'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescu
e.rb:83:in
`perform_action'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:430:in
`send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:430:in
`process_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:624:in
`process_without_session_management_support'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/sessi
on_management.rb:114:in
`process'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:330:in
`process'
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in
`dispatch'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:
76:in
`process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:
74:in
`synchronize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:
74:in
`process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`each'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configura
tor.rb:282:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configura
tor.rb:281:in
`each'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configura
tor.rb:281:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128
:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.r
b:212:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281

#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:399
:in
`find_template_extension_for'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:333
:in
`pick_template_extension'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:249
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:59:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:58:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287
:in
`render'
#{RAILS_ROOT}/app/views/shared/_rss_resource_form.rhtml:57:in
`_run_rhtml_47app47views47shared47_rss_resource_form46rhtml'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`compile_and_render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301
:in
`render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275
:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:59:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:26:in
`benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb
:58:in
`render_partial'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287
:in
`render'
#{RAILS_ROOT}/app/views/module/edit_rss.rhtml:1:in
`_run_rhtml_47app47views47module47edit_rss46rhtml'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326
:in
`compile_and_render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301
:in
`render_template'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260
:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:806:in
`render_file'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:711:in
`render_with_no_layout'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layou
t.rb:247:in
`render_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:50:in
`render'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:50:in
`render'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:1096:in
`perform_action_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:632:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:634:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:634:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:638:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:438:in
`call'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:637:in
`call_filter'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:619:in
`perform_action_without_benchmark'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:66:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/bench
marking.rb:66:in
`perform_action_without_rescue'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescu
e.rb:83:in
`perform_action'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:430:in
`send'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:430:in
`process_without_filters'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filte
rs.rb:624:in
`process_without_session_management_support'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/sessi
on_management.rb:114:in
`process'
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.
rb:330:in
`process'
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in
`dispatch'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:
76:in
`process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:
74:in
`synchronize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:
74:in
`process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`each'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`new'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configura
tor.rb:282:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configura
tor.rb:281:in
`each'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configura
tor.rb:281:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128
:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.r
b:212:in
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19

Request

Parameters: {"id"=>"4"}

Show session dump

--- 
:guide: 
:original_uri: 
:guide_list: 
:current_tab: 
:user_id: 3
flash: !map:ActionController::Flash::FlashHash {}


Response
Headers: {"cookie"=>[],
"Cache-Control"=>"no-cache"}

Also, when I tried editing the /module/title_actions to
replace it with the older version that called
mod.module_title, the system got past that line, but
generated a similar error message when it got to the
feed/find_feeds and feed/add_feeds statements.
Date: 2009-07-21 07:33
Sender: Admin Admin

Thanks for reporting these bugs. I have attached a folder with
bug fix. Please let me know if you have any questions and results
of tests.

Date: 2009-07-20 23:17
Sender: Admin Admin

Confirmed: Result set not sticking upon editing an add feeds
Confirmed: Typo
Confirmed: Label changes not sticking upon editing an add feeds
Confirmed: URL changes not sticking upon editing an add feeds
Confirmed: Content added to Information text box not being displayed
in preview

Betting on: Typo and update not actually being called. Will explore
and provide a bug fix.

Date: 2009-07-20 21:10
Sender: Steve Watkins

And after more experimentation, I see that if I delete a
feed and then re-add it, it will store both the label and
the feed URL with no problem. So it appears that it's only
editing existing content in the Label field that's not
working as expected.

Also, it appears that if one selects "mixed" feeds,
the
default num_feeds of 6 is enforced (3 each from 2 feeds, for
instance), but if one selects "seperate" (a typo in
the
label for "separate", by the way), then the num_feeds
options are able to be adjusted to other values. Is this a
feature rather than a bug?
Date: 2009-07-20 21:03
Sender: Steve Watkins

Took a closer look and I now see that the Label value is
being stored in the feeds table instead of the rss_resources
table. However, while it is sometimes being written and
updated there correctly, sometimes it is not updated after
making the edits in the Edit RSS Module screen and saving
them. I see instances of a saved label with a typo that does
not get overridden when saving a new edited version and also
instances of blank labels that do not get filled in and
written to the database after adding text to the edit screen.

Attached Files:

Name Description Download
RSSModBugs.zip RSS Module Bug Fix Download

Changes:

Field Old Value Date By
File Added4617: RSSModBugs.zip2009-07-21 07:33kimberlygriggs
assigned_tonone2009-07-20 21:04swatkins79