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

disable missing entries per site, not globally #517

Closed
rolfkokkeler opened this issue Apr 15, 2019 · 2 comments
Closed

disable missing entries per site, not globally #517

rolfkokkeler opened this issue Apr 15, 2019 · 2 comments

Comments

@rolfkokkeler
Copy link

Description

I would like to enable an import for a group, not per site basis.
The issue is as follows:
group 1 sites share a domainname.
Each of these sites has the same entries, only these can translated.

Group 2 sites use a different domainname.
A group 2 site can have specific group entries, but it also can share entries for group 1.

2 feedme import are defined:
1 for all sites, and 1 for the sites in group 2.
Each import creates entries in the same section.
The setting for the import for group 2 differs; it disables all missing entries.

Say import 1 contains data for entries {a,b,c,x,y,z} and import 2 contains data for entries {w,y,z}

Import 1 creates entries {a,b,c,x,y,z} for all sites.
Import 2 creates {w}, enables {y,z} and disables {a,b,c} for all sites!

Now the entries {a,b,c} are disable globally, however they should have been disabled only for the sites associated to import 2.

Additional info

  • Plugin version: 4.0.0
  • Craft version: 3.1.22
@brandonkelly
Copy link
Member

Just added this for the next release.

To get the fix early, change your craftcms/feed-me requirement in composer.json to:

"require": {
  "craftcms/feed-me": "dev-develop#a40071cf0e2338d4e084a87207cae99454b6f160 as 4.0.0",
  "...": "..."
}

Then run composer update.

@brandonkelly
Copy link
Member

4.1.0 is out now with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants