As far as I understood, process method on fieldtypes is used for when field is being saved, and preProcess is for displaying the field. In ResponsiveFieldtype@process we are calling preProcess for all fields, when it should be just process. We are saving data there, not displaying.
Fixes #172.
As far as I understood,
process
method on fieldtypes is used for when field is being saved, andpreProcess
is for displaying the field. InResponsiveFieldtype@process
we are callingpreProcess
for all fields, when it should be justprocess
. We are saving data there, not displaying.Code from Assets fieldtype.
As you can see, core
Assets
fieldtype handlesmax_files
being1
only when saving. WhenpreProcessing
or displaying the data, it uses collection/array.I am guessing you are not suppose to mix and match
process
andpreProcess
together in either one.