Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0046691Openbravo ERPA. Platformpublic2021-05-17 13:322021-05-18 11:25
dmiguelez 
platform 
normalminoralways
closedfixed 
5
 
PR21Q3 
Core
No
0046691: Make method doExecute of BaseReportFrontEndActionHandler protected
In order to be able to extend the class BaseReportFrontEndActionHandler and override the behavior of the doExecute method it is required that it is set as protected.

An example can be found in custom development done for a client that allows to show the Jasper Reports in the FrontEnd.

To do so, the reports are generated in the BackEnd as for any other BaseReportFrontEndActionHandler instance. However, the file generated and stored in the temporal folder should not be removed as that part should be managed by the custom process.

In order to override this behavior (and simplify some other functionalities) it is required to be able to extedn the doExecute method
In order to be able to extend the class BaseReportFrontEndActionHandler and override the behavior of the doExecute method it is required that it is set as protected.

An example can be found in custom development done for a client that allows to show the Jasper Reports in the FrontEnd.

To do so, the reports are generated in the BackEnd as for any other BaseReportFrontEndActionHandler instance. However, the file generated and stored in the temporal folder should not be removed as that part should be managed by the custom process.

In order to override this behavior (and simplify some other functionalities) it is required to be able to extedn the doExecute method
No tags attached.
causes defect 0047054 closed juabaez Localization Pack: Spain SII won't compile since Openbravo 21Q3 
Issue History
2021-05-17 13:32dmiguelezNew Issue
2021-05-17 13:32dmiguelezAssigned To => platform
2021-05-17 13:32dmiguelezModules => Core
2021-05-17 13:32dmiguelezTriggers an Emergency Pack => No
2021-05-17 13:40hgbotNote Added: 0128243
2021-05-18 11:25hgbotResolutionopen => fixed
2021-05-18 11:25hgbotStatusnew => closed
2021-05-18 11:25hgbotFixed in Version => PR21Q3
2021-05-18 11:25hgbotNote Added: 0128306
2021-05-18 11:25hgbotNote Added: 0128307
2021-06-10 12:57vmromanosRelationship addedcauses 0047054

Notes
(0128243)
hgbot   
2021-05-17 13:40   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/366 [^]
(0128306)
hgbot   
2021-05-18 11:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: a78491bc8720523eb48ddf308bf7798025529ecb
Author: David Miguelez <david.miguelez@openbravo.com>
Date: 2021-05-18T09:23:56+00:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a78491bc8720523eb48ddf308bf7798025529ecb [^]

Fixes ISSUE-46691. Changes doExecute method from private to protected

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
---
(0128307)
hgbot   
2021-05-18 11:25   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/366 [^]