Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044803 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-08-12 16:59 | 2020-10-15 12:51 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | platform | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR21Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044803: Support for old-style callout (HttpServletBased and not SimpleCallout) should be removed (for generated-Windows, ad_callout) | |||||||
Description | All modern callouts are based on SimpleCallout after a mass-refactor in issue 36067 (17Q4 release). Even before then new callouts written were using SimpleCallout for several years. To simplify the code in FormInitializionComponent the support for the old system should be removed. Also this support for old callouts is one of the two only cases where backend code is needing a JS execution engine which will require extra work to continue to be usable with JDK>=15 (see issue 43903) This issue specifically is about code registered in ad_callout and used FormInitializationComtent (as part of generated standard windows) | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||
|
Notes | |
(0123030) hgbot (developer) 2020-09-14 18:01 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/163 [^] |
(0123033) hgbot (developer) 2020-09-14 18:08 |
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/163 [^] |
(0123034) hgbot (developer) 2020-09-14 18:08 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/164 [^] |
(0123712) hgbot (developer) 2020-10-15 12:51 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/164 [^] |
(0123713) hgbot (developer) 2020-10-15 12:51 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: f41ef039ca5f7a424f8567a99e5855f3d780e8a6 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 2020-10-15T11:30:18+02:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f41ef039ca5f7a424f8567a99e5855f3d780e8a6 [^] Fixes ISSUE-44803: Remove support for old-style (HttpServlet based) callouts All modern callouts are based on SimpleCallout and this should always be used as a base. Support for old callouts based on HttpServlet is removed from ad_callout and FormInitializationContent. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/ViewComponent.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelServlet.java M src-test/src/org/openbravo/test/AllAntTaskTests.java M src/org/openbravo/erpCommon/ad_callouts/CalloutConstants.java R src-test/src/org/openbravo/test/system/OldCallouts.java R src/org/openbravo/erpCommon/ad_callouts/HttpServletCalloutInformationProvider.java --- |
(0123714) hgbot (developer) 2020-10-15 12:51 |
Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 7dab7882d5d9e700a6a59a0c30f65c0a90f12b07 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 2020-10-15T11:30:18+02:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/7dab7882d5d9e700a6a59a0c30f65c0a90f12b07 [^] Related to ISSUE-44803: Fail on View generation when callout not implemented When a callout class implementation is not found or there's no callout implementation in the corresponding table, View generation will fail with an exception. Previously it only failed with an exception on Callouts that used old callout type based on HttpServlet. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/ViewComponent.java M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2020-08-12 16:59 | shuehner | New Issue | |
2020-08-12 16:59 | shuehner | Assigned To | => platform |
2020-08-12 16:59 | shuehner | Modules | => Core |
2020-08-12 16:59 | shuehner | Triggers an Emergency Pack | => No |
2020-08-12 16:59 | shuehner | Relationship added | depends on 0044795 |
2020-08-12 16:59 | shuehner | Relationship added | related to 0043903 |
2020-08-13 15:37 | shuehner | Summary | Support for old-style callout (HttpServletBased and not SimpleCallout) should be removed => Support for old-style callout (HttpServletBased and not SimpleCallout) should be removed (for generated-Windows, ad_callout) |
2020-08-13 15:37 | shuehner | Description Updated | View Revisions |
2020-08-13 15:47 | shuehner | Issue cloned | 0044811 |
2020-08-13 15:47 | shuehner | Relationship added | blocks 0044811 |
2020-09-14 18:01 | hgbot | Note Added: 0123030 | |
2020-09-14 18:08 | hgbot | Note Added: 0123033 | |
2020-09-14 18:08 | hgbot | Note Added: 0123034 | |
2020-10-15 12:35 | cberner | Relationship added | causes 0045231 |
2020-10-15 12:51 | hgbot | Resolution | open => fixed |
2020-10-15 12:51 | hgbot | Status | new => closed |
2020-10-15 12:51 | hgbot | Note Added: 0123712 | |
2020-10-15 12:51 | hgbot | Fixed in Version | => PR21Q1 |
2020-10-15 12:51 | hgbot | Note Added: 0123713 | |
2020-10-15 12:51 | hgbot | Note Added: 0123714 |
Copyright © 2000 - 2009 MantisBT Group |