Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0055049 | POS2 | POS | public | 2024-03-25 17:33 | 2024-03-26 00:50 |
|
Reporter | NaroaIriarte | |
Assigned To | NaroaIriarte | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 24Q2 | |
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 | 0055049: When a field validation was done, the message was not properly handled in some situations. |
Description | If a field was validated with the validator engine, the error message was correctly shown but when a second validation was done by the super, the message was missing.
The problem was that the validators were sending two arguments, the message and the parameters that were mainly used as parameters to improve said message.
The validator engine, needs to send the property name that is being validated.
The needed fix is to add an extra argument to prevent from loosing information when the validations are done. |
Steps To Reproduce | . |
Proposed Solution | New logic has been added to the validateRequiredField function of the FormHandler.js. This way, it sends not only parameters and message, but also the field name as 'propertyName' which is needed now.
Other logic has been fixed too in the validateField function of the CustomerMultiTabDialogFormHandler file to show the messages properly. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-03-25 17:33 | NaroaIriarte | New Issue | |
2024-03-25 17:33 | NaroaIriarte | Assigned To | => Retail |
2024-03-25 17:33 | NaroaIriarte | Triggers an Emergency Pack | => No |
2024-03-25 17:33 | NaroaIriarte | Assigned To | Retail => NaroaIriarte |
2024-03-25 17:33 | NaroaIriarte | Status | new => acknowledged |
2024-03-25 17:33 | NaroaIriarte | Status | acknowledged => scheduled |
2024-03-25 19:22 | hgbot | Note Added: 0162614 | |
2024-03-25 19:24 | hgbot | Note Added: 0162615 | |
2024-03-25 19:30 | NaroaIriarte | Description Updated | bug_revision_view_page.php?rev_id=27733#r27733 |
2024-03-26 00:50 | hgbot | Note Added: 0162618 | |
2024-03-26 00:50 | hgbot | Note Added: 0162619 | |
2024-03-26 00:50 | hgbot | Resolution | open => fixed |
2024-03-26 00:50 | hgbot | Status | scheduled => closed |
2024-03-26 00:50 | hgbot | Fixed in Version | => 24Q2 |
2024-03-26 00:50 | hgbot | Note Added: 0162620 | |
2024-03-26 00:50 | hgbot | Note Added: 0162621 | |
Notes |
|
(0162614)
|
hgbot
|
2024-03-25 19:22
|
|
|
|
(0162615)
|
hgbot
|
2024-03-25 19:24
|
|
|
|
(0162618)
|
hgbot
|
2024-03-26 00:50
|
|
|
|
(0162619)
|
hgbot
|
2024-03-26 00:50
|
|
|
|
(0162620)
|
hgbot
|
2024-03-26 00:50
|
|
|
|
(0162621)
|
hgbot
|
2024-03-26 00:50
|
|
|