Email Notification from Files/Images and Binary Fields are sending code from files (2.2.1)
This is a follow up fix task to this issue: https://github.com/dotCMS/dotCMS/issues/1371
To reproduce, create a new form with a text field and a file, image, or binary field. Place the form on a page and submit from the front end. Check the form email and it is including a huge block of code representing the file in the file field.
http://screencast.com/t/3mgimEkI
This was found on the 2.2.1 version
Why is this issues marked 2.5m1? Dean said it is 2.2.1
Ravi fix this in a branch from master-2.2.1 and make the pull request into that branch. In addition to this make sure master is working.
Hey @ravit I merged and closed the pull request. Didn't know you weren't done here. Go https://github.com/dotCMS/dotCMS/pull/2143 and make sure we catched all the needed changes. If not let me know
Jorge we got every thing, First I pushed the code to master-2.2.1 and next same code pushed to master-2.5 since same issue is raising on master-2.5.
QA: test both 2.2.1 and master
I generated two email here.. first form had only a text and a file field... then before submitting form again, I added binary and image field as well (see final test email): http://screencast.com/t/PB51wuzNBL Now email have absolutely no info that there are file/image/binary fields on the form at all. Did we go to far here? I know that we don't want the code from the file in the email but I would expect field title and maybe name of file at least to be found in the email or something.... maybe I am wrong... let me know if we need one more follow up fix task.
I checked with Gabby and she told me that is the way it is suppossed to work... no file info... passing this along