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

Field data and paragraph items are not removed from database when deleted #11

Open
laryn opened this issue Aug 28, 2018 · 3 comments
Open

Comments

@laryn
Copy link
Member

laryn commented Aug 28, 2018

I have been doing some testing with Paragraphs and have identified a few issues with orphan data being left in the database:

- Field data: When I create new paragraphs on a content type and fill in the info, I can see them populate into the respective field_data_field_fieldname tables. However, if I delete that paragraph item, the content in that table is not removed.
- Paragraph item data: When I create a paragraph bundle and use it, then later remove it, the paragraphs_item table continues to hold information referring to bundles that no longer exist in paragraphs_bundle.

@herbdool
Copy link
Contributor

I see this too. I think it's worth comparing to D7 to decide if this is an issue.

@herbdool
Copy link
Contributor

I should clarify that the field tables are deleted but not the paragraph_item

@herbdool
Copy link
Contributor

I think you also need to delete the paragraph field in order for it to be removed from paragraphs_item. I tested this on a D7 site and it behaves the same way.

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