Email DetailView template not rendering #592
Labels
Area: Emails
Issues & PRs related to all things regarding emails & email module
Priority:Important
Issues & PRs that are important; broken functions; errors; there are workarounds
Severity: Major
Significant impact/severe disruption
Type: Bug
Something isn't working
Type:Duplicate
Issues & PRs which are a duplicate of an existing issue/PR
Issue
When attempting to go into
DetailView
for an email, it will not render ifparent_type
isnull
or an empty string in the database. Given that this is a possible state of the data within the database, there should be a null check to determine whether or not that part of the template should render, instead of blindly rendering it.Possible Fix
Add a null check to the template to prevent
Steps to Reproduce the Issue
parent_type
set tonull
, or an empty string.http://localhost:8080/#/emails/record/<id>
Context
No response
Version
8.7.0
What browser are you currently using?
Firefox
Browser Version
No response
Environment Information
MariaDB-11.4.4, PHP-8.1.30
Operating System and Version
Debian GNU/Linux 12 (bookworm)
The text was updated successfully, but these errors were encountered: