- **status**: in-progress --> review
- **Comment**:
Closed #859. `ib/8014` +
https://sourceforge.net/p/tracwikiimporter/git/merge-requests/2/
---
** [tickets:#8014] Bug: removed upsert() method needed by TracWikiImporter**
**Status:** review
**Milestone:** unreleased
**Labels:** import sf-2 sf-current 42cc
**Created:** Fri Oct 30, 2015 06:44 PM UTC by Dave Brondsema
**Last Updated:** Thu Nov 05, 2015 11:35 AM UTC
**Owner:** Igor Bondarenko
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'
---
Sent from forge-allura.apache.org because [email protected] is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.