Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Linking accounts with an OpenStreetMap account does not work if confirmation is required. #1874

Closed
sim6 opened this issue Jan 11, 2014 · 1 comment · Fixed by #1875
Closed

Comments

@sim6
Copy link
Contributor

sim6 commented Jan 11, 2014

Log in with OpenStreetMap account and log out.
Log in with GitHub account and link it with the previous OpenStreetMap account.

Before #1857 works, but not after commit f963d20

Internal server error, program!

Traceback (most recent call last):
  File "/home/sim6/www.gittip.com/env/local/lib/python2.7/site-packages/algorithm.py", line 288, in run
    new_state = function(**deps.as_kwargs)
  File "/home/sim6/www.gittip.com/env/local/lib/python2.7/site-packages/aspen/algorithms/website.py", line 88, in get_response_for_resource
    return {'response': resource.respond(request)}
  File "/home/sim6/www.gittip.com/env/local/lib/python2.7/site-packages/aspen/resources/dynamic_resource.py", line 52, in respond
    exec self.pages[1] in context
  File "/home/sim6/www.gittip.com/www/on/openstreetmap/associate.spt", line 97, in 
    raise request.resource.respond(request)
  File "/home/sim6/www.gittip.com/env/local/lib/python2.7/site-packages/aspen/resources/dynamic_resource.py", line 52, in respond
    exec self.pages[1] in context
  File "/home/sim6/www.gittip.com/www/on/confirm.html.spt", line 45, in 
    username = account.get_user_name()
AttributeError: 'OpenStreetMapAccount' object has no attribute 'get_user_name'
@chadwhitacre
Copy link
Contributor

I've marked this three stars, regression in the merge w/ #1857, it would seem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants