Granularity Form validation and submition handlers are not called

Created on 5 June 2025, 3 days ago

Problem/Motivation

The scope granularities (implementing PluginFormInterface) have their configuration form in Oauth2ScopeForm as a sub form.

In the form, only buildConfigurationForm is called and not validateConfigurationForm or submitConfigurationForm.

Steps to reproduce

  • Override validateConfigurationForm in a Granularity plugin.
  • Set a breakpoint in or throw an exception in validateConfigurationForm.
  • The validateConfigurationForm is not called.

Proposed resolution

Manually call those methods in the Oauth2ScopeForm. I'm not sure what the best approach is, because i'm not verify confident with sub forms.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024