Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0040557 | Openbravo ERP | 09. Financial management | public | 2019-04-09 19:15 | 2019-05-21 15:17 | |||||||||||||||||||||
Reporter | shuehner | |||||||||||||||||||||||||
Assigned To | AtulOpenbravo | |||||||||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | 3.0PR19Q3 | Fixed in Version | 3.0PR19Q3 | |||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | vmromanos | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0040557: Remove more obsolete & disabled old aprm code (AddOrderOrInvoice, AddPaymentFrom*, AddTransactions & SelectExpectedPayments) | |||||||||||||||||||||||||
Description | This is a follow up to issue 35788. During development of APRM module several windows/popups were created initially using 2.50 style (manual server, html, xmlEngine) technology available at that time. Later more modern platform replacements came up (i.e. Pick & Execute) and those have been used to re-implement parts of APRM module. However the old implementations have never been removed and are getting more painful to still have around (bigger refactors, security related bugs). This issue is to remove the ones which are simplify obsolete and not used. 4 of those came up with some security related bugs recently. +1 is added here to remove all known obsolete files in org.openbravo.advpaymentmngt module src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.html src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.html src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.html src/org/openbravo/advpaymentmngt/ad_actionbutto/AddPaymentFromTransaction.html src/org/openbravo/advpaymentmngt/ad_actionbutton/SelectExpectedPayments.html Note: AddPaymentFromTransaction is used from AddTransaction (but that is also removal candidate here) Based on some older analysis what could be removed all those are marked as deletion candidate and apparently are just not used. That should be re-checked when working on this issue to avoid having missed some usage. | |||||||||||||||||||||||||
Steps To Reproduce | ./src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.html referenced from: not referenced as html mo: DC6F77826AD54AEF865E47C8FC356143 process: 12016E2EDE0245B5A36B84CBA144DBDF aka: FIN_AddOrderOrInvoice not used in AD DELETION Candidate ./src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.html no html mo: EF9F7381E3984C6CB7BE705C3BAD3E6C process: 2EED9BC16DB34D2B80BA40A21564BECF aka: FIN_AddPaymentFromInvoice not used in AD DELETION CANDIDATE ./src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.html html reference from: - MatchTransaction -> deletion candidate - Transactions.html -> deletion candidate mo: 89313103AC3C4CC0BF080175CE85AEE9 process: E3E92E9F08214507958E6875E66F2F99 aka: FIN_AddTransaction ad_column: A04179EAC69FF848E040007F01004523 - Name: EM_APRM_AddTransactions - Description: "Add Transaction From Financial Account (Deprecated) - NOTE: Not using 'Development Status = DP' ad_field: A0417A0E9257CA28E040007F01003C18 - Desc + Help -> text reference to 'Deprecated' - isactive = 'N' - in window 'Financial Account' -> Tab Account DELETION CANDIDATE ./src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.html html referenced from: - ad_actionbutton.AddTransaction -> deletion candidate mo: 9313D44D9A13480388AD5A55B455EDCB process: 4A059E4F79294640AD37B1B718C56E5D aka: FIN_AddPaymentFromTransaction not used in AD DELETION CANDIDATE ./src/org/openbravo/advpaymentmngt/ad_actionbutton/SelectExpectedPayments.html no html reference mo: 0F3F7B9BC1054B3BAEFC8BC44C55ADF9 process: 62E6270312534380B9A8BDF603CA8FBB aka: FIN_Proposal_SelectExpectedPayments not used in AD DELETION CANDIDATE | |||||||||||||||||||||||||
Proposed Solution | - Double check for each of the above that they are not used in Core + modules - Note: that 'usage' can be via several means - calling java for those - using referencing ad_process, ad_form etc - Using URL/html assigned to those above in ad_model_object_mapping - When deleting all directly related items should be deleted java,html,xml files ad_process, ad_model_object, ad_model_object_mapping Also more indirect references could be there (i.e. old ad_tab,ad_fields,ad_message - Apart deleting java the java to be deleted should be reviewed once. And every call to a method from this file should be checked if it was used only here or from other places. If some i.e. utility method was only used from this java -> It will be unused after and itself is candidate for deletion. As a reference list of deleted things in issue 35788 can also serve as a guidance here. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2019-04-09 19:15 | shuehner | New Issue | ||||||||||||||||||||||||
2019-04-09 19:15 | shuehner | Assigned To | => AtulOpenbravo | |||||||||||||||||||||||
2019-04-09 19:15 | shuehner | Modules | => Core | |||||||||||||||||||||||
2019-04-09 19:15 | shuehner | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2019-04-09 19:16 | shuehner | Relationship added | depends on 0035788 | |||||||||||||||||||||||
2019-04-09 19:44 | shuehner | Target Version | => 3.0PR19Q3 | |||||||||||||||||||||||
2019-04-09 19:56 | shuehner | Relationship added | blocks 0032688 | |||||||||||||||||||||||
2019-04-10 21:25 | AtulOpenbravo | Status | new => scheduled | |||||||||||||||||||||||
2019-04-25 19:51 | AtulOpenbravo | Relationship added | depends on 0040688 | |||||||||||||||||||||||
2019-05-16 12:43 | vmromanos | Review Assigned To | => vmromanos | |||||||||||||||||||||||
2019-05-16 20:40 | hgbot | Checkin | ||||||||||||||||||||||||
2019-05-16 20:40 | hgbot | Note Added: 0111728 | ||||||||||||||||||||||||
2019-05-16 20:40 | hgbot | Checkin | ||||||||||||||||||||||||
2019-05-16 20:40 | hgbot | Note Added: 0111731 | ||||||||||||||||||||||||
2019-05-16 20:41 | hgbot | Checkin | ||||||||||||||||||||||||
2019-05-16 20:41 | hgbot | Note Added: 0111735 | ||||||||||||||||||||||||
2019-05-17 08:02 | vmromanos | Note Added: 0111751 | ||||||||||||||||||||||||
2019-05-17 08:02 | vmromanos | Status | scheduled => resolved | |||||||||||||||||||||||
2019-05-17 08:02 | vmromanos | Fixed in Version | => 3.0PR19Q3 | |||||||||||||||||||||||
2019-05-17 08:02 | vmromanos | Fixed in SCM revision | => 6a3c5d03c3efdcf183887700f8d1627a0507c5ff | |||||||||||||||||||||||
2019-05-17 08:02 | vmromanos | Resolution | open => fixed | |||||||||||||||||||||||
2019-05-17 08:09 | vmromanos | Fixed in SCM revision | 6a3c5d03c3efdcf183887700f8d1627a0507c5ff => http://code.openbravo.com/erp/devel/pi/rev/6a3c5d03c3efdcf183887700f8d1627a0507c5ff [^] | |||||||||||||||||||||||
2019-05-17 08:13 | vmromanos | Note Added: 0111754 | ||||||||||||||||||||||||
2019-05-17 08:13 | vmromanos | Status | resolved => closed | |||||||||||||||||||||||
2019-05-17 08:14 | vmromanos | Note Deleted: 0111751 | ||||||||||||||||||||||||
2019-05-21 15:17 | hudsonbot | Checkin | ||||||||||||||||||||||||
2019-05-21 15:17 | hudsonbot | Note Added: 0112036 | ||||||||||||||||||||||||
2019-05-21 15:17 | hudsonbot | Checkin | ||||||||||||||||||||||||
2019-05-21 15:17 | hudsonbot | Note Added: 0112038 | ||||||||||||||||||||||||
2019-05-21 15:17 | hudsonbot | Checkin | ||||||||||||||||||||||||
2019-05-21 15:17 | hudsonbot | Note Added: 0112042 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|