Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0057989 | POS2 | POS | public | 2025-02-14 10:45 | 2025-02-21 09:18 |
|
Reporter | NaroaIriarte | |
Assigned To | NaroaIriarte | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 25Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
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. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0057838 | | closed | NaroaIriarte | [25Q1] Postal Code Validation Not Applied |
|
Attached Files | |
|
Issue History |
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 | |
2025-02-21 09:18 | hgbot | Resolution | open => fixed |
2025-02-21 09:18 | hgbot | Status | scheduled => resolved |
2025-02-21 09:18 | hgbot | Fixed in Version | => 25Q2 |
2025-02-21 09:18 | hgbot | Note Added: 0176007 | |
2025-02-21 09:18 | hgbot | Note Added: 0176008 | |