Invalid permissions will trigger runtime exceptions in Drupal 10

Created on 13 March 2024, 8 months ago
Updated 13 May 2024, 6 months ago

Problem/Motivation

I'm working on a big upgrade from Drupal 9.5 to drupal 10. In the upgrade status module I get this warning:

Invalid permissions will trigger runtime exceptions in Drupal 10. Permissions should be defined in a permissions.yml file or a permission callback.

I'm running the latest version of this module but still loads of field permissions are mentioned in this warning. What should I do to solve this?

πŸ’¬ Support request
Status

Active

Version

1.3

Component

Miscellaneous

Created by

πŸ‡³πŸ‡±Netherlands zebda

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

Comments & Activities

  • Issue created by @zebda
  • πŸ‡³πŸ‡±Netherlands zebda
  • πŸ‡³πŸ‡±Netherlands zebda

    Can someone help me with this?

  • πŸ‡ΊπŸ‡ΈUnited States solotandem

    It would seem the upgrade status module is reporting false positives. This module defines the 'field' permissions in a permission callback. Have you inspected the code in this module? Have you tested the field permissions on a drupal 10.x site? In my experience they work just fine.

    While you may have a concern, the issue summary is lacking and fails to comply with community bug reporting guidelines. If you can demonstrate a bug due to the code in this project, then please update the issue summary. Until then an issue type of support request seems more appropriate.

  • πŸ‡­πŸ‡ΊHungary Balu Ertl Budapest πŸ‡ͺπŸ‡Ί
Production build 0.71.5 2024