No results by View with a relation on not related fields

Created on 11 December 2020, over 3 years ago
Updated 28 April 2023, about 1 year ago

Problem/Motivation

When the module is installed, the views don't return any results when the view contains a relationship with not related fields between content types.

In my case, I create a content type views with multiple content types and create some 'not required' relation to one of the contents types to display some related information.

The result without the Module is a list of all the records from selected content types with sometimes some related information.
If I activate the module, with full access anywhere, the result of the view is empty

(I don't need to create a view with multiples content types for create the issue. Is only to explain the case)

Steps to reproduce

Create 2 content types with different fields. And create some data on both content types.
Create a view based of one content type.
Set the show format to fields, (Field title is automatically created)
Create a relationship with a field to the other content type
set require relation
Save and show the Page with an unregistered user.
You should see some data

Now Activate the Module
Run the Rebuild permission.
Refresh the page with the unregistered user.
(This is the problem)
And the unregistered has access on both content types data. Only not in this view.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024