Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10/31/24 Regular Board Meeting page missing some agenda items #1166

Closed
antidipyramid opened this issue Oct 28, 2024 · 2 comments
Closed

10/31/24 Regular Board Meeting page missing some agenda items #1166

antidipyramid opened this issue Oct 28, 2024 · 2 comments
Assignees

Comments

@antidipyramid
Copy link
Collaborator

antidipyramid commented Oct 28, 2024

From @neilarellano:

We noticed that the agenda page for the 10/31/24 Regular Board Meeting does not list items 31 and 32 on the right hand panel. Are we able to look into what caused this and also possibly fix it before the Board Meeting? Please advise.

@xmedr
Copy link
Collaborator

xmedr commented Oct 29, 2024

@antidipyramid It looks like those bills exist in prod and are connected to the board report in question, but do not have anything in the versions attribute, so they aren't being displayed on the agenda list. The line that determines this is the following in views.py:

event.agenda.filter(related_entities__bill__versions__isnull=False)

When searched using EventAgendaItem the missing agenda items are both present and even named with the date of the board report in question. And when setting that filter to True, they do show up. I'm unfamiliar with this versions attribute and haven't found much context in the scrapers repo or the councilmatic repo. Do you have an idea of what value its expecting? I'll keep looking through regardless

@antidipyramid
Copy link
Collaborator Author

Thanks for looking into this @xmedr.

Looks like this was related to Metro-Records/scrapers-lametro#30. The offending board reports were the same ones causing trouble for the scrapers. Deleting the related EventAgendaItem instances allowed the scrapers to properly link those bills with this agenda.

Now that these board reports are scraping without issue, we shouldn't have any more problems around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants