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

community-about: tab misbehaves when clicked #2217

Closed
zzacharo opened this issue May 12, 2023 · 4 comments · Fixed by zenodo/zenodo-rdm#383
Closed

community-about: tab misbehaves when clicked #2217

zzacharo opened this issue May 12, 2023 · 4 comments · Fixed by zenodo/zenodo-rdm#383
Labels
bug Something isn't working

Comments

@zzacharo
Copy link
Member

Package version (if known): latest

Describe the bug

In a community details page, clicking on the about tab, redirects to search tab.

Expected behavior

Display the about page

Screenshots (if applicable)

Screenshot 2023-05-12 at 14 51 46

Additional context

Found https://zenodo-rdm-qa.web.cern.ch/communities/covid-19?q=&l=list&p=1&s=10&sort=newest

@zzacharo zzacharo added the bug Something isn't working label May 12, 2023
@psaiz psaiz self-assigned this May 31, 2023
@psaiz
Copy link
Contributor

psaiz commented Jun 2, 2023

I've done a new installation from master on my localhost. The about seems to be working as expected. @zzacharo mentioned that this could be due to some other plugin. Let's see if we can reproduce it...

@psaiz
Copy link
Contributor

psaiz commented Jun 2, 2023

Ok, if we start from zenodo-rdm, instead of invenio, it does break. Looking into the versions of the modules.

@psaiz
Copy link
Contributor

psaiz commented Jun 2, 2023

The github version looks very similar. There is one interesting thing in the site/zenodo_rdm/config.py:

psaiz@mac-psaiz zenodo-rdm % cat  site/zenodo_rdm/config.py |grep -C 3 about
    "redirect_communities_about": {
        "source": "/communities/<community_id>/about",
        "target": communities_detail_view_function,
    },
    },
--

The target looks suspicious. Let me check in the standard invenio

@psaiz
Copy link
Contributor

psaiz commented Jun 2, 2023

zenodo/zenodo-rdm#383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants