Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0047941 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | major | always | 2021-10-27 11:30 | 2022-01-12 16:35 | |||
Reporter | ramprakash | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR22Q1 | |||
Status | closed | 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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 27927 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0047941: Issue in creating a order line | |||||||
Description | While creating a record in grid view, the DirtyEditForm is not reseting. Because of that dirtyEditForm.validateForm() is getting called and checking for the field errors. | |||||||
Steps To Reproduce | 1.open sales order window . 2.create sales order header. 3.now follow the steps to create an orderline. 4.[Click create a new record in form] button , immediately click the [cancel changes and return to last saved state] button , after this simultaneously try to create a new line by clicking [insert row] button . 5.Actually if the lines are with null values , it would call the DirtyForm to indicate error, in our case as we are trying to insert a new a row after clicking the [cancel changes and return to last saved state] button , at this situation only new row has to be inserted without error. 6.Also This occurs Randomly at the situation , if we try to create a line initially in form view then cancel and then using the insertrow . 7. While creating a record in grid view, the DirtyEditForm is not reseting. Because of that dirtyEditForm.validateForm() is getting called and checking for the field errors. 8.As the error occurs at handleFieldErrors: function(errors). for more reference --> www youtube com/watch?v=Z y x s 0 i L Z 8 g M | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0133421) hgbot (developer) 2021-12-01 09:29 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/464 [^] |
(0133452) hgbot (developer) 2021-12-02 07:18 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/464 [^] |
(0133453) hgbot (developer) 2021-12-02 07:18 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: c4c1c2e295e904fe0dd25f189547a8c8ea3bda41 Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 2021-12-02T06:17:44+00:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c4c1c2e295e904fe0dd25f189547a8c8ea3bda41 [^] Fixes ISSUE-47941: Validating error when creating a line The problem was that sometimes, when creating a new record in grid mode, the new empty record was validated and that resulted in an error because some of the mandatory fields were still empty. The validation should not have been triggered. It was triggered in this line [1], because it detected that the filter of a numeric filter was not undefined. It should have been undefined but instead it was null, because of this other line [2] that transformed an undefined value to a null value. This resulted in the filter assuming that the filter value had changed, and triggering the filter action as a result. To fix this, the roundJsNumberUsingTypeInstance function now checks if the input value is undefined and returns immediately in that case. [1] https://gitlab.com/openbravo/product/openbravo/-/blob/0cce31f23f48583342d7d830e40f8624ae174bcd/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js#L714 [^] [2] https://gitlab.com/openbravo/product/openbravo/-/blob/0cce31f23f48583342d7d830e40f8624ae174bcd/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js#L484 [^] --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js --- |
(0134267) plujan (viewer) 2022-01-12 16:35 |
I've removed the link provided as part of the issue as it might be non GDPR complaint |
![]() |
|||
Date Modified | Username | Field | Change |
2021-10-27 11:30 | ramprakash | New Issue | |
2021-10-27 11:30 | ramprakash | Assigned To | => platform |
2021-10-27 11:30 | ramprakash | OBNetwork customer | => OBPS |
2021-10-27 11:30 | ramprakash | Modules | => Core |
2021-10-27 11:30 | ramprakash | Support ticket | => 27927 |
2021-10-27 11:30 | ramprakash | Triggers an Emergency Pack | => No |
2021-10-27 11:37 | ramprakash | File Added: Screenshot 2021-10-27 at 3.03.11 PM.png | |
2021-10-27 11:40 | ramprakash | File Added: 27927.zip | |
2021-10-27 11:40 | ramprakash | File Deleted: Screenshot 2021-10-27 at 3.03.11 PM.png | |
2021-11-22 12:29 | AugustoMauch | Type | design defect => defect |
2021-11-24 12:59 | egoitz | OBNetwork customer | OBPS => Gold |
2021-12-01 00:22 | AugustoMauch | Relationship added | related to 0024692 |
2021-12-01 00:22 | AugustoMauch | Assigned To | platform => AugustoMauch |
2021-12-01 00:22 | AugustoMauch | Status | new => scheduled |
2021-12-01 09:29 | hgbot | Merge Request Status | => open |
2021-12-01 09:29 | hgbot | Note Added: 0133421 | |
2021-12-02 07:18 | hgbot | Merge Request Status | open => approved |
2021-12-02 07:18 | hgbot | Resolution | open => fixed |
2021-12-02 07:18 | hgbot | Status | scheduled => closed |
2021-12-02 07:18 | hgbot | Note Added: 0133452 | |
2021-12-02 07:18 | hgbot | Fixed in Version | => PR22Q1 |
2021-12-02 07:18 | hgbot | Note Added: 0133453 | |
2022-01-12 16:35 | plujan | Note Added: 0134267 | |
2022-01-12 16:35 | plujan | Steps to Reproduce Updated | View Revisions |
Copyright © 2000 - 2009 MantisBT Group |