Provide upgrade path if functionality is added to core

Created on 16 November 2021, almost 3 years ago
Updated 16 June 2024, 5 months ago

Problem/Motivation

If functionality is added to core, we need to ensure this module still works correctly, and that users can move to using the core version. There is an issue currently being worked on here: https://www.drupal.org/project/drupal/issues/2245767 Allow blocks to be configured to show/hide on 200/403/404 response pages Fixed

Proposed resolution

Test module continues to work, and there are no conflicts with core.
Provide an upgrade path, so users can move to using the core version, and safely uninstall this module.

Remaining tasks

Test module continues to work with changes, once core issue is complete.
Work out proposed upgrade path for 401, 403, 404.
Provide the upgrade path, if possible. Otherwise, ensure this works along side core implementation.

🌱 Plan
Status

Fixed

Version

3.1

Component

Code

Created by

🇬🇧United Kingdom jefflogan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom jefflogan

    Drupal 10.2 now allows for setting Block visibility for the status codes 200, 403, and 404. So for most users they should be able to move to using core. However, this module can safely run along side core's implementation.

    The only exception is that the status code 401 isn't provided for, but that probably isn't being used by most people.

    Once you configured all your blocks to use Drupal core, instead of this module, it is safe to uninstall this module.

    I have added a block listing of all blocks that are using the Block condition provided by this module. This can be found under Configuration > Development > HTTP Client Error Status Block Listing (or /admin/config/development/http-client-error-status ).

  • Status changed to Active about 1 year ago
  • Status changed to Fixed 6 months ago
  • 🇬🇧United Kingdom jefflogan

    A partial upgrade path is now available in the 3.1.x branch.

    There is a listing page (/admin/config/development/http-client-error-status) of all the blocks using this modules plugin for block visibility, allowing for manual configuration to swap from this module to core.

    There are also Drush commands that provide a list and to update existing blocks to use core block visibility for request status code.

    Please note that only 403, 404 and 200 status codes are catered for.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024