Remove default_argument_skip_url key from views.view.authmap

Created on 27 December 2024, 2 months ago

Problem/Motivation

The schema for the default_argument_skip_url was removed from Views in Drupal 11. See the change record β†’ . Unfortunately, they didn't properly deprecate the schema, so no one got any warning. See the latest comments in the issue where the schema was removed πŸ“Œ Skip default argument for view URL does not work and never has so it can be removed Fixed and a resulting issue to try and warn maintainers β†’ . Also see an issue for the Scheduler module πŸ“Œ Remove default_argument_skip_url key from view configurations Fixed where they're dealing with the fallout from this. The Scheduler tests started failing because of they had a leftover default_argument_skip_url in a view config.

From what I can tell, the External Authorization tests should be failing on D11 too, but the pipeline hasn't run in a few months and not on 11.1. I can't run the pipeline since I'm not a maintainer. So I may be wrong, in which case the issue priority can be downgraded. But if I'm right, then if you run the pipeline your tests will fail.

For the record, I found this problem because I'm trying to develop a test for a downstream module, OpenID Connect. I'm getting a "missing schema" error for the default_argument_skip_url key in views.view.authmap. See these pipeline results.

Steps to reproduce

Re-run your pipeline for the latest release.

Proposed resolution

Delete the default_argument_skip_url key from views.view.authmap.

Remaining tasks

  • Verify that tests fail.
  • Delete the key.
  • Test
πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024