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

Drupal 10 upgrade woes - fix up the bugs #157

Open
3 tasks
geerlingguy opened this issue Nov 3, 2023 · 5 comments
Open
3 tasks

Drupal 10 upgrade woes - fix up the bugs #157

geerlingguy opened this issue Nov 3, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@geerlingguy
Copy link
Owner

It's late, don't have time to fix everything from #151 now, so I'll leave some things to check on here:

  • Aggregate CSS/JS doesn't seem to work anymore. No errors, just... no generated CSS/JS in public files directory.
  • Insert module seems to... not be inserting. I was noticing a bunch of CKEditor-related JS errors in the console, not sure where those are coming from (I don't have CKEditor installed).
  • Emails on localhost weren't sending (though Simple Mail seemed to work otherwise...), not sure if it was a sendmail configuration issue (using MailHog locally), or something else. But need to test email sends on the prod server.
@geerlingguy geerlingguy added the bug Something isn't working label Nov 3, 2023
@geerlingguy
Copy link
Owner Author

Insert is definitely not working on Prod, either (just like on Dev).

Screenshot 2023-11-02 at 11 26 11 PM
ReferenceError: Can't find variable: CKEDITOR
TypeError: undefined is not an object (evaluating 'editorInterface.getInstances')

Maybe Insert is assuming the Text Editor module is loaded or something? This is a bare text input field.

@geerlingguy
Copy link
Owner Author

Simple Mail Queue seems to have grabbed the comment correctly after I posted it...

Screenshot 2023-11-02 at 11 28 14 PM

After cron run, message was gone from queue table, and no errors popped up in watchdog.

Screenshot 2023-11-02 at 11 31 40 PM

Email arrived okay! Formatting is wonky, but something in a recent Drupal upgrade caused that... it's not the fault of the Drupal 10 upgrade.

@geerlingguy
Copy link
Owner Author

geerlingguy commented Nov 16, 2023

For Insert, I think it's a bug in the Insert module, since it assumes CKEditor 5 is present and active... see Can't Insert images into textareas (without CKEditor)

I also tried adding CKEditor and allowing Image upload. It works fine... but if I upload an image at 2x resolution and resize it down, the width is reduced in the final markup but the height seems to get locked into the image's original height, which makes the image all stretchy and weird. Very odd behavior. Would be so nice if Allow image style to be selected in Text Editor's image dialog were part of Drupal core :)

@geerlingguy
Copy link
Owner Author

geerlingguy commented Feb 5, 2024

It looks like Insert may be fixed as of beta 3! I will try now; see the issue linked in the comment above.

Edit: Looks like it is not fixed in beta3. There's also a patch that may make it work though!

@geerlingguy
Copy link
Owner Author

Still not working with latest patch either :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant