[ 
https://issues.apache.org/jira/browse/OFBIZ-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502770#comment-13502770
 ] 

Tom Burns commented on OFBIZ-5070:
----------------------------------

Taher,

YUI accounts for the problem in 5 out of the 7 tested reports. The remaining 
two failures (there are likely more in untested reports) appeared in r1293999 
2/26/2012 Hans Bakker upgrade BIRT to 3.7.2 After that upgrade the reports 
broken by YUI (which was introduced two months later in r1310983 4/8/2012) were 
still working.

The yuicompressor-2.4.6.jar does not appear to be used in OFBiz. There is only 
a reference in the main build file task minifyJsCss which is incomplete and 
does nothing. yuicompressor-2.4.6.jar could be removed as part of the Slim Down 
effort. 

Test Results
r1411196 Trunk As Of 11/19/2012                 
AcctgTrans...Payment.rptdesign ReportFinancialSummaryScreens.xml Fail Page Blank
PaymentAcctgTransEntry.rptdesign AccountingMenus.xml Pass       
BalanceSheet.rptdesign  ReportFinancialSummaryScreens.xml Fail Page Blank
HTML example.rptdesign  ExampleMenus.xml Pass   
PDF example.rptdesign   ExampleMenus.xml Pass   
HTML chart.rptdesign    ExampleMenus.xml Pass   
PDF chart.rptdesign     ExampleMenus.xml Pass   


Thanks for the suggestion,

Tom
                
> Problems With BIRT Reports
> --------------------------
>
>                 Key: OFBIZ-5070
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5070
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Tom Burns
>
> Following are results of testing BIRT across four revisions in an effort to 
> identity where BIRT reports work and where they do not.
> Four critical revisions were identified:
> 1. r1003469 introduced BIRT reports in accounting which no longer work.
> 2. r1293999 upgraded the BIRT version after which some reports no longer 
> worked
> 3. r1361130 moved BIRT from framework to specialpurpose breaking other reports
> 4. r1407740 is the current release for compairson
> In the current release the BIRT ofbiz-component.xml was altered to mount BIRT 
> reports and the BIRT Examples (which are no longer in the Example ment) were 
> invoked manually (https://localhost:8443/birt/control/main).
> Test results follow:
> Revision      BIRT Report Name        WIDGET  Test Result     Comment
> r1003469      11/01/2010 Hans Bakker added accounting reports                 
>       AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign       
> ReportFinancialSummaryScreens.xml       Pass    
>       PaymentAcctgTransEntry.rptdesign        AccountingMenus.xml     Pass    
>       BalanceSheet.rptdesign  ReportFinancialSummaryScreens.xml       Pass    
>       HTML example.rptdesign  ExampleMenus.xml        Pass    
>       PDF example.rptdesign   ExampleMenus.xml        Pass    
>       HTML chart.rptdesign    ExampleMenus.xml        Pass    
>       PDF chart.rptdesign     ExampleMenus.xml        Pass    
>                               
> r1293999      2/26/2012 Hans Bakker upgrade BIRT to 3.7.2                     
>       AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign       
> ReportFinancialSummaryScreens.xml       Fail    Page Blank
>       PaymentAcctgTransEntry.rptdesign        AccountingMenus.xml     Pass    
>       BalanceSheet.rptdesign  ReportFinancialSummaryScreens.xml       Fail    
> Page Blank
>       HTML example.rptdesign  ExampleMenus.xml        Pass    
>       PDF example.rptdesign   ExampleMenus.xml        Pass    
>       HTML chart.rptdesign    ExampleMenus.xml        Pass    
>       PDF chart.rptdesign     ExampleMenus.xml        Pass    
>                               
> r1361130      7/13/2012 jacopoc Moved the "birt" component from framework to 
> specialpurpose                   
>       AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign       
> ReportFinancialSummaryScreens.xml       Fail    Page Blank
>       PaymentAcctgTransEntry.rptdesign        AccountingMenus.xml     Fail    
> Form opens without data
>       BalanceSheet.rptdesign  ReportFinancialSummaryScreens.xml       Fail    
> Page Blank
>       HTML example.rptdesign  ExampleMenus.xml        Fail    Table (id = 10):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleId"] (Element ID:10)
>       PDF example.rptdesign   ExampleMenus.xml        Fail    Form opens 
> without data
>       HTML chart.rptdesign    ExampleMenus.xml                
> Table (id = 32):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleTypeId"] (Element ID:32)
> Chart (id = 49):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleTypeId"] (Element ID:49)
> Chart (id = 50):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleTypeId"] (Element ID:50)
>       PDF chart.rptdesign     ExampleMenus.xml        Fail    Form opens 
> without data
>                               
> r1407740      Trunk As Of 11/10/2012                  
>       AcctgTransEntriesSearchResultsInvoiceAndPayment.rptdesign       
> ReportFinancialSummaryScreens.xml       Fail    Page Blank
>       PaymentAcctgTransEntry.rptdesign        AccountingMenus.xml     Fail    
> Form opens without data
>       BalanceSheet.rptdesign  ReportFinancialSummaryScreens.xml       Fail    
> Page Blank
>       HTML example.rptdesign  ExampleMenus.xml        Fail    Table (id = 10):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleId"] (Element ID:10)
>       PDF example.rptdesign   ExampleMenus.xml        Fail    Form opens 
> without data
>       HTML chart.rptdesign    ExampleMenus.xml                
> Table (id = 32):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleTypeId"] (Element ID:32)
> Chart (id = 49):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleTypeId"] (Element ID:49)
> Chart (id = 50):
> + A BIRT exception occurred. See next exception for more information.
> Invalid javascript expression: dataSetRow["exampleTypeId"] (Element ID:50)
>       PDF chart.rptdesign     ExampleMenus.xml        Fail    Form opens 
> without data
>                               

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to