strapi-plugin-seo icon indicating copy to clipboard operation
strapi-plugin-seo copied to clipboard

Sometimes its create duplicate records in Database for content types.

Open RazaTayyab opened this issue 2 years ago • 4 comments

After Enabling the Seo, Plugin for different content types. After creating the SEO content the plugin attaches the component data to multiple content types. which cases the duplicate content of the content type. After deleting from one end it will also be deleted from other components type as well. In some cases, it also attaches the same component data to the same content-type records as well.

RazaTayyab avatar Jan 09 '23 10:01 RazaTayyab

I'm also encountering this issue.

nydavo avatar Apr 06 '23 21:04 nydavo

HEllo @RazaTayyab 👋

Thanks for the issue, can you give more context about this issue? I'm. not able to reproduce it.

Mcastres avatar May 24 '23 14:05 Mcastres

I have a similair issue.

Strapi Version: v4.12.1 Strapi Seo plugin version: 1.9.2 Node Version: 18.15.0

Collection Types: Pages Single Type: Global

Inside the Collection Type Pages I have a page called Blog containing the seo component which uses the sharedSeo component. In the Single Type Global I also have the seo component with the same setup. Whenever I change the seo of the Collection Type Pages > Blog and save it, the change is also made in the seo data of the Single Type Global seo data.

For me this is a no no in using this plugin because I can't keep track of what is being overwritten. It seems that the seo id's for both these Types are the same or something similair. They like share the same entry in the database.

mrpharderwijk avatar Aug 24 '23 18:08 mrpharderwijk

My first thinking is that it is more globally a Strapi issue rather than a plugin issue. Actually, the plugin just creates the component in the app but you manually associate it to your own content types so I don't really understand why this behavior happen :/

Mcastres avatar Aug 31 '23 13:08 Mcastres