EdwardBetts / osm-wikidata

Match OSM entities with Wikidata items
http://osm.wikidata.link/
GNU General Public License v3.0
109 stars 20 forks source link

Add tags after logout throws error because user is unknown #545

Open EdwardBetts opened 4 years ago

EdwardBetts commented 4 years ago

While authenticated, visit the candidate page, logout, then hit the 'add wikidata items' button on the candidate page.

The software throws an error. It is trying to record the selection from the candidates page, but user is required and the user ID is unknown because the user isn't authenticated any more.

The solution is to include the user ID in the form on the candidate page. Then we don't have to get the user from the session.