Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

"no country" error references unknown/obsolete "country_item" #629

Open
tmtmtmtm opened this issue Mar 18, 2019 · 0 comments
Open

"no country" error references unknown/obsolete "country_item" #629

tmtmtmtm opened this issue Mar 18, 2019 · 0 comments

Comments

@tmtmtmtm
Copy link
Contributor

If neither the position_held_item nor the parliamentary_term_item item is set an error is given:

1 error prevented this page from being saved:
`country_item`: could not be derived from the `position_held_item` or `parliamentary_term_item`. Please check they have a P17 country property.

This implies that there is an undocumented country_item parameter that could, perhaps, be provided explicitly by the administrator of this verification page. However, that parameter was removed in 2f3a447 and so should not leak like this.

This error should be something more like:

"We were unable to derive which country this Verification Page relates to. Please ensure that either 51st United Kingdom Parliament or Member of the 51st Parliament of the United Kingdom has a P17 ("country") property."

@tmtmtmtm tmtmtmtm changed the title "no country" item references unknown/obsolete "country_item" "no country" error references unknown/obsolete "country_item" Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant