coderedcorp / coderedcorp/coderedcms

No context for 'buttons',

Open
#693 0 comments 0 reactions 0 assignees View on GitHub
Type: Bug
Dominant language
Python
Stars
765
Forks
154
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
No context for 'button', 'subtitle', 'message_heading', 'icon_classname', using coderedcms versions 4.1.0, 4.1.1, and 5.0.0 and wagtail 6.4.1.

#### Steps to reproduce
Go to the codered wagtail admin with Logging turned on with 'level': 'DEBUG'

#### Expected behavior
In the error.log expect to see:
Exception while resolving variable 'buttons' in template 'wagtailadmin/tables/title_cell.html'.
Traceback (most recent call last):
File "/home/django/red3/lib64/python3.12/site-packages/django/template/base.py", line 883, in _resolve_lookup
current = current[bit]
~~~~~~~^^^^^
File "/home/django/red3/lib64/python3.12/site-packages/django/template/context.py", line 85, in __getitem__
raise KeyError(key)
KeyError: 'buttons'
#### Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem in the CodeRed Wagtail admin with DEBUG logging enabled, using the template path wagtailadmin/tables/title_cell.html from the report. Trace the missing 'buttons', 'button', 'subtitle', 'message_heading', and 'icon_classname' context values, then confirm the intended logging behavior before determining what would count as resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.