#8014 Bug: removed upsert() method needed by TracWikiImporter

v1.3.2
closed
General
2015-11-16
2015-10-30
No

We removed upsert() in [f33baf] but it is actually used. We should bring it back with a user param, or update TracWikiImporter to not need it.

Traceback (most recent call last):
  File "/var/local/allura/ForgeImporters/forgeimporters/base.py", line 131, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/var/local/env-allura/lib/python2.7/site-packages/TracWikiImporter-0.4.2-py2.7.egg/tracwikiimporter/importer.py", line 94, in import_tool
    options.token = self.get_token(user)
  File "/var/local/env-allura/lib/python2.7/site-packages/TracWikiImporter-0.4.2-py2.7.egg/tracwikiimporter/importer.py", line 116, in get_token
    consumer_token = OAuthConsumerToken.upsert(self.classname)
AttributeError: type object 'OAuthConsumerToken' has no attribute 'upsert'

Discussion

  • Dave Brondsema

    Dave Brondsema - 2015-11-02
    • labels: import --> import, sf-2, sf-current
     
  • Igor Bondarenko

    Igor Bondarenko - 2015-11-05
    • labels: import, sf-2, sf-current --> import, sf-2, sf-current, 42cc
    • status: open --> in-progress
    • assigned_to: Igor Bondarenko
     
  • Igor Bondarenko

    Igor Bondarenko - 2015-11-11
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2015-11-12
    • status: review --> closed
    • Reviewer: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2015-11-16
    • labels: import, sf-2, sf-current, 42cc --> import, sf-2, 42cc
     
  • Dave Brondsema

    Dave Brondsema - 2015-12-08
    • Milestone: unreleased --> v1.3.2
     

Log in to post a comment.