-
Notifications
You must be signed in to change notification settings - Fork 25
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
The convert command doesn't find Redactor fields in super table fields nested in matrix fields #109
Comments
I wasn’t able to reproduce this locally. Is it still happening for you? |
@brandonkelly Sorry for the late reply! Yes, I'm still seeing this issue. Note it only occurs in this specific setup (Redactor field inside a Super Table field inside a Matrix field). After running |
I also experienced this issue when running |
Running |
@brandonkelly Can't share a DB backup unfortunately :/ I'm still seeing the issue on the latest Craft & CKEditor versions. It's only happening with the specific field setup (Matrix field with a block type that contains a Super Table field, which in turn contains a Redactor field). Did you try to reproduce with that exact field setup? Not super important I guess since it's just a one-time operation to fix it. |
We experienced the same issue, just shared those files via email. |
Update: rebuilding project config with |
Likewise, this error just happened with us, with a Matrix field with a block type that contains a Super Table field. We'll send over the files if/when it happens again. |
Be great to add a little notice to the README until someone figures out a fix. Not fun having a panic attack during an upgrade and needing to dig-through GitHub bugs EDIT: |
Description
I just noticed that Redactor fields inside Super Table fields inside Matrix fields are not converted by the
ckeditor/convert
command.Looks like the command can't find those fields, because they don't show up in the output of the command at all.Regular Super Table fields (not nested inside Matrix fields) work fine.Edit: I was wrong, the nested fields do show up and they are even converted correctly in the
config/project/
folder. However, the changed config is not applied to the database for some reason, so the field still shows up as a Redactor field in the field settings. Runningphp craft project-config/apply --force
fixes this, after that the field correctly shows up as a CKEditor field.Can this be fixed inside the command? Or is this a Super Table issue?
In the meantime, it would probably be a good idea to add a note regarding this issue and the workaround to the README.
Steps to reproduce
php craft ckeditor/convert
. The YAML file insideconfig/project/superTableBlockTypes/
will be updated correctly. But the field will still show up as a Redactor field in the field settings in the backend.php craft project-config/apply --force
. Now the field settings in the backend should correctly show the field as a CKEditor field.Additional info
The text was updated successfully, but these errors were encountered: