{"id":15771773,"url":"https://github.com/thollander/strapi-repro-18350","last_synced_at":"2025-03-31T12:11:48.182Z","repository":{"id":227538533,"uuid":"771716727","full_name":"thollander/strapi-repro-18350","owner":"thollander","description":"Repro for Strapi #18350","archived":false,"fork":false,"pushed_at":"2024-03-13T20:29:06.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T15:12:32.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thollander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-13T20:17:53.000Z","updated_at":"2024-03-13T20:18:07.000Z","dependencies_parsed_at":"2024-03-13T21:39:25.018Z","dependency_job_id":null,"html_url":"https://github.com/thollander/strapi-repro-18350","commit_stats":null,"previous_names":["thollander/strapi-repro-18350"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thollander%2Fstrapi-repro-18350","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thollander%2Fstrapi-repro-18350/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thollander%2Fstrapi-repro-18350/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thollander%2Fstrapi-repro-18350/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thollander","download_url":"https://codeload.github.com/thollander/strapi-repro-18350/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465228,"owners_count":20781919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T15:05:02.590Z","updated_at":"2025-03-31T12:11:48.160Z","avatar_url":"https://github.com/thollander.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repro for https://github.com/strapi/strapi/issues/18350\n\nThere is a dataset present in the root folder : `export_20240313210813.tar.gz`\n\nYou can import it through : `yarn strapi import -f ./export_20240313210813.tar.gz --force`\n\nIf you run this command a first time with an empty database, it should work fine. \nYou should see a **Yellow shirt** in the `crossSelling` field of the `Homepage` while running `yarn develop`. \n\nHowever, if you run it again, a warning will be logged : \n\n```\n...\nwarn: Skipping link products.cross-selling:1 -\u003e api::product.product:3 due to a foreign key constraint.\n...\n```\n\nIt's only a warning but there is actually an error as the product **Yellow shirt** as disappeared from the `crossSelling` field of the `Homepage`. \n\nThis error seems to happen when you have multiple components within the same collection.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthollander%2Fstrapi-repro-18350","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthollander%2Fstrapi-repro-18350","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthollander%2Fstrapi-repro-18350/lists"}