Closed jensens closed 5 years ago
@jensens thanks for creating this Pull Request and help improve Plone!
To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass.
Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:
@jenkins-plone-org please run jobs
With this simple comment all the jobs will be started automatically.
Happy hacking!
@jenkins-plone-org please run jobs
@gforcada this need to be run together with other PRs and theres still a problem left as I found at my last run.
I saw the same issue as jenkins did during some job: Rendering the relateditems widgets with a previously set value breaks.
File "/home/gitlab-runner/builds/44df7dbf/0/kbo/kbo-buildout/src-mrd/plone.app.z3cform/plone/app/z3cform/widget.py", line 116, in render
_base_args = self._base_args()
File "/home/gitlab-runner/builds/44df7dbf/0/kbo/kbo-buildout/src-mrd/plone.app.z3cform/plone/app/z3cform/widget.py", line 599, in _base_args
field_name,
File "/home/gitlab-runner/builds/44df7dbf/0/kbo/kbo-buildout/src-mrd/plone.app.widgets/plone/app/widgets/utils.py", line 144, in get_relateditems_options
'v': value.split(separator)
File "/home/gitlab-runner/builds/44df7dbf/0/kbo/kbo-buildout/src-mrd/plone.app.vocabularies/plone/app/vocabularies/catalog.py", line 635, in __call__
parsed = parseQueryString(context, query['criteria'])
TypeError: list indices must be integers, not str
Yes, I am aware. It's not ready yet.
Looks good to me.
5.1 failure see plone/jenkins.plone.org#258 - this is no blocker for merging!
Deprecate it.
Refactor get_relateditems_options to be more specific.
More cleanup would be needed.