erp5_oauth: Add mt_index to the tool
This will fix the issue below: ====================================================================== ERROR: test_refresh_token (erp5.component.test.erp5_version.testGoogleLogin.TestGoogleLogin) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 291, in setUp super(ComponentTestCase, self).setUp() File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Zope2-2.13.24-py2.7.egg/Testing/ZopeTestCase/PortalTestCase.py", line 60, in setUp self.afterSetUp() File "<portal_components/test.erp5.testGoogleLogin>", line 143, in afterSetUp secret_key=SECRET_KEY) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 620, in newContent return FolderMixIn.newContent(self, *args, **kw) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 163, in newContent **kw) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/ERP5Type.py", line 399, in constructInstance container._setObject(id, base_ob) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 974, in _setObject return CMFBTreeFolder._setObject(self, *args, **kw) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 443, in _setObject self._setOb(id, ob) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 850, in _setOb return CMFBTreeFolder._setOb(self, id, object) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 256, in _setOb ids = mti.get(meta_type, None) AttributeError: 'NoneType' object has no attribute 'get'
Showing
Please register or sign in to comment