In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
864 [In-Portal CMS] Data Management bug report always 2010-09-15 05:10 2010-12-06 11:58
alex  
!COMMUNITY  
normal  
reviewed and tested 5.1.0  
open  
 
none  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/1eacc23733b1b767
0
0000864: Styles from HEAD tag are ignored by kPDFHelper
I recently discovered, that kPDFHelper doesn't properly work with last version of kXMLHelper class. In particular it results a <style> within <head> tag to be ignored.
related to 0000875reviewed and tested  (Icebox)!COMMUNITY Ability to set custom page size of PDF document 
patch head_styles_ignored_fix.patch (781) 2010-09-15 05:10
http://tracker.in-portal.org/file_download.php?file_id=770&type=bug
Issue History
2010-12-06 11:58 alex Note Added: 0003113
2010-12-06 11:58 alex Target Version 5.1.2 => Icebox
2010-10-17 11:57 Dmitry Note Added: 0002888
2010-10-17 11:57 Dmitry Status needs testing => reviewed and tested
2010-09-28 14:05 Dmitry Fixed in Version 5.1.2 =>
2010-09-28 14:05 Dmitry Target Version Icebox => 5.1.2
2010-09-28 13:30 Dmitry Fixed in Version => 5.1.2
2010-09-28 10:11 alex Relationship added related to 0000875
2010-09-15 05:12 alex Note Added: 0002836
2010-09-15 05:12 alex Assigned To => !COMMUNITY
2010-09-15 05:12 alex Developer => alex
2010-09-15 05:12 alex Status active => needs testing
2010-09-15 05:11 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/1eacc23733b1b767
2010-09-15 05:10 alex New Issue
2010-09-15 05:10 alex File Added: head_styles_ignored_fix.patch

Notes
(0002836)
alex   
2010-09-15 05:12   
To test create template (that will be converted to PDF document) and set body background color like this:

<style type="text/css">
body { background-color: red; }
</style>

Without this patch page color will be white, but with patch it will became red.
(0002888)
Dmitry   
2010-10-17 11:57   
Tested fine on 5.1.1 Beta1.
(0003113)
alex   
2010-12-06 11:58   
Moving to future, since we plan to use mPDF instead of whole kPDFHelper class.