Problem/Motivation
When adding a Profile relationship to a View, the Config Inspector module reports missing schema definitions.
The profile module currently defines schema for views.argument_default.current_user_profile, but it does not provide schema for relationships (views.relationship.*).
As a result, Views configurations that include the profile_relationship plugin produce schema validation errors.
Steps to reproduce
- Enable the Profile module.
- Create a View based on users.
- Add a relationship to a profile (Profile type: e.g., "regular_user").
- Export the View configuration to YAML.
- Run Config Inspector → you will see warnings about profile_type having no schema definition.
Proposed resolution
Add a schema definition for the profile_relationship Views plugin in profile/config/schema/profile.schema.yml
Issue fork profile-3550079
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ivnishComment #5
jsacksick commentedComment #7
ivnishThanks Jonathan!