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

Fix siteId not applied to asset find query #725

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

vnali
Copy link
Contributor

@vnali vnali commented Jul 24, 2020

it seems when feed-me create an asset, it always find element for primary site id. so if target site Id is not primary site, it add/updates element for wrong site.
this PR add siteId of target site to criteria to find correct element record after asset creation.

Related issues
for example #658 has same scenario.

it seems after feed-me create an asset,  it always find element for primary site id. so if target site Id is not primary site, it add/updates element for wrong site.
for example craftcms#658 has same scenario.
this PR add siteId of target site to criteria to find correct element record after asset creation.
@vnali vnali changed the title add target siteId to asset find query fix for asset - add target siteId to asset find query Aug 10, 2020
@vnali vnali changed the title fix for asset - add target siteId to asset find query Fix siteId not applied to asset find query Aug 10, 2020
@angrybrad angrybrad merged commit c30d6bd into craftcms:develop Nov 2, 2020
angrybrad added a commit that referenced this pull request Nov 2, 2020
@angrybrad
Copy link
Member

Thanks!

@brandonkelly
Copy link
Member

Feed Me 4.3.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

Successfully merging this pull request may close these issues.

3 participants