Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0044812 | Openbravo ERP | 04. Warehouse management | public | 2020-08-13 15:55 | 2020-09-07 17:19 |
|
Reporter | shuehner | |
Assigned To | inigo_lerga | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR20Q4 | |
Merge Request Status | |
Review Assigned To | |
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 | 0044812: SL_MInOutTraceReports callout is old-style callout (not SimpleCallout) but also used in manual HTML code |
Description | This file was not yet refactored to be a SimpleCallout as it is also used as a Servlet directly from manual HTML code:
Issue 44795 tries to get rid of all callouts registered in ad_callout which are still a Servlet.
Registered as ad_callout here:
./src-db/database/sourcedata/AD_CALLOUT.xml:<!--800007--> <AD_CALLOUT_ID><![CDATA[800007]]></AD_CALLOUT_ID>
Used manually in in 2 files:
src/org/openbravo/erpCommon/ad_reports/MInOutTraceReports.html: submitCommandFormParameter('DEFAULT', frmMain.inpLastFieldChanged, changedField, false, null, '../ad_callouts/SL_MInOutTraceReports.html', 'hiddenFrame', null, null, true);
src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.html: submitCommandFormParameter('DEFAULT', frmMain.inpLastFieldChanged, changedField, false, null, '../ad_callouts/SL_MInOutTraceReports.html', 'hiddenFrame', null, null, true);
Checking usage in PI + all modules does not show not any reference to ad_callout _id = 800007.
So when that is verified easy 'fix' would be to change this file to be just a manual servlet (ad_model_object) and remove the ad_callout entry |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0044813 | | closed | inigo_lerga | SL_CreateLines_Conversion_UOM callout is old-style callout (not SimpleCallout) but also used in manual HTML code | blocks | design defect | 0044795 | | new | Triage Omni OMS | Tracking issue to refactor remaining old callouts to extend SimpleCallout |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-08-13 15:55 | shuehner | New Issue | |
2020-08-13 15:55 | shuehner | Assigned To | => Triage Finance |
2020-08-13 15:55 | shuehner | Modules | => Core |
2020-08-13 15:55 | shuehner | Triggers an Emergency Pack | => No |
2020-08-13 15:56 | shuehner | Relationship added | blocks 0044795 |
2020-08-13 15:58 | shuehner | Issue cloned | 0044813 |
2020-08-13 15:58 | shuehner | Relationship added | related to 0044813 |
2020-08-14 12:49 | dmiguelez | Assigned To | Triage Finance => inigo_lerga |
2020-08-21 08:41 | inigo_lerga | Status | new => scheduled |
2020-09-03 12:59 | hgbot | Note Added: 0122587 | |
2020-09-03 13:34 | inigo_lerga | Note Added: 0122588 | |
2020-09-07 09:08 | inigo_lerga | Note Edited: 0122588 | bug_revision_view_page.php?bugnote_id=0122588#r21631 |
2020-09-07 09:09 | inigo_lerga | Note Edited: 0122588 | bug_revision_view_page.php?bugnote_id=0122588#r21632 |
2020-09-07 09:11 | inigo_lerga | Note Edited: 0122588 | bug_revision_view_page.php?bugnote_id=0122588#r21633 |
2020-09-07 09:12 | inigo_lerga | Note Edited: 0122588 | bug_revision_view_page.php?bugnote_id=0122588#r21634 |
2020-09-07 17:08 | dmiguelez | Note Edited: 0122588 | bug_revision_view_page.php?bugnote_id=0122588#r21656 |
2020-09-07 17:12 | hgbot | Note Added: 0122767 | |
2020-09-07 17:13 | hgbot | Note Added: 0122768 | |
2020-09-07 17:13 | hgbot | Note Added: 0122769 | |
2020-09-07 17:19 | hgbot | Resolution | open => fixed |
2020-09-07 17:19 | hgbot | Status | scheduled => closed |
2020-09-07 17:19 | hgbot | Note Added: 0122770 | |
2020-09-07 17:19 | hgbot | Fixed in Version | => PR20Q4 |
2020-09-07 17:19 | hgbot | Note Added: 0122771 | |
Notes |
|
(0122587)
|
hgbot
|
2020-09-03 12:59
|
|
|
|
(0122588)
|
inigo_lerga
|
2020-09-03 13:34
(edited on: 2020-09-07 17:08) |
|
--Test Plan Mantis --
After deleting the AD_CALLOUT entry for this class, there is still an AD_MODEL_OBJECT entry linked to it, which allows Tomcat to be able to make
the Ajax call to the servlet.
As the F&B International Group Admin role in Backend:
- Go to either Traceability Report window or
Product Movements Report window and press the Product
selector button. Select 'Vino Tinto 0,75L' and press the
OK button.
#In this moment the manual servlet is executed, which inserts the Attribute [CG1000000] in the Attribute selector field"
Check that this value is present in this selector afterwards
|
|
|
(0122767)
|
hgbot
|
2020-09-07 17:12
|
|
|
|
(0122768)
|
hgbot
|
2020-09-07 17:13
|
|
|
|
(0122769)
|
hgbot
|
2020-09-07 17:13
|
|
|
|
(0122770)
|
hgbot
|
2020-09-07 17:19
|
|
|
|
(0122771)
|
hgbot
|
2020-09-07 17:19
|
|
|