Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0057989 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [POS2] POS | minor | always | 2025-02-14 10:45 | 2025-02-17 14:14 | |||||||
Reporter | NaroaIriarte | View Status | public | |||||||||
Assigned To | NaroaIriarte | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | 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 | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0057989: The code that validates the CRM configuration properties, should be refectored | |||||||||||
Description | Currently, the way of differentiating if a property is from a customer entity or a customer address entity, is checked in several parts of the code of the file 'CustomerFormHandlerUtils'. The way its done, leads to confusion and it is prone to future issues and also it has a high cost in code maintenance. | |||||||||||
Steps To Reproduce | Just open the js file and check how many times the check of the entity is done. | |||||||||||
Proposed Solution | Refactor the code, take the entity instance to a constant and put it at the beginning. So, all the code will have access to it and the maintenance and the checks will be much easier. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
![]() |
||||||||
|
![]() |
|
(0175773) hgbot (developer) 2025-02-17 14:14 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3511 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-02-14 10:45 | NaroaIriarte | New Issue | |
2025-02-14 10:45 | NaroaIriarte | Assigned To | => NaroaIriarte |
2025-02-14 10:45 | NaroaIriarte | Triggers an Emergency Pack | => No |
2025-02-14 10:46 | guillermogil | Type | defect => design defect |
2025-02-14 10:50 | NaroaIriarte | Relationship added | related to 0057838 |
2025-02-14 10:50 | NaroaIriarte | Status | new => acknowledged |
2025-02-14 10:50 | NaroaIriarte | Status | acknowledged => scheduled |
2025-02-17 14:14 | hgbot | Note Added: 0175773 |
Copyright © 2000 - 2009 MantisBT Group |