Closed (fixed)
Project:
Feedparser
Version:
5.x-1.x-dev
Component:
feedaggregator_node
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2007 at 23:24 UTC
Updated:
10 Aug 2007 at 18:03 UTC
I noticed that there is a conflict in my installation between the two names. In the code it mostly uses "aggregator-item". But when I went to /admin/content/types/aggregator-item it shows me:
Type:
aggregator_item
The machine-readable name of this content type. This field cannot be modified for system-defined content types.
The nodes ended up having no type. I am not sure if I caused something wrong during my installation but would like to know what the correct name is ("-" or "_"). I assume "aggregator-item" since "_" (underscore) is often used for separating parts in function names.
I will try for now to make it work with "aggregator-item". Just have to find why the above message told me to use "_", and if there is a place where "_" should be changed to "-" to correct it and have the nodes having a proper type.
Comments
Comment #1
rseiser commentedI could not make it work using "aggregator-item". So I started all over and considered changing some of the "aggregator-item" to "aggregator_item". One that did make things work was in feedaggregator_node.module:
Now most things work. I am not sure if this change is appropriate, so the author should verify it.
Comment #2
gwen commentedI had the same problems as rseiser, but I have a slightly different fix. I noticed that aggregator-item is used in all cases but one, so I made the following change instead:
Comment #3
gwen commentedI've been exchanging emails with rseiser about whether his patch or mine seems to be the more appropriate way to do things and in the process, discovered a few related issues. On a clean install of my patched module:
* /node/add/aggregator-item returns info shown on the parent page
* /admin/content/types/aggregator-item returns info shown on the parent page
I was able to get both these pages while I was testing, but I haven't been able to reproduce on a clean install. I am investigating.
Comment #4
buddaHopefully this is all fixed in CVS. It was related to a patch from somebody else for the adding of the feedaggregator_node_node_info() function.
Comment #5
robsteranium commentedI DL'd the CVS versions for the DRUPAL-5 branch and overwrote the 5.x-1.x-dev originals. I have confirmed that my modules directory now includes feedaggregator_node.module,v 1.42.4.6 2007/07/17 16:38:09 . Update.php ran successfully.
I still can't edit the content type page. I face the same problem as gwen:
Comment #6
(not verified) commented