You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Plone 6.0-latest version (using minimalplone6 buildout) and collective.easyform it is present. It can be trace back up to the point of FileWidget's template lookup in widget.py#L123, however it is not clear why the queryMultiAdapter returns the text_input.pt template for Plone 6.0.
The IFileWidget is based on ITextWidget, but there were no changes in the z3c.formfile.zcml or text.zml in the last 18 years.
There is a more specific layer registration for the ITextWidget in plone.app.z3cformwidgets.zcml, but that is present in latest version too here. As far as I see it should not affect the lookup for a more specific IFileWidget interface.
The import form looks like this:
It is a text input instead of a file input.
For good measure I tried a path to a locally exported file, but that failed.
The field is defined as
zope.schema.Bytes
. Does this need an extra widget hint? Completely different field?Has this ever worked in a previous version? Trying with latest release and Plone 6.0.8, but also 4.1.1 and Plone 6.0.6, with same result.
The text was updated successfully, but these errors were encountered: