zopefoundation / Products.PluggableAuthService

Pluggable Zope authentication / authorization framework
Other
9 stars 18 forks source link

Adding "Configured PAS" currently fails #39

Closed dataflake closed 5 years ago

dataflake commented 5 years ago
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 143, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 296, in publish_module
  Module ZPublisher.WSGIPublisher, line 230, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 59, in call_object
  Module Products.PluggableAuthService.PluggableAuthService, line 1422, in addConfiguredPAS
AttributeError: 'RequestContainer' object has no attribute 'setImportContext'
2019-04-09 07:01:43 - ERROR [waitress] Exception when serving /folder2/manage_addProduct/PluggableAuthService/addConfiguredPAS
Traceback (most recent call last):
  File "/Users/jens/src/.eggs/waitress-1.2.1-py2.7.egg/waitress/channel.py", line 336, in service
    task.service()
  File "/Users/jens/src/.eggs/waitress-1.2.1-py2.7.egg/waitress/task.py", line 175, in service
    self.execute()
  File "/Users/jens/src/.eggs/waitress-1.2.1-py2.7.egg/waitress/task.py", line 452, in execute
    app_iter = self.channel.server.application(env, start_response)
  File "/Users/jens/src/zope/Zope/src/ZPublisher/httpexceptions.py", line 30, in __call__
    return self.application(environ, start_response)
  File "/Users/jens/src/zope/Zope/src/ZPublisher/WSGIPublisher.py", line 296, in publish_module
    response = _publish(request, new_mod_info)
  File "/Users/jens/src/zope/Zope/src/ZPublisher/WSGIPublisher.py", line 230, in publish
    bind=1)
  File "/Users/jens/src/zope/Zope/src/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File "/Users/jens/src/zope/Zope/src/ZPublisher/WSGIPublisher.py", line 59, in call_object
    return obj(*args)
  File "/Users/jens/src/zope/Products.PluggableAuthService/Products/PluggableAuthService/PluggableAuthService.py", line 1422, in addConfiguredPAS
    tool.setImportContext('profile-%s' % base_profile)
AttributeError: 'RequestContainer' object has no attribute 'setImportContext'