#17 — BooleanField(s) inside CompoundField inside ArrayField
by
Martin Preisler
—
last modified
Oct 13, 2009 08:22 AM
| State | Unconfirmed |
|---|---|
| Version: | 1.1 |
| Area | CompoundField |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Martin Preisler |
| Submitted on | Oct 13, 2009 |
| Responsible |
—
|
| Target release: |
—
|
Hi, I am using CompoundField inside my project and I have set it up like this
ArrayField (0+)
CompoundField
multiple fields, doesn't matter which ones
BooleanField
other fields, doesn't matter
When I first create my content (w/ or w/o the portal_factory assistance), the nested boolean fields are always false for some reason. When I edit my newly created content and set them to true it all starts to work, so editing works, creating doesn't.
It really puzzles me because w/ portal_factory, creating is pretty much just editing :-/
btw: I had this bug for a long time, ever since 1.0 I think (that was on Plone 2.5).
Any ideas?
ArrayField (0+)
CompoundField
multiple fields, doesn't matter which ones
BooleanField
other fields, doesn't matter
When I first create my content (w/ or w/o the portal_factory assistance), the nested boolean fields are always false for some reason. When I edit my newly created content and set them to true it all starts to work, so editing works, creating doesn't.
It really puzzles me because w/ portal_factory, creating is pretty much just editing :-/
btw: I had this bug for a long time, ever since 1.0 I think (that was on Plone 2.5).
Any ideas?
- Steps to reproduce:
- Set up a content type via code (Archetypes). Set the schema like this:
ArrayField (0+)
CompoundField
multiple fields, doesn't matter which ones
BooleanField
other fields, doesn't matter
Create your content type and observe the boolean field value.
No responses can be added.
If you can, please log in before submitting a reaction.
