Skip to content

Commit

Permalink
[fc] Repository: plone.app.dexterity
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2020-12-12T10:47:34+01:00
Author: ale-rt (ale-rt) <[email protected]>
Commit: plone/plone.app.dexterity@7a4622b

Fix the constraint types mode calculation

Fix the constraint types mode calculation, disabling acquisition and gracefully checking for the existence of a portal type attribute in the container

Fixes #319

Files changed:
A news/319.fixed
M plone/app/dexterity/behaviors/constrains.py
Repository: plone.app.dexterity

Branch: refs/heads/master
Date: 2020-12-12T13:19:25+01:00
Author: Roel Bruggink (jaroel) <[email protected]>
Commit: plone/plone.app.dexterity@b643295

Add tests for ConstrainTypesBehavior

Files changed:
A plone/app/dexterity/behaviors/tests/test_contrains.py
Repository: plone.app.dexterity

Branch: refs/heads/master
Date: 2020-12-12T13:24:09+01:00
Author: Roel Bruggink (jaroel) <[email protected]>
Commit: plone/plone.app.dexterity@39bbf17

Add correct tests.

Files changed:
M plone/app/dexterity/behaviors/tests/test_contrains.py
Repository: plone.app.dexterity

Branch: refs/heads/master
Date: 2020-12-12T13:25:11+01:00
Author: Roel Bruggink (jaroel) <[email protected]>
Commit: plone/plone.app.dexterity@1ed2cad

Bail out early if parent doesn't have portal_type, so we don't try to ACQUIRE

Files changed:
M plone/app/dexterity/behaviors/constrains.py
Repository: plone.app.dexterity

Branch: refs/heads/master
Date: 2020-12-12T13:26:58+01:00
Author: Roel Bruggink (jaroel) <[email protected]>
Commit: plone/plone.app.dexterity@0c00b59

cleanup unused imports

Files changed:
M plone/app/dexterity/behaviors/tests/test_contrains.py
Repository: plone.app.dexterity

Branch: refs/heads/master
Date: 2020-12-12T14:21:46+01:00
Author: Roel Bruggink (jaroel) <[email protected]>
Commit: plone/plone.app.dexterity@bd7148e

Rename 319.fixed to 319.bugfix

Files changed:
A news/319.bugfix
D news/319.fixed
Repository: plone.app.dexterity

Branch: refs/heads/master
Date: 2020-12-12T15:55:36+01:00
Author: Alessandro Pisa (ale-rt) <[email protected]>
Commit: plone/plone.app.dexterity@0341a5b

Fix the constraint types mode calculation (#320)

* Fix the constraint types mode calculation

Fix the constraint types mode calculation, disabling acquisition and gracefully checking for the existence of a portal type attribute in the container
Add test coverage and cleanup unused imports

Fixes #319

Co-authored-by: Roel Bruggink &lt;[email protected]&gt;

Files changed:
A news/319.bugfix
A plone/app/dexterity/behaviors/tests/test_contrains.py
M plone/app/dexterity/behaviors/constrains.py
  • Loading branch information
ale-rt committed Dec 12, 2020
1 parent e6920be commit ed92b4a
Showing 1 changed file with 103 additions and 19 deletions.
Loading

0 comments on commit ed92b4a

Please sign in to comment.