Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057989
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] POSminoralways2025-02-14 10:452025-02-17 14:14
ReporterNaroaIriarteView Statuspublic 
Assigned ToNaroaIriarte 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057989: The code that validates the CRM configuration properties, should be refectored

DescriptionCurrently, 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 ReproduceJust open the js file and check how many times the check of the entity is done.
Proposed SolutionRefactor 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0057838 closedNaroaIriarte [25Q1] Postal Code Validation Not Applied 

-  Notes
(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 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker