Problem/Motivation

While importing entity we face this warning:-
Warning: Undefined array key "path" in Drupal\entity_share_client\Plugin\EntityShareClient\Processor\EntityReference->processEntity()

Steps to reproduce

1. Configure entity share
2. Go to pull form and try to import an entity having multiple referenced entities
3. You will get this warning at logs.
Warning: Undefined array key "path" in Drupal\entity_share_client\Plugin\EntityShareClient\Processor\EntityReference->processEntity()

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

adwivedi008 created an issue. See original summary.

adwivedi008’s picture

Issue summary: View changes
shreya_th’s picture

Assigned: Unassigned » shreya_th
shreya_th’s picture

Assigned: shreya_th » Unassigned
StatusFileSize
new1.09 KB

Hi @Grimreaper,
I have fixed this issue i.e. Undefined array key "path" in EntityReference.php file. Kindly review the patch file.

shreya_th’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 4: entity_share-Undefined_array_key-3390136.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

abhishek_virasat made their first commit to this issue’s fork.

abhishek_gupta1’s picture

Status: Needs work » Needs review

@adwivedi008, I have fix the issue . please kindly review the MR