Account created on 3 March 2006, over 18 years ago
#

Merge Requests

Recent comments

πŸ‡ΊπŸ‡ΈUnited States daddison

√ 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

πŸ‡ΊπŸ‡ΈUnited States daddison

√ 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

πŸ‡ΊπŸ‡ΈUnited States daddison

√ 8. Change version numbering to use semantic versioning

πŸ‡ΊπŸ‡ΈUnited States daddison

√ 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/

πŸ‡ΊπŸ‡ΈUnited States daddison

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.

πŸ‡ΊπŸ‡ΈUnited States daddison

√ Unit tests are updated to work with Drupal 11 (PHPUnit 10)

√ Automated tests pass D11 compatibility

πŸ‡ΊπŸ‡ΈUnited States daddison

√ Unit tests are updated to work with Drupal 11 (PHPUnit 10)

√ Automated tests pass D11 compatibility

πŸ‡ΊπŸ‡ΈUnited States daddison

√ 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

πŸ‡ΊπŸ‡ΈUnited States daddison

√ 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

πŸ‡ΊπŸ‡ΈUnited States daddison

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. πŸ‘πŸ»

πŸ‡ΊπŸ‡ΈUnited States daddison

I confirm that the updated steps in the issue description reproduce the error.

πŸ‡ΊπŸ‡ΈUnited States daddison

The patch applies to 10.2.2 and restores the proper styling.

πŸ‡ΊπŸ‡ΈUnited States daddison

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.

πŸ‡ΊπŸ‡ΈUnited States daddison

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.

πŸ‡ΊπŸ‡ΈUnited States daddison

The issue summary still seems solid to me.

πŸ‡ΊπŸ‡ΈUnited States daddison

@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.

πŸ‡ΊπŸ‡ΈUnited States daddison

I've also followed the "Steps to reproduce" and I also can't reproduce the bug.

πŸ‡ΊπŸ‡ΈUnited States daddison

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.

πŸ‡ΊπŸ‡ΈUnited States daddison

I re-rolled the patch against drupal/drupal, rather than drupal/core. Before and after screenshots attached.

πŸ‡ΊπŸ‡ΈUnited States daddison

Patch removes extraneous styling for inline block create button in stable9 theme.

Production build 0.69.0 2024