-
Notifications
You must be signed in to change notification settings - Fork 4
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
YALB-1186 and YALB-1210: Upgrade to Drupal 10 and Pin versions in profile composer.json #440
Conversation
…ty patch for Drupal 10 support
…r CSS for linting issues
…formats, auto entity label, and autosave form
…w patch for adding PHP c format
…ts, and config modules
…dcumb, editoria11y, emulsify, entity redirect, fast 404, field group, formdazzle, gin, and gin layout builder
… spreasheet in Teams
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the permissions on this file were supposed to change or not but figured I would mention it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, so I followed these instructions and at the end (step 5) it said to change file permissions for that file to 644.
https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/upgrading-a-composer-based-site
We can certainly change it back to 755 if we want as that is still not world/group writable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good @codechefmarc! I tried to do a drush site install
locally on this branch to test installing from scratch and it failed due to not being able to install google_analytics from default config. Luckily there was a patch available so I added it in to resolve the issue.
Thanks, @vinmassaro! I'm looking into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work! I went through the public-facing pages and also built out a test page. All behaviors and displays looked similar to D9.
One odd thing I noticed, that resolved after re-setting a setting:
The Pre-built From submit button was failing contrast (pictured below). I went in and re-set the Theme settings for Global Theme and Button Theme and the issue resolved and I cannot for the life of me recreate it. I think it's a non-issue? Maybe a remnant of the palette updates?
Besides that, looks amazing! I'm OOO next week, so if any tweaks or a11y things come up, Mike V can help out!
Going through use cases and noticed these two things:
|
…erged, update to 1.1.0 version
@miketullo95 - The header accent colors are now showing up on the multidev, thanks for pointing that one out! |
@codechefmarc it occured to me that we are pinning versions in the profile's composer.json, but not in the root composer.json where Drupal core packages are defined. The |
@codechefmarc Is the recommended way to upgrade to remove |
Good call - yes, that should be included here. I don't have hours this week to tackle this, but @nJim may? |
@dblanken-yale - Yah, locally, I had some small issues with composer so I had to delete the lock file and the vendor directory and then run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looked great! Went through all of my AX use cases and only tasks that failed were
- CAS Restricted Nodes (Known issue, being worked on now)
- Adding a NetID user (did not have an NetID to test that was not already added to the environment)
YALB-1186: Upgrade to Drupal 10
YALB-1210: Pin versions in profile composer.json
Description of work
ys_views_basic
CSS,ys_layouts
UpdateExistingNodes.php
laminas/laminas-escaper
for BugHerd compatibility with Drupal 10composer.json
fileSpecific Module Testing
The following have not been tested as I wasn't aware how to test them. Perhaps someone from Yale is better able to test:
General Testing Note
Drupal 10 operates almost entirely like Drupal 9.5, but there were some changes. I did my best to test as much as I could on the multidev but it would be best to get as many eyes on this as possible and test multiple areas of the site. Below are some specific areas that needed some changes in reaction to the upgrade to Drupal 10.
Front-end testing steps:
Back-end testing steps: