Metadata-Version: 2.1
Name: collective.contentrules.setfield
Version: 0.9.1
Summary: A content rule for setting the value of a field on an object
Home-page: https://github.com/collective/collective.contentrules.setfield
Author: Jon Pentland
Author-email: jon.pentland@pretagov.co.uk
License: GPL Version 2
Description: collective.contentrules.setfield
        ================================
        
        |Build status|
        
        .. |Build status| image:: https://github.com//collective/collective.contentrules.setfield/actions/workflows/main.yml/badge.svg
           :target: https://github.com//collective/collective.contentrules.setfield/actions
        
        
        Introduction
        ------------
        
        This content rule lets you set the value of fields on a content object.
        
        The rule lets you enter PythonScript and you return a dictionary of fields
        and their values.
        
        The package defines an 'Objects parent modified' trigger so that the rule can
        be triggered when an objects parent is modified.
        
        Changelog
        =========
        
        0.9.1 (2021-08-05)
        ------------------
        
        - Fixed running setfield when using the `update_all` option instead of the object that triggered the content rule #27 [JeffersonBledsoe]
        - Added black, isort and flake8 #28 [JeffersonBledsoe]
        
        
        0.9.0 (2021-07-27)
        ------------------
        
        - Initial release.
          [instification]
        
        - Add configurable option to set values on all content that would match the executing rule.
          [instification]
        
        - Add configurable option to preserve modification date of updated objects.
          [instification]
        
        - Add 'Objects parent modified' trigger and handler to contentrules.
          [instification]
        
        - Add unit tests.
          [JeffersonBledsoe]
        
        - Ensure only dexterity fields can be set and values are valid or error thrown
          [djay]
        
        - Fix bug where object with no workflow would prevent rule being fired
          [djay]
        
Keywords: web zope plone contentrules
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 4.3
Classifier: Framework :: Plone :: 5.0
Classifier: Framework :: Plone :: 5.1
Classifier: Framework :: Zope2
Classifier: Framework :: Zope3
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: test
