3

I have a simple master-detail use-case with Customer as a master entity, and Estimate, a detail entity. In Estimate, I've created an Entity-Reference field called "Customer Name" that refers to the same column in the Customer entity.

But in Estimate entity, when I try to assign a widget type of "Inline entity form - Single value" to Customer Name, it threw the below error :-((

My objective is to provide an inline form so that user can add/edit customers while he is in the Estimate form itself. Please help.

Notice: Undefined property: stdClass::$nid in entity_metadata_no_hook_node_access() (line 619 of /home/prahlad/source/php/drupal7/sites/all/modules/contrib/entity/modules/callbacks.inc).
Notice: Undefined property: stdClass::$vid in entity_metadata_no_hook_node_access() (line 620 of /home/prahlad/source/php/drupal7/sites/all/modules/contrib/entity/modules/callbacks.inc).
Notice: Trying to get property of non-object in entity_metadata_no_hook_node_access() (line 620 of /home/prahlad/source/php/drupal7/sites/all/modules/contrib/entity/modules/callbacks.inc).
Notice: Undefined property: stdClass::$nid in node_access() (line 2999 of /home/prahlad/source/php/drupal7/modules/node/node.module).

closed as off-topic by kiamlaluno Dec 21 '15 at 10:46

  • This question does not appear to be about Drupal within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Well known problem, check project issue list: drupal.org/comment/7409230#comment-7409230 – Maciej Szewczyk Dec 17 '13 at 16:25
  • 2
    This question appears to be off-topic because it is a bugreport, for already reported bug. Bugreports are not allowed here. – Mołot Dec 3 '14 at 23:59
  • I'm voting to close this question as off-topic because it is about a bug which should be reported in the appropriate issue queue, if it is not already reported. – kiamlaluno Dec 21 '15 at 10:46

Browse other questions tagged or ask your own question.