tracker issue : CF-3759389

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: cfhtmltopdfitem disallows marginbottom

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 05/13/2014

Components: Documentation

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win All

Vote Count: 0

cfhtmltopdfitem disallows marginbottom (it allows margintop, marginleft and marginright)

Steps to Reproduce:
<cfhtmltopdf>
<cfhtmltopdfitem type="header" marginbottom="0">foo</cfhtmltopdfitem>
bar
</cfhtmltopdf>

Actual Result: "Attribute validation error for tag CFHTMLTOPDFITEM. It does not allow the attribute(s) MARGINBOTTOM. The valid attribute(s) are ALIGN,IMAGE,ISBASE64,MARGINLEFT,MARGINRIGHT,MARGINTOP,NUMBERFORMAT,OPACITY,SHOWONPRINT,TYPE."

Expected Result: No error (cfhtmltopdfitem should support marginbottom="0")

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3759389

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

Related thread: http://prerelease.adobe.com/r/?42b0bb501ed3431f98c4142fc2c6dbf5
Comment by External U.
12188 | May 13, 2014 04:16:04 AM GMT
Hi Rupesh, This is as designed .. When type="header" marginbottom is not supported and similarly when type="footer" margintop is not supported .. So should we fix this ? I think workaround for this would be to specify contents margintop as It will act as a marginbottom to the header .. (Comment added from ex-user id:yrr)
Comment by Adobe D.
12189 | May 13, 2014 05:20:55 AM GMT
Hi Yashas, That makes sense. Can your note please be added to the exception message and to the cfhtmltopdfitem doc? Currently this is undocumented and the exception message is not clear. Thanks!, -Aaron
Comment by External U.
12190 | May 18, 2014 12:09:43 AM GMT
Aaron, Both the things will be taken care of .. Thanks a lot for your inputs (Comment added from ex-user id:yrr)
Comment by Adobe D.
12191 | May 18, 2014 01:24:07 PM GMT
Added a note here: https://wikidocs.adobe.com/wiki/display/coldfusionen/cfhtmltopdfitem
Comment by Frank J.
12192 | May 18, 2014 11:07:16 PM GMT
Hi Yashas and Frank, I see the doc was updated. Looks good! I will just wait until next CF update to see updated exception message. Thanks!, -Aaron
Comment by External U.
12193 | May 19, 2014 04:34:48 AM GMT