Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration Views #34

Open
stpaultim opened this issue Sep 29, 2021 · 4 comments
Open

Registration Views #34

stpaultim opened this issue Sep 29, 2021 · 4 comments

Comments

@stpaultim
Copy link
Member

Not sure if this is a known issue. I didn't see it listed. I have no immediate need for a view of registrations, but for the purpose of testing this module I tried to create a view of registrations on my current test site.

registration-view

When I click on Continue and Configure, I get the following PHP error:

Function name must be a string

@jenlampton
Copy link
Member

jenlampton commented Mar 30, 2022

I'm having similar issues, but I'm not sure exactly what the Registration views module is supposed to provide since I can get almost everything I need without it.

Without the "registration views" module enabled, I don't think the Registration: Author entity author_uid relationship is working as expected. (This is the "almost" from above). Even though I am allowed to add this relationship to the view, any field I add using this relationship is not added into the view results.

When I enable the "registration views" module, the whole Views UI appears broken, flooded with errors, and the labels don't seem to be the correct data type:
Screen Shot 2022-03-30 at 12 55 38 PM

@jenlampton
Copy link
Member

For all the things that views expects to be a string, but are actually arrays, it looks as though the same information is provided twice, in an array:

Screen Shot 2022-03-30 at 1 15 48 PM

@jenlampton
Copy link
Member

jenlampton commented Mar 30, 2022

This is a view that works when the "Registration views" module is NOT enabled.
Screen Shot 2022-03-30 at 1 19 45 PM

After I enable the module, the interface breaks with all strings becoming arrays:
Screen Shot 2022-03-30 at 1 17 49 PM

I think the registration views module might be accidentally duplicating the views integration that comes from backdrop core, for all entites?

@argiepiano
Copy link
Contributor

argiepiano commented Apr 2, 2022

@jenlampton I'm unable to reproduce this issue.

This is without Registration Views:
Screen Shot 2022-04-01 at 8 59 43 PM

And this is with:
Screen Shot 2022-04-01 at 8 59 13 PM

Check your codebase - I'm wondering if perhaps you have the folder for registration in two places?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants