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

Category from title '0' will not be created #1102

Closed
bencresty opened this issue Mar 4, 2022 · 1 comment
Closed

Category from title '0' will not be created #1102

bencresty opened this issue Mar 4, 2022 · 1 comment
Labels

Comments

@bencresty
Copy link

Description

When importing data categories should be created from a data string. This works perfectly, except when the title in the title field inside the json data is literally "0". Data with title "0" seems to be skipped by Feed-me, so instead of creating a new category with that string as title ("0") no category will be created at all.

This issue isn't the case in Craft itself as it's perfectly possible to just create a category item with title "0" when done manually. So this is an issue in feed-me.

feed me:
image

data:

[
   {
       "spriteKey": "0"
   }
]

Steps to reproduce

See above

Additional info

  • Craft CMS version: 3.7.36
  • Feed Me version: 4.4.1.1
  • PHP version: 8.x
  • Database driver & version: mysql/mariadb
@angrybrad
Copy link
Member

Resolved in #1339 and will be included in the next v5 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

2 participants