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

[4.x]: Lightswitch fields not importing correctly in Super Table field #1524

Closed
Jelmer-Ketelaar opened this issue Oct 3, 2024 · 2 comments
Closed
Assignees
Labels

Comments

@Jelmer-Ketelaar
Copy link

What happened?

Description

When importing data using the Feed Me plugin, lightswitch fields within a Super Table field are not being set correctly. Instead of reflecting the imported values, they remain in their default state.

Steps to reproduce

  1. Create a Super Table field with one or more lightswitch fields inside.
  2. Set up a Feed Me import mapping to populate the lightswitch fields.
  3. Run the import and check the results.

Expected behavior

Lightswitch fields should be set based on the imported values, either on or off as specified in the data.

Actual behavior

Lightswitch fields remain in their default state (either all off or all on), and do not reflect the imported values.

Craft CMS version

4.11.3

PHP version

8.1.29

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just i-just transferred this issue from craftcms/cms Oct 3, 2024
@i-just i-just self-assigned this Oct 9, 2024
@i-just
Copy link
Contributor

i-just commented Oct 9, 2024

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

@angrybrad
Copy link
Member

Feed Me 5.8.1 and 6.4.1 are out with the fix for this.

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