plone / plone/plone.app.robotframework

"Create content" keyword fails to set boolean value to Dexterity content object.

Open
#24 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11
Forks
17
Avg merge
1d 11h
Merged PRs (30d)
2

Description

The following keyword used to set "hiddentext" correctly to True with plone.app.robotframework 0.7.0:

${subsectionuid} = Create content type=Section id=subsection-2 container=${sectionuid} title=Subsection 2 hiddentext=1

With plone.app.robotframework 0.8.4 the same keyword fails to set the value. Setting the value with "Set field value" works though:

Set field value ${subsectionuid} hiddentext True bool

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

Start by reproducing the Create content example with plone.app.robotframework 0.8.4 and compare it with 0.7.0, focusing on the hiddentext value conversion. The work is done when Create content sets the Dexterity boolean field to True, matching the behavior of Set field value with the bool type.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.