Problem/Motivation

Starting with Drupal 8.8, path aliases are no longer being processed during database updates, because the path alias system might not be in a functional state until all updates have been completed.

Proposed resolution

Subpathauto should do the same as core and don't try to process path aliases while running database updates.

Remaining tasks

Review.

User interface changes

Nope.

API changes

Nope.

Data model changes

Nope.

Release notes snippet

Nope.

CommentFileSizeAuthor
#2 3102336.patch1.23 KBamateescu

Comments

amateescu created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new1.23 KB

Tested manually and this patch allows you to access update.php when the Subpathauto module was installed on a (8.7) site that is trying to upgrade to 8.8.

  • lauriii committed e0d3fdf on 8.x-1.x
    Issue #3102336 by amateescu: Don't try to process path aliases while...
lauriii’s picture

Status: Needs review » Fixed

I could reproduce the fatal error. The fix for the problem looks good, and I could manually confirm that it works. Thank you @amateescu!

Status: Fixed » Closed (fixed)

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