core icon indicating copy to clipboard operation
core copied to clipboard

Email Notification from Files/Images and Binary Fields are sending code from files (2.2.1)

Open DeanGonzalez opened this issue 13 years ago • 6 comments

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

DeanGonzalez avatar Feb 18 '13 16:02 DeanGonzalez

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.

jtesser avatar Feb 19 '13 12:02 jtesser

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

dotjorgeu avatar Feb 20 '13 13:02 dotjorgeu

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.

ravit avatar Feb 20 '13 13:02 ravit

QA: test both 2.2.1 and master

dotjorgeu avatar Feb 20 '13 14:02 dotjorgeu

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.

DeanGonzalez avatar Feb 21 '13 16:02 DeanGonzalez

I checked with Gabby and she told me that is the way it is suppossed to work... no file info... passing this along

DeanGonzalez avatar Feb 21 '13 17:02 DeanGonzalez