Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
106
stars
55
forks
source link
Timeline display bug when user is removed from org #4668
If a user creates a note and then that user is removed from the org, the timelines page is unable to display their name. In this case, I added a user, added two notes with that account, and then removed them from the org.
Expected Behavior
SEED should either show the name as blank (or something to that effect), or look up the user regardless of whether they're an org member or not. Though in that case, it might be better to do that lookup in Django, not in the frontend (as it currently does).
Steps to Reproduce
Add a user to an organization
Create a note on a property, confirm that it creates a note event in the timeline
Remove the user from the organization
Go to the property's timeline
Instance Information
Tried on the dev2 server.
Additional Context
I haven't checked if this is an issue for other event types, like analyses, but it could be.
Describe the bug
If a user creates a note and then that user is removed from the org, the timelines page is unable to display their name. In this case, I added a user, added two notes with that account, and then removed them from the org.
Expected Behavior
SEED should either show the name as blank (or something to that effect), or look up the user regardless of whether they're an org member or not. Though in that case, it might be better to do that lookup in Django, not in the frontend (as it currently does).
Steps to Reproduce
Instance Information
Tried on the dev2 server.
Additional Context
I haven't checked if this is an issue for other event types, like analyses, but it could be.