plone / plone/plone.schemaeditor
Cannot access values of a RelatedChoice field
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9
- Forks
- 9
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 3
Description
Step to reproduce.
Create 2 new types with p.schemeeditor ClassA and ClassB where ClassB has a RelationChoice field called RelatedA with allowed type ClassA.
Created folder called Ayes and some ClassA instances.
In Bees create an instance of ClassB, and you'll see you cannot select the value for the RelatedA field from the Ayes folder because you cannot transverse to the Ayes folder.
In the RelatedA definition, if select a ClassA instance as a default, I then have access to the Aye folder otherwise not.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with p.schemeeditor using ClassA and ClassB, a RelationChoice field named RelatedA, and ClassA instances in the Ayes folder. Compare RelatedA behavior when its default is empty versus when a ClassA instance is selected. Done means the field can traverse to Ayes and select a ClassA value without requiring a default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100