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

Avoid errors when using activity with groups/organizations #2

Merged
merged 1 commit into from
Sep 19, 2024

Commits on Sep 19, 2024

  1. Avoid error

    File "/srv/app/src_extensions/ckanext-harvest/ckanext/harvest/templates/base.html", line 1, in top-level template code
    {% ckan_extends %}
    File "/srv/app/src/ckan/ckan/templates/base.html", line 108, in top-level template code
    {%- block page %}{% endblock -%}
    File "/srv/app/src/ckan/ckan/templates/page.html", line 19, in block 'page'
    {%- block content %}
    File "/srv/app/src/ckan/ckan/templates/page.html", line 22, in block 'content'
    {% block main_content %}
    File "/srv/app/src/ckan/ckan/templates/page.html", line 74, in block 'main_content'
    {% block primary %}
    File "/srv/app/src/ckan/ckan/templates/page.html", line 87, in block 'primary'
    {% block primary_content %}
    File "/srv/app/src/ckan/ckan/templates/page.html", line 89, in block 'primary_content'
    {% block page_header %}
    File "/srv/app/src/ckan/ckan/templates/page.html", line 97, in block 'page_header'
    {% block content_primary_nav %}{% endblock %}
    File "/srv/app/src/ckan/ckanext/activity/templates/organization/read_base.html", line 4, in block 'content_primary_nav'
    {{ super() }}
    File "/srv/app/src_extensions/ckanext-pages/ckanext/pages/theme/templates_organization/organization/read_base.html", line 6, in block 'content_primary_nav'
    {{ h.build_nav_icon('pages.organization_pages_index', _('Pages'), id=c.group_dict.name, icon='file') }}
    File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 487, in getattr
    return getattr(obj, attribute)
    jinja2.exceptions.UndefinedError: 'werkzeug.local.LocalProxy object' has no attribute 'group_dict'
    mjanez authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    505a2d0 View commit details
    Browse the repository at this point in the history