"The website encountered an unexpected error. Please try again later."

This error occurs when creating a new feed after the import has finished or when I try to acces the node.

URL was: http://mori.drupal7.dev/content/rss-feed-klassik-newsde

From the log:
2010-11-27 10:23:14 2010-11-27 10:23:12 Created 15 nodes info Feed RSS-Feed Klassik-News.de

Type php
Date Saturday, 27. November 2010 - 10:27
User admin
Location http://mori.drupal7.dev/content/rss-feed-klassik-newsde
Referrer http://mori.drupal7.dev/admin/reports/feeds?render=overlay
Message EntityMetadataWrapperException: Unknown data property field_tsr_headline. in EntityStructureWrapper->getPropertyInfo() (line 291 of /Applications/MAMP/htdocs/drupal-7.0-beta/sites/mori.drupal7.dev/modules/corefunctions/entity/entity_metadata/entity_metadata.wrapper.inc).
Severity error
Hostname 127.0.0.1

Type php
Date Saturday, 27. November 2010 - 10:27
User admin
Location http://mori.drupal7.dev/content/rss-feed-klassik-newsde
Referrer http://mori.drupal7.dev/admin/reports/feeds?render=overlay
Message Notice: Undefined variable: hide_site_name in include() (line 37 of /Applications/MAMP/htdocs/drupal-7.0-beta/sites/mori.drupal7.dev/themes/bartik_mori/templates/maintenance-page.tpl.php).
Severity notice
Hostname 127.0.0.1

I did not made any changes in this template.

I use php 5.2.13 and all the latest dev-versions of core & modules.

Comments

Dave Reid’s picture

Title: "unexpected error" after import of a new created feed » EntityMetadataWrapperException: Unknown data property field_tsr_headline. in EntityStructureWrapper->getPropertyInfo()
Project: Feeds » Entity API
Version: 7.x-2.x-dev » 7.x-1.x-dev
Component: Code » Entity property wrapper
Category: bug » support
Priority: Critical » Normal

Sounds like this is a bug in Entity, not feeds based on your log.

fago’s picture

Project: Entity API » Feeds
Component: Entity property wrapper » Code

Such exceptions occur when someone uses the wrapper to write something that does not exit, i.e. write a node field which is not assigned to the node-type. Thus, the problem should be in the calling code.

Maybe, you are using the generic-entity wrapper patch? Sounds like it should catch exceptions like that and log it to the feeds logger.

MegaChriz’s picture

Status: Active » Closed (works as designed)

Feeds doesn't seem to use the entity metadata wrapper anywhere in its code. The generic entity processor has been moved over to https://www.drupal.org/project/feeds_entity_processor and doesn't provide targets for fields. So this was either an issue in the module that provided the target for field_tsr_headline or it is no longer an issue in the current version.