Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selectable Element fields not matching the Entry type's field layout #1499

Closed
tibbis opened this issue Aug 25, 2024 · 2 comments
Closed

Selectable Element fields not matching the Entry type's field layout #1499

tibbis opened this issue Aug 25, 2024 · 2 comments
Assignees
Labels

Comments

@tibbis
Copy link

tibbis commented Aug 25, 2024

Description

The Element fields available to map within a given Entries field don't match the fields from that Entry type's field layout.

This has been reported previously several times but has been closes on previous updates. However it seems the bug has come back again.

Steps to reproduce

Example: Issue 825

FeedMe plugin version: 6.3.0

Additional info

  • Craft version: Pro 5.3.5
  • PHP version: 8.2.22
  • Database driver & version: MySQL 8.0.36
  • Plugins & versions:
@i-just
Copy link
Contributor

i-just commented Sep 2, 2024

Hi, thanks for reporting! I raised a PR for this.

To clarify, how the inner fields mapping works in terms of entries:

  • if you have an entries field set to only have a single source e.g. section blog and that section only has one entry type, e.g. article - the outcome should be that some (more on that later) custom fields from the article entry type's field layout will show as available for inner mapping;

  • if you have an entries field set to only have a single section and that section has multiple entry types, the first entry type will be used;

  • if you have an entries field set to have multiple sources selected, then the first section and its first entry type will be used;

  • note that I mentioned that only some custom fields will be available for inner mapping; for example, you can’t map relation (assets, categories etc), table, or matrix fields this way;

@i-just i-just self-assigned this Sep 2, 2024
@angrybrad
Copy link
Member

Resolved in #1503 and will be included in the next v5 and v6 releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants