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

Check Content Tables is unable to solve issues #487

Open
darylknight opened this issue Oct 10, 2022 · 5 comments
Open

Check Content Tables is unable to solve issues #487

darylknight opened this issue Oct 10, 2022 · 5 comments

Comments

@darylknight
Copy link

darylknight commented Oct 10, 2022

Describe the bug

When I run Check Content Tables on our Craft 4 site, it finds all the errors below, but is unable to fix them. Any tips on how I can resolve these?

image

When I run the fixes, I get this:

image

Then if I run Check Content Tables again, I get the same results as before.

Steps to reproduce

  1. Run Check Content Tables

Craft CMS version

Craft CMS 4.2.5.2

Plugin version

3.0.2

Multi-site?

No

Additional context

Fairly old site - used to be Craft 2. Has also gone through extensive changes recently.

@darylknight
Copy link
Author

darylknight commented Feb 22, 2023

Still seeing this. First, run the check:

image

Then run the fixes:

image

Then if I click Done, and go back to check them again, I get exactly the same errors as in the first screenshot

@engram-design
Copy link
Member

Is a database dump something you can send through to [email protected] to help diagnose the issue?

@darylknight
Copy link
Author

Yep - sent! (Discord and email)

@engram-design
Copy link
Member

FYI, this can be largely ignored, as there's not an issue here. The content table checker is really here for Craft 3.x migrations, due to how major those "minor" versions used to be, and not really needed in Craft 4. They'll be removed in Craft 5 (if Super Table is to exist there).

As such, this migration was just outdated to not include the field column suffixes added in later 3.x versions.

This is however fixed on the craft-4 branch for the next version.

@darylknight
Copy link
Author

Sounds great, thank you

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