-
Notifications
You must be signed in to change notification settings - Fork 41
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
[ZA] Investigate why Andrew Ntwampe Morwamoche's profile is showing appearances from Mr Morwamoche of a different party from many years ago #1740
Comments
This is a name resolution error; generally we delete the erroneously assigned speeches and add an exception to the code to stop them be reassigned, as in this issue: In this case, Mr Andrew Ntwampe Morwamoche from PAC doesn't appear to hold a position that would allow him to speak in parliament, so the same could be done in this case by a developer. (We're resisting getting caught up in fixing the underlying issues in the name resolution until something like #1748 is done.) |
Misattributed speeches removed with
in the manage.py shell. |
Fixes mysociety/pombola#1740, along with noted data changes.
It looks like Morwamoche Andtrew Ntwampe is still getting things attributed to him despite us blacklisting his popit ID mysociety/za-hansard@14c0f13 |
The committee appearance is on date What's happening is that this the blacklist is only used to reject results from There's a fix here: ... which can then fix the misassignment on the live site by running:
|
Even if a PopIt ID was blacklisted, a speech might still end up being associated with that person because there would still be a Speaker object with the exact name that's being resolved which has its person attribute set to a Person with the blacklisted PopIt ID. This commit makes sure that any Speaker with a person attribute with a blacklisted PopIt ID has that person attribute set to None when the ImportJson object is initialized. Fixes mysociety/pombola#1740
I've deployed the site with the new za-hansard, and reparsed the meeting as @mhl suggested. |
From PA:
Mr Andrew Ntwampe Morwamoche is a member of the PAC (candidate for the 2014 election). The appearances on his profile reflect that of a Mr Morwamoche from the ANC who seemed to have been a MP years ago. Is there a way to delete the appearances from this profile. See link below.
http://www.pa.org.za/person/morwamoche-andrew-ntwampe/
The text was updated successfully, but these errors were encountered: