Problem/Motivation

Hello, I found that features do not reverted for reference entities fields with IEF (Inline Entity Form).

Steps to reproduce

1. Setup clean D7 site with:

  • Core 7.73
  • Ctools 1.17
  • Entity API 1.9
  • Entity Reference 1.5
  • Features 2.11
  • IEF 1.9

2. Create Test field in Article content type with:

  • Field type: Entity Reference
  • Widget: Inline entity form - Multiple values
  • Inline Entity Form: Node (Allow users to add new nodes, Delete referenced nodes when the parent entity is deleted)
  • Number of values: Unlimited
  • Entity selection mode: Simple
  • Target bundles: Article

3. Create Test feature where export content type Article and all its fields. Install it on site.
4. Edit Target bundles: Article, add Basic Page.
5. Try to revert feature back to Article, it don't work.

Proposed resolution

Feature reverted successfully.

Note: if I add Basic Page to feature, reverting works. But, why I need to add whole content type to feature for that? It seems too complicated.

Thank you!

Comments

Andrew Answer created an issue.

donquixote’s picture

Hi.
First observation:
I see you were using features 7.x-2.11.
This means it is not a regression since last stable, so it is not a blocker for 7.x-2.12 release.
This is good to know for me :)

I may look at this when I have time, but until then you are welcome to do your own investigation, and provide a patch or technical analysis.