Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011900
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2010-01-05 13:132011-05-18 14:03
ReporteriperdomoView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision84cb6edcc057
ProjectionnoneETAnoneTarget Version3.0MP0
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_15
OS Version2.6.30-gentoo-r5Database version8.3.8Ant version1.7.1
Product Version2.50MP9SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011900: Unsused FO based reports cleanup

DescriptionThere are 15 classes using renderFO, but only 8 registered processes in the Application Dictionary. 7 classes are not used/supported. Here you have the query:

select p.ad_process_id, p.name, m.classname
  from ad_process p, ad_model_object m
 where p.ad_process_id = m.ad_process_id
   and m.classname in ('org.openbravo.erpCommon.ad_reports.GeneralAccountingReports',
               'org.openbravo.erpCommon.ad_reports.ReportDimensionalAnalysesPDF', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalPDF', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportMaterialTransactionEdition', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportProduction', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportProjectBuildingSite', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportSalesOrderDimensionalPDF', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportToInvoiceConsignment', --Not used
               'org.openbravo.erpReports.RptC_Proposal',
               'org.openbravo.erpReports.RptC_Settlement',
               'org.openbravo.erpReports.RptM_Inout',
               'org.openbravo.erpReports.RptM_Movement',
               'org.openbravo.erpReports.RptMA_CCP_Group',
               'org.openbravo.erpReports.RptMA_CCP_Measures',
               'org.openbravo.erpReports.RptPromissoryNote')
order by m.classname;

---
This classes has no registered process in the AD:
* org.openbravo.erpCommon.ad_reports.ReportDimensionalAnalysesPDF
* org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalPDF
* org.openbravo.erpCommon.ad_reports.ReportMaterialTransactionEdition
* org.openbravo.erpCommon.ad_reports.ReportProduction
* org.openbravo.erpCommon.ad_reports.ReportProjectBuildingSite
* org.openbravo.erpCommon.ad_reports.ReportSalesOrderDimensionalPDF
* org.openbravo.erpCommon.ad_reports.ReportToInvoiceConsignment
Steps To Reproduce* Search for all renderFO calls
* Query the AD and search for the processes associated with the classes from the list in previous step
* All non-listed classes are unused reports
Proposed Solution* Remove unused/unsupported classes
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0007236 acknowledgedshuehner Tracking issue: Cleanup for 3.00 

-  Notes
(0037129)
shuehner (administrator)
2011-05-18 12:10

All those 8 reports have been moved to the legacy features module and are removed from core.
(0037142)
iperdomo (viewer)
2011-05-18 14:03

Tested on pi @ rev 4f0bf76a1b92

- Issue History
Date Modified Username Field Change
2010-01-05 13:13 iperdomo New Issue
2010-01-05 13:13 iperdomo Assigned To => shuehner
2010-01-05 13:13 iperdomo OBNetwork customer => No
2010-01-05 13:13 iperdomo Relationship added related to 0007236
2010-01-05 13:14 iperdomo Relationship replaced depends on 0007236
2010-01-05 13:14 iperdomo Status new => acknowledged
2010-01-05 13:22 iperdomo Relationship replaced blocks 0007236
2011-05-18 12:09 shuehner Status acknowledged => scheduled
2011-05-18 12:09 shuehner fix_in_branch => pi
2011-05-18 12:10 shuehner Note Added: 0037129
2011-05-18 12:10 shuehner Status scheduled => resolved
2011-05-18 12:10 shuehner Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/84cb6edcc057 [^]
2011-05-18 12:10 shuehner Resolution open => fixed
2011-05-18 14:03 iperdomo Note Added: 0037142
2011-05-18 14:03 iperdomo Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker