RedTurtle / redturtle.volto

Helper package to setup a RedTurtle's Plone site ready to work with Volto
GNU General Public License v2.0
1 stars 1 forks source link

fix: avoid searching all users when many_users is flagged #75

Closed mamico closed 1 year ago

mamico commented 1 year ago

backport https://github.com/plone/Products.CMFPlone/pull/3845

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 6275050399


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/redturtle/volto/monkey.py 1 6 16.67%
<!-- Total: 1 6 16.67% -->
Totals Coverage Status
Change from base Build 6262756817: -0.2%
Covered Lines: 758
Relevant Lines: 1207

💛 - Coveralls
luca-bellenghi commented 1 year ago

@mamico in realtà a me da problemi. su comune di P. dove lo dovevo provare

Traceback (innermost last): Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents Module ZPublisher.WSGIPublisher, line 390, in publish_module Module ZPublisher.WSGIPublisher, line 285, in publish Module ZPublisher.mapply, line 85, in mapply Module ZPublisher.WSGIPublisher, line 68, in call_object Module Products.CMFPlone.controlpanel.browser.usergroups_groupmembership, line 84, in call Module Products.CMFPlone.controlpanel.browser.usergroups_groupmembership, line 75, in update Module redturtle.volto.monkey, line 133, in getPotentialMembers AttributeError: 'SimpleViewClass from /opt/iocomune.buildout/co' object has no attribute '_old__getPotentialMembers'

mamico commented 1 year ago

@mamico in realtà a me da problemi. su comune di P. dove lo dovevo provare ...

Module redturtle.volto.monkey, line 133, in getPotentialMembers AttributeError: 'SimpleViewClass from /opt/iocomune.buildout/co' object has no attribute '_old__getPotentialMembers'

probabilmente era questo: https://github.com/RedTurtle/redturtle.volto/pull/75/commits/384c086dae04a4dc5915abef2d1d86aea47badeb