Every module that does form entry needs to store a 'view' and/or 'attributes' and/or 'resources' for forms. E.g. the formentry module has the formentry_xsn table (and the template and xslt columns in the form table), and the htmlformentry module has the htmlformentry_html_form table.
It would be better if core provided a way for modules to attach and retrieve binary or xml data on the Form object.
Do something like:
(Maybe also allow resources to point to a file on the filesystem.)
I don't think these resources need to be accessible directly from the Form object (since they're large), rather you need to do something like
Also, the 'form' table has two legacy columns that are specific to infopath formentry (template and xslt). These columns should be removed, in a way that doesn't lose data for users of the infopath formentry module.
The form entry portlet will need to be revised to
[ticket replaces TRAC-1652 which was intended as a possible quick-fix, but is not the long-term solution.|This]