If we have a parliamentary by-election and we hold data for one Westminster constituency (which is not co-terminus with a local authority boundary), we are not handling the case where we need to show an address picker for postcodes on the edge of the constituency to work out if the user is inside the constituency or not. If we've got >0 occurrences of a postcode in the ResidentialAddress table inside the constituency, we'll be assuming that the whole postcode is contained because we don't have data for the neighbouring constituency (which isn't having an election) and we only populate the blacklist at local authority level.
This would also apply in cases where only some subset of wards inside a local authority have an election and we only hold data for the wards that do have an election happening.
This condition does not occur if we hold shapes and points, or if some wards have an election but we hold data for the entire local auth (not only the wards where an election is occurring).
If we have a parliamentary by-election and we hold data for one Westminster constituency (which is not co-terminus with a local authority boundary), we are not handling the case where we need to show an address picker for postcodes on the edge of the constituency to work out if the user is inside the constituency or not. If we've got >0 occurrences of a postcode in the
ResidentialAddress
table inside the constituency, we'll be assuming that the whole postcode is contained because we don't have data for the neighbouring constituency (which isn't having an election) and we only populate the blacklist at local authority level.This would also apply in cases where only some subset of wards inside a local authority have an election and we only hold data for the wards that do have an election happening.
This condition does not occur if we hold shapes and points, or if some wards have an election but we hold data for the entire local auth (not only the wards where an election is occurring).