-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Current behavior
After selecting a file to import from OneDrive the Track loads an error message instead of the imported dataset
IntegrityError at /source/new/
duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq"
DETAIL: Key (provider, uid)=(microsoft-graph, ) already exists.
Request Method: POST
Request URL: https://staging-track.toladata.io/source/new/?type=OneDrive
Django Version: 1.11.3
Exception Type: IntegrityError
Exception Value:
duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq"
DETAIL: Key (provider, uid)=(microsoft-graph, ) already exists.
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/backends/utils.py in execute, line 65
Python Executable: /usr/local/bin/python
Python Version: 2.7.15
Python Path:
['/code/datasources',
'/code',
'/usr/local/bin',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/code/src/social-core',
'/code',
'/code/tola',
'/code']
Server time: Tue, 14 Aug 2018 07:40:03 -0700
Expected behavior
GIVEN a user has selected a table file from OneDrive
WHEN and the OneDrive picker is closed
THEN they see the selected file name
AND
WHEN they click SAVE
THEN the new Track Table is loaded
Steps to reproduce the behavior
- Import from OneDrive
- Login to OneDrive
- Select a table file to import
- Click Save