Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048221Openbravo ERPA. Platformpublic2021-12-10 14:002022-01-11 08:03
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
PR22Q2 
Core
No
0048221: Cleanup obsolete 2.50 UI implementation from UsedByLink
This code is the server-side implementation of the "Linked Items" section of generated windows.

It contains both the commands for
a.) current 3.0 UI related action (JSONCategory, JSONLinkedItem)
b.) obsolete 2.50 UI DEFAULT,LINKS

That part b.) should be deleted as it is long obsolete
Search for usage of UsedByLink servlet in all code.
Observe that the only usage today are the commands JSONCategory, JSONLinkedItem
No tags attached.
depends on defect 0048370 closed alostale API change: removed UsedByLink_Detail.html mapping 
blocks design defect 0032688 acknowledged Triage Platform Base remove unused resources 
Issue History
2021-12-10 14:00shuehnerNew Issue
2021-12-10 14:00shuehnerAssigned To => Triage Platform Base
2021-12-10 14:00shuehnerModules => Core
2021-12-10 14:00shuehnerTriggers an Emergency Pack => No
2021-12-10 14:00shuehnerAssigned ToTriage Platform Base => shuehner
2021-12-10 14:00shuehnerRelationship addedblocks 0032688
2021-12-10 14:55hgbotNote Added: 0133616
2022-01-11 07:49alostaleRelationship addeddepends on 0048370
2022-01-11 08:03hgbotResolutionopen => fixed
2022-01-11 08:03hgbotStatusnew => closed
2022-01-11 08:03hgbotFixed in Version => PR22Q2
2022-01-11 08:03hgbotNote Added: 0134191
2022-01-11 08:03hgbotNote Added: 0134192

Notes
(0133616)
hgbot   
2021-12-10 14:55   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/468 [^]
(0134191)
hgbot   
2022-01-11 08:03   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: f1bc9b6e0e70e0c9eb939d4b3444097c37de6e5c
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 10-01-2022 09:24:39
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f1bc9b6e0e70e0c9eb939d4b3444097c37de6e5c [^]

Fixes ISSUE-48221: Remove 2.50 bits of Linked Items code

The UsedByLink servlet still had unused 2.50 era code inside which is no
longer used.
Delete those unused part:
- Commands DEFAULT and links
- the implemented and xmlEngine templates related to that
- the url mapping for UsedByLink_Detail.html (which is unused)
- the openLinkedItems function of the ClassicOBCompatibility class as it
  was only referenced from what is removed here

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-compatibility.js
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/utility/UsedByLink.java
M src/org/openbravo/erpCommon/utility/UsedByLink_data.xsql
R src/org/openbravo/erpCommon/utility/UsedByLink.html
R src/org/openbravo/erpCommon/utility/UsedByLink.xml
R src/org/openbravo/erpCommon/utility/UsedByLink_Detail.html
R src/org/openbravo/erpCommon/utility/UsedByLink_Detail.xml
---
(0134192)
hgbot   
2022-01-11 08:03   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/468 [^]