Skip to content

AttributeError: 'ShowChangeDiff' object has no attribute 'change' #15390

Open
@sentry-io

Description

@sentry-io

This seems to be a regression from #15279.

Sentry Issue: WEBLATE-30V1

AttributeError: 'ShowChangeDiff' object has no attribute 'change'
(22 additional frame(s) were not displayed)
...
  File "weblate/accounts/notifications.py", line 309, in render_template
    return render_to_string(template_name, context).strip()
  File "weblate/trans/templatetags/translations.py", line 1780, in format_last_changes_content
    "history_data": get_change_history_context(change),
  File "weblate/trans/change_display.py", line 343, in get_change_history_context
    return ShowChangeDiff(change).get_context()
  File "weblate/trans/change_display.py", line 361, in get_context
    "change_details_fields": self.get_change_details_fields(),
  File "weblate/trans/change_display.py", line 520, in get_change_details_fields
    change = self.change

Metadata

Metadata

Assignees

Labels

Waiting for: ImplementationAdded to a milestone, will be resolved according to the milestone timeline.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions