Plone = 5.0.6 (just migrated from 4.3.6)
plone.app.widgets = 2.0.7
plone.app.z3cform = 2.2.1
I'm using a RelatedItemsFieldWidget on a custom content type
The RelatedItemsFieldWidget results are failing to load in Plone 5 when editing existing items. The widget itself loads, but when I click in the box, a dropdown displays showing only 'Loading failed', and in the console I see a 404 was returned from
If I add a new item, I am able to use the field. If I then save the new item and edit it, the field returns a 404 again.
In the new Products.Poi (not released, on 3.0-development branch), there is a related_issue field using a RelatedItemsFieldWidget. This works fine in a new Plone 5 site with newly-installed Poi.
I am working to migrate a site from Plone 4 to Plone 5, which also updates Poi from 2.x to 3.0. This site had been using a custom version of Poi that had a related issues field (core Poi did not have this before 3.0). I don't have the actual relations getting migrated yet, but the widget still fails. I don't remember if it failed before I was attempting to migrate the field.
description='Link related issues')),
related_issue = RelationList(
title=_(u'Poi_label_issue_related', default=u'Related Issue(s)'),
default=u'Link related issues.'),
When adding a new issue, I can access
++add++Issue/++widget++form.widgets.related_issue, and see the plain widget.
But when editing,
issue/edit/++widget++form.widgets.related_issue returns a 404.