plone / plone/plone.schemaeditor

Cannot access values of a RelatedChoice field

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.