Git Product home page Git Product logo

products.mcdutils's People

Contributors

ctheune avatar dataflake avatar drfho avatar rber474 avatar tseaver avatar

Watchers

 avatar  avatar

products.mcdutils's Issues

Per site Timeout

As an idea for improvement, a property for configuration of a per site timeout of session object would be very useful in multi subdomains setups.

Excellent product, thanks!

Error during ZCache_invalidate

Happened while associating an object that was handled by a Memcache-cache manager to a RAM cache manager.

Traceback (most recent call last):
  File "/xxxZope2-2.13.26-py2.7.egg/OFS/Cache.py", line 197, in ZCacheable_invalidate
    message = c.ZCache_invalidate(ob)
  File "/xxx/Products.mcdutils-2.0-py2.7.egg/Products/mcdutils/zcache.py", line 73, in ZCache_invalidate
    proxy.remove(key)
AttributeError: remove

AttributeError: 'MemCacheMapping' object has no attribute 'invalidate'

Zope5 and Plone 6.x, when invalidating session data, as in logout, an AttributeError: 'MemCacheMapping' object has no attribute 'invalidate' is raised.

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.browser.login.logout, line 20, in __call__ Module Products.PlonePAS.tools.membership, line 702, in logoutUser AttributeError: 'MemCacheMapping' object has no attribute 'invalidate'

Probably, a new attribute invalidate may be necesary in MemCacheMapping like "delete"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.