Metro-Records / la-metro-councilmatic

:metro: An instance of councilmatic for LA Metro
MIT License
6 stars 2 forks source link

New Member Headshot and Bio Disappeared #957

Closed neilarellano closed 1 year ago

neilarellano commented 1 year ago

We recently had changes in Committee members and it seems like Katy’s headshot and bio disappeared after we made these changes in Legistar. Please see below:

image

Are we able to investigate on why this happened? As for now, I will go ahead and re-add their headshot/bio to resolve the issue.

neilarellano commented 1 year ago

Hi Team,

I re-added the bio and headshot earlier today. I just checked again right now and it seems like the headshot and bio are gone again. Please investigate.

Thank you!

hancush commented 1 year ago

@xmedr It looks like storing the bio and headshot on the base opencivicdata model causes them to be erased when that base model changes, e.g., memberships are changed. Looks like there's a headshot field on the Person model from django-councilmatic, but we'll need to add a biography field, as well. Can you submit a django-councilmatic PR with that change?

hancush commented 1 year ago

@neilarellano Fix is in. I've added her headshot back, but can't find the bio text. Want to update it?

neilarellano commented 1 year ago

Hi @hancush ,

I have added the bio text. I'll keep an eye out on this and report back tomorrow to confirm if it sticks this time. Thank you!

hancush commented 1 year ago

Absolutely. Thanks, @neilarellano!

neilarellano commented 1 year ago

I can confirm that the bio and headshot stays after making changes to committee members! Thanks!