problem about entity-reference-Collection of common programming errors


  • jhoffmcd
    7 rules entities entity-reference relation
    I have a Rule which triggers on a Relation update. It then checks for the Entity type of the first endpoint of the Relation. Then checks for a specific field. When I try to set an action to change this specific field, I get these errors related to the Revision ID which I can’t seem to figure out.Notice: Undefined property: stdClass::$revision_id in drupal_write_record() (line 7030 of …\www\includes\common.inc).Notice: Undefined property: RedhenContact::$revision_id in EntityAPIController->save

  • Molot
    views entity-reference i18n translation
    I know I can simply add language to displayed title of a node in Entity Reference field based on views. What I failed to discover is how to limit possible values to only show and allow matching ones.When current node is language independent, all nodes should be listed as possible in reference field. When node has language defined, only nodes of the same language, or undefined language, should be available.I don’t really mind wrong selection to be saved in database if language of node will be cha

  • randomblink
    entity-reference entity-api entity.module
    PrefaceI have a fresh site install of Drupal. I’m fairly new to Drupal, but I feel rather confident with anything but module hacking right now. I’ve just finished about a month+ of editing and tweaking a play site to get comfortable with the Drupal theme engine and feel I am ready to move on. So I started putting together a real site using Drupal (rather than my play one).I installed Entity API, Entity Reference, Views, and a few more.GoalMy goal is to create Video Tutorials (custom content) tha

  • Sean Cunningham
    views organic-groups entity-reference
    Apologies if this question has already been answered. I’m developing an emergency notification site using Drupal 7 and Organic Groups and currently it’s building-driven — i.e., the buildings are the groups which have users connected to them. They can add notes, photos, etc. and all works well.Now it seems that it would be better to have an event-driven system. Admins could create an event (such as a hurricane) and then assign those buildings that are in the path of the event. I’ve tried cre

  • Morpheu5
    7 fields i18n entity-reference entity-field-queries
    I’m using Drupal 7.14 and Entity API and Reference 1.0-rc3. I get this error when saving a node that has some custom fields using references.PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column’field_data_body0.nid’ in ‘on clause’: SELECTfield_data_body0.entity_type AS entity_type,field_data_body0.entity_id AS entity_id, field_data_body0.revision_idAS revision_id, field_data_body0.bundle AS bundle FROM{field_data_body} field_data_body0 INNER JOIN {node} node ONfield_data_body0.ni

  • jastylr
    entity-reference views-relationships openlayers
    I’m using Drupal 7.15 to implement an music event site which allows users to search for events in their area and return a list of those events along with the associated venue and distance.I have 2 content types, Venue and Event where the Event type uses an Entity Reference field to reference the Venue where the event is being held. The Venue type has an Addressfield which is geocoded by the Geofield module.I have had no problem creating a View of just Venues which uses an exposed Openlayers Prox

  • Laurance Rosenzweig
    entity-reference entity.module
    I’m running a Drupal 7.21 site that uses the Entity Reference module (v.7.x-1.0) to support reusing image nodes in other node types. After several months of smooth sailing , I’m seeing a new error when I try to view image nodes on my site. The error is:EntityMetadataWrapperException: Unknown data propertyfield_entity_image. in EntityStructureWrapper->getPropertyInfo()The property named in the error, “field_entity_image”, is the name of an Entity Reference field that exists on other node types (a

Web site is in building

I discovery a place to host code、demo、 blog and websites.
Site access is fast but not money