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

  1. Enable the Profile module.
  2. Create a View based on users.
  3. Add a relationship to a profile (Profile type: e.g., "regular_user").
  4. Export the View configuration to YAML.
  5. 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

Command icon 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

ivnish created an issue. See original summary.

ivnish’s picture

Assigned: ivnish » Unassigned
Status: Active » Needs review

  • jsacksick committed 044d954c on 8.x-1.x authored by ivnish
    Issue #3550079 by ivnish: Add views relationship schema
    
jsacksick’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

ivnish’s picture

Thanks Jonathan!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.