coderedcorp / coderedcorp/coderedcms

No context for 'buttons',

Ouverte
#693 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Type: Bug
Langage dominant
Python
Étoiles
765
Forks
154
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
django, python
Domaine
backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.