-
Notifications
You must be signed in to change notification settings - Fork 139
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
Importing 'Enabled' status doesn't work #822
Comments
I'm also seeing this behavior. Any chance you've found a fix? |
I used an ugly backwards workaround... It only works if your XML contains ALL the entries you want
After the import, all entries not included in the XML will be |
I have a similar issue but with JSON imports. I tried |
I've been having moderate success with '1' but in quotes as a string. It does seem that it's not always consistent though. |
Also experiencing what sounds like the same issue. We are importing a JSON feed of entries, pulled from another system. The import works fine, but it is inconsistent that the entries come in as enabled. If they are not enabled, then when we run the feed again it seems to enable them. Any chance on a fix for this as the workaround posted does not fit our requirements since the feed we are importing only has a set of data from the last 2 weeks, but we want to keep all of the previous data enabled in Craft. |
We're also experiencing this issue - or at least one very similar - in Feed Me v4.3.6. We have a JSON feed of entries with a mix of 'Enabled' and 'Disabled' statuses. We have a separate task to build this JSON feed to ensure all existing statuses from Craft are preserved. I can see in the JSON file that the correct 'Disabled' status is set for my entry in question, however once the import runs the entry is set to 'Live'. We have other entries where the statuses are correctly preserved. The primary difference for the entries where we see the status being incorrectly applied, is that they were previously set to 'Live'. I have tested this by manually changing an entry from 'Live' to 'Disabled' in Craft, running the import (where the JSON feed has the correct 'Disabled' status) and can see the entry is reset to 'Live'. I've been through our own set up many times to see if anything is interfering, however it feels like the above bug. Any feedback would be helpful on this! |
Encountering same issue as #822 (comment) |
Feed Me 4.5.1 is out with a fix for this. Thanks for reporting! |
Description
Setting 'Enabled' status of Entries via an XML import is not working.
The FeedMe log shows that
"enabled":true
was detected and that the Entries were added or updated successfully:But the Entries remain in the 'Disabled' state.
Data is imported successfully to all other fields.
Even if I set 'Status' to "Use default value" and the default value to "Enabled" it still does not update the status.
Some things to note:
Steps to reproduce
<title>
and Status to<status>
"enabled":true
appearing in the Log)Additional info
The text was updated successfully, but these errors were encountered: