Warnings in Oauth2ScopePluginController::view

Created on 4 June 2025, 3 days ago

Problem/Motivation

When showing static plugin scopes, the UI shows warnings, because of array access of undefined keys (role or permission).

Also if the plugin doesn't exist, the server responds with a stacktrace and 500 error.

Steps to reproduce

  • Create static scopes
  • View the scope

Proposed resolution

  • Check if array key isset
  • Throw a HTTP 404 error instead of PluginNotFoundException

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

6.0

Component

Code

Created by

🇮🇳India jeeva r

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