wesabe/pfc

Snapshot importing user failure

Closed this issue · 2 comments

after applying commit 361d28a, I am now getting this error when I try to import my snapshot:

unzipping snapshot...
importing user...
/Users/jeremy/projects/wesabe/pfc/app/models/user/current_user_concern.rb:9:in `current=': Invalid user. Expected an object of class 'User', got true (ArgumentError)
        from /Users/jeremy/projects/wesabe/pfc/lib/importer/wesabe.rb:34:in `import'
        from /Users/jeremy/projects/wesabe/pfc/lib/importer/wesabe.rb:12:in `import'
        from /Users/jeremy/projects/wesabe/pfc/lib/tasks/snapshot.thor:10:in `import'
        from /Library/Ruby/Gems/1.8/gems/thor-0.13.8/lib/thor/task.rb:22:in `send'

I ran the import successfully before that commit, and it failed after.

Verified this, working on a fix.

No need to change the password. Closed by 6671838.