| Summary: | Exception without name of not supported css property. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jan Lerby <lerby84> | ||||
| Component: | BIRT | Assignee: | Xuelan Li <xuelan.li> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 2.6.2 | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | Obsolete | ||||||
| Attachments: |
|
||||||
Created attachment 182983 [details]
report with reference to css file
Now I know unsupported property is "width" but message would be more descriptive.
fixed. Verified in daily build 2.6.2.v201012070630 that detailed error message were added into log file. |
Build Identifier: 20090619-0625 Hi, I have troubles with log of BIRT. Every time I make report log is filled with many rows of exceptions. I would accept I used unsupported css property but I don't know which one. Can you add name of that unsupported css property? And if it's possible to add name of css class where it is used? snippet of my log 12.11.2010 10:30:45 org.eclipse.birt.report.model.css.StyleSheetLoader semanticWarning WARNING: Error.StyleSheetParserException.INVALID_SIMPLE_CSSPROPERTY_VALUE 12.11.2010 10:30:45 org.eclipse.birt.report.model.css.StyleSheetLoader semanticWarning WARNING: Error.StyleSheetParserException.PROPERTY_NOT_SUPPORTED Now I looked at code of some an older BIRT class StyleSheetLoader and there is send name and value. So why it's not written to log? String name = CssPropertyUtil.getPropertyName( cssName ); if ( name == null ){ StyleSheetParserException exception = new StyleSheetParserException( StyleSheetParserException.DESIGN_EXCEPTION_PROPERTY_NOT_SUPPORTED,cssName, cssValue ); semanticWarning( exception ); errors.add( exception ); } Reproducible: Always Steps to Reproduce: 1. Take attachment 2. Move to folder for report and css to folder of resources 3. Look at used css file in report if path is correct. 4. Show by "View report" button in eclipse 5. Look at folder of birt logs in .workspace directory