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

Element fields not being honored #1378

Closed
dr-codswallop opened this issue Nov 9, 2023 · 2 comments
Closed

Element fields not being honored #1378

dr-codswallop opened this issue Nov 9, 2023 · 2 comments
Assignees
Labels

Comments

@dr-codswallop
Copy link

Description

Importing nested element fields aren't populating.

Given a use case of populating an Agents section. Each Agent has a headshot asset, and there's an asset field for photo credit.

Example node from the XML feed:

<data>
  <agent>
    <ID>329</ID>
    <photo>https://example.com/wp-content/uploads/2016/11/joe-bloggs.jpg</photo>
    <credit>Mark Pringle</credit>
    <Firstname>Joe</Firstname>
    <Lastname>Bloggs</Lastname>
  </agent>

  ..more <agent> nodes

</data>

image

The asset gets created, but misses the 'photo credit' data. No evidence of it being used in the logs :

image

Tried it with a csv feed instead, but same issue.

Additional info

  • Craft version: 4.5.9
  • PHP version: 8.2
  • Database driver & version: MySQL
  • Plugins & versions: FeedMe 5.2.0
@fgd007
Copy link

fgd007 commented Nov 14, 2023

I have the same issue. I'm importing Entries via a json file. Each entry has an image object with additional fields, which I map with Element Fields. Unfortunately they're being ignored when importing the content.

  • Craft 4.5.9
  • Feed me 5.2.0
  • Database Postgresql
  • PHP 8.2

@angrybrad
Copy link
Member

Resolved in #1383 and will be included in the next release.

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

4 participants