Tabs block disappears from page when Registrations tab is entered from /user/% > /user/%/registrations

Comments

the_glitch created an issue. See original summary.

owenbush’s picture

Adding RE Stable Release Blocker tag

owenbush’s picture

Status: Active » Needs review
StatusFileSize
new2.49 KB

Attached is a patch to address the missing tabs. If installing the views submodule afresh it should be enabled by default with the views config import. If you already have the views submodule enabled, then there is a hook update to run to add the tabs.

owenbush’s picture

StatusFileSize
new2.47 KB

Fixing minor coding standards issue with missing blank line at the end of the .install file.

the_glitch’s picture

The explanation in #3 is unclear. I applied patch #4 but the tabs are still missing. Should the views submodule be uninstalled before applying the patch? Hook update to run?

I did also try uninstalling the views submodule then applying the patch and reinstalling but that didn't work. I did see a title on either the User `Registrations` tab or the instance's `Registrations` was changed to something like Active Registrations but that was the only change I noticed from the patch. I've since rolled back my site to the initial state of my views with the submodule.

owenbush’s picture

StatusFileSize
new395.54 KB

I just spun up a simplytest.me site with recurring events and this patch: https://www.drupal.org/files/issues/2020-04-21/recurring_events-user_reg...

I then enabled recurring_events_registration and recurring_events_views and visited my user profile. Then I clicked on Registrations and I could see all the tabs. See the attached screenshot

This seems to be working and I believe the reason it was not on your local is that you had old versions of the views as per our discussion earlier.

the_glitch’s picture

Yes it works now thanks to your walk through on configuring the view after applying patch #4. Thank you.

owenbush’s picture

Status: Needs review » Reviewed & tested by the community

Marking as RTBC

  • owenbush committed e407140 on 8.x-1.x
    Issue #3127367 by owenbush, the_glitch: All tabs disappear from User...
owenbush’s picture

Status: Reviewed & tested by the community » Fixed

This has been merged. Marking as fixed.

Status: Fixed » Closed (fixed)

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