I upgraded from alpha 12 to alpha 14 today.

When I tried to edit a Feed node, I discovered there was nothing in the URL field.

I downgraded back to alpha 12, and now the URL field has the data I entered before.

Comments

alex_b’s picture

I take it you ran update.php - right?

Kristi Wachter’s picture

I'm nearly positive I did.

Just to be sure, I just re-upgraded:

* removed feeds dir from sites/all/modules
* moved feeds-6.x-1.0-alpha14.tar.gz back into sites/all/modules and untarred it
* ran update.php
* tried editing a feed node

... and I'm getting the same issue. When I edit a feed node, the URL field is empty. (And if I try to save it, I get a validation error, which is great because it (a) alerted me to the problem and (b) kept me from saving my feed with no URL. [grin])

Just out of curiousity, I expanded the options on the update.php page and Feeds was not showing any available updates.

Thanks in advance for any suggestions or fixes!

alex_b’s picture

Just out of curiousity, I expanded the options on the update.php page and Feeds was not showing any available updates.

Yeah, sorry for sending you on a wrong lead :/

Are you using the simple pie parser? Did you make sure that you copied the simplepie.inc library back into the new feeds modules directory? If yes, can you tell me a little more about the importer configuration that is causing the problem?

Kristi Wachter’s picture

No, I'm using Common Syndication Parser. Should I switch to Simplepie?

Here are my feed settings:

Basic:
* Attached to: Feed
* Refresh: every 30 min
* Import on create

Fetcher:
* HTTP Fetcher

Parser:
* Common Syndication Parser

Processor:
* Node processor

I'm grabbing Twitter tweets via search.twitter.com (ie http://search.twitter.com/search?q=alex_b+rocks), if that matters.

Thanks!

alex_b’s picture

Hm. I've upgraded a bunch of Feeds sites from 12 to 14 and haven't run into this problem. Also: the structure of the db table hasn't changed in the meantime... If I where to debug personally I'd have a look at the feeds_source config field and see whether the key of the item that holds the URL matches with my importer configuration. For instance, if your importer uses FeedsHTTPFetcher, there should be a key 'FeedsHTTPFetcher' in the serialized array that sits in feeds_source.config.

Vacilando’s picture

Same problem... I put a valid RSS feed into field "URL" of the feed item and save it, but when I edit it again, the feed URL field is empty!

(Feed settings same as Kristi Wachter's.)

Vacilando’s picture

Version: 6.x-1.0-alpha14 » 6.x-1.0-alpha15

Problem remains even after upgrade to alpha15.

Vacilando’s picture

Status: Active » Needs work

Found something.

In table feeds_source there was just this:
feed 319585 b:0; b:0;

While there should be something like
feed 319585 a:1:{s:16:"FeedsHTTPFetcher";a:1:{s:6:"source";s:86:"http://example.com/rss";}} http://example.com/rss b:0;

So what I did was I deleted the feed item I had and created a new one. This one immediately accepted the RSS URL.

The problem was -- and this needs work -- that when I first created the feed item, I had done so before configuring feed settings.
I had saved the feed item without the feed URL field, then I edited feed settings and selected "Attach to content type" -> "Feed item", then I re-edited my feed item, the feed URL field was there, but when saving it would not hold the content.

kenorb’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.