You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd suggest that instead of checking the value, it should check if the key exists.
FYI the reason I want to disable those is because I have multiple feeds which get triggered at the same time, and I only want to do those operations for the one that runs last.
Steps to reproduce
Set the feedOptions field in /config/feed-me.php to this:
[
'1' => [
'backup' => false,
]
]
Create a new feed. On the "Create a new feed" page, note how the "Backup" toggle is active.
Additional info
Craft version: 4.5.10
PHP version: 8.0.30
Database driver & version: MariaDB 10.5.13
Plugins & versions: Feed Me 5.2.0
The text was updated successfully, but these errors were encountered:
Description
I'm trying to disable the "Update search indexes" and "Backup" using the
feed-me.php
override config, but it's getting completely ignored.I tracked it down to this line: https://github.com/craftcms/feed-me/blob/develop/src/services/Feeds.php#L296
I'd suggest that instead of checking the value, it should check if the key exists.
FYI the reason I want to disable those is because I have multiple feeds which get triggered at the same time, and I only want to do those operations for the one that runs last.
Steps to reproduce
feedOptions
field in/config/feed-me.php
to this:Additional info
The text was updated successfully, but these errors were encountered: