β 1. Check for Drupal 11 code compatibility
One change required
1) web/modules/contrib/feed_block/src/EventSubscriber/FeedBlockCacheExpire.php:136
---------- begin diff ----------
@@ @@
* @return array
* An array of event listener definitions.
*/
- public static function getSubscribedEvents() {
+ public static function getSubscribedEvents(): array {
$events[KernelEvents::RESPONSE][] = ['onRespond'];
return $events;
}
----------- end diff -----------
β 2. Check for PHP 8.3 compatibility
β 3. Check for jQuery 4 compatibility
β 4. Update core version requirements to include Drupal 11
β 5. Drop Drupal 8 and 9 support
β 6. Unit tests are updated to work with Drupal 11 (PHPUnit 10)
β 7. Automated tests pass D11 compatibility
D11 tests passed. Automated phpunit testing against Drupal 10 returned the following errors, due to this change.
1) Drupal\Tests\feed_block\FunctionalJavascript\RssTypesTest::testRss
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for block_content.type.feed_block with the following errors: block_content.type.feed_block:revision variable type is boolean but applied schema class is Drupal\Core\TypedData\Plugin\DataType\IntegerData
2) Drupal\Tests\feed_block\FunctionalJavascript\RssTypesTest::testYouTube
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for block_content.type.feed_block with the following errors: block_content.type.feed_block:revision variable type is boolean but applied schema class is Drupal\Core\TypedData\Plugin\DataType\IntegerData
I tested the D11-compatible code on a stock D10 site. Feed block revisions remain enabled even with boolean config value true
, rather than 1
.
β 8. Change version numbering to use semantic versioning
β 1. Check for Drupal 11 code compatibility
β 2. Check for PHP 8.3 compatibility
β 3. Check for jQuery 4 compatibility
β 4. Update core version requirements to include Drupal 11
β 5. Drop Drupal 8 and 9 support
6. Unit tests are updated to work with Drupal 11 (PHPUnit 10)
7. Automated tests pass D11 compatibility
β 8. Change version numbering to use semantic versioning
β 8. Change version numbering to use semantic versioning
β 6. Unit tests are updated to work with Drupal 11 (PHPUnit 10)
β 7. Automated tests pass D11 compatibility
β 8. Change version numbering to use semantic versioning https://semver.org/
Hi @aperndo and @immaculatexavier,
You should be able to edit the MR in the gitlab interface to change the target branch to 2.x via the drop-down.
β Unit tests are updated to work with Drupal 11 (PHPUnit 10)
β Automated tests pass D11 compatibility
β Unit tests are updated to work with Drupal 11 (PHPUnit 10)
β Automated tests pass D11 compatibility
β Check for Drupal 11 code compatibility
docker@cli:/var/www/web/modules/contrib/updated$ drupal-check -d ./
6/6 [ββββββββββββββββββββββββββββ] 100%
[OK] No errors
Thanks for using drupal-check!
β Check for PHP 8.3 compatibility
php-compat ./
......
Time: 1.59 secs; Memory: 12MB
β Check for jQuery 4 compatibility
Module does not use jQuery
β Update core version requirements to include Drupal 11
β Drop Drupal 8 and 9 support
β Check for Drupal 11 code compatibility
docker@cli:/var/www/web/modules/contrib/iframe_title_filter$ drupal-check -d ./
3/3 [ββββββββββββββββββββββββββββ] 100%
[OK] No errors
Thanks for using drupal-check!
β Check for PHP 8.3 compatibility
php-compat ./
...
Time: 194ms; Memory: 12MB
β Check for jQuery 4 compatibility
Module does not use jQuery
β Update core version requirements to include Drupal 11
β Drop Drupal 8 and 9 support
Patch reviewed.
I applied the patch at #74 to the 8.x-1.x branch.
The module no longer presents the "unhelpful validation warning to consider using a URL alias instead" when adding a redirect from an internal path to an external URL.
The patch removes the unnecessary use
statements, as indicated in the second point. ππ»
I confirm that the updated steps in the issue description reproduce the error.
daddison β created an issue.
The patch applies to 10.2.2 and restores the proper styling.
I'm using the 3.0.0-beta3 version of the module and have encountered the same issue with titles not imported from a RIS file. I have tried with a RIS file I generated and with the sample file provided by @camilocodes in the original issue.
daddison β created an issue.
daddison β created an issue.
I might have been unclear on the steps to reproduce. I enabled layout builder and layout builder restrictions for basic page on vanilla Drupal 10.1.5. I added one reusable and one inline Basic block to a node. Then I created a custom block type and added one reusable and one inline instance of the custom block to the node. I could not reproduce the error.
The issue summary still seems solid to me.
@johnv Yes, I did test with π Fix field cache for anonymous users by disabling caching in Status formatter Fixed implemented.
My use case is a university dining website with open/closing times on various locations. They still show up as open for anonymous users after they close, and vice-versa.
For sites that have page-level caching and, especially for sites that also use edge-caching via a reverse proxy such as CloudFlare or Fastly, the proposal to disable caching for anonymous users is not viable.
We need a different solution because we have to use caching.
I've also followed the "Steps to reproduce" and I also can't reproduce the bug.
I re-rolled the patch against 8.x-1.11.
Great work! I also test on a clean install of the umami profile.
Why are content blocks available as a linkable entity? Blocks do not have url paths.
When I link to a content block in the wysiwyg, the rendered output points to the admin configure form for the block. I think this behavior is of limited utility, and potentially confusing for many users.
I think content blocks should be removed from the available entity types that can be linked.
I re-rolled the patch against drupal/drupal, rather than drupal/core. Before and after screenshots attached.
Patch removes extraneous styling for inline block create button in stable9 theme.
daddison β created an issue.
daddison β created an issue.