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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049597
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-06-17 10:202022-07-22 14:27
ReporternoemierousselView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionfixedFixed in Version22Q4
StatusclosedFix 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

0049597: A form that is not in edit mode should not be validated

DescriptionA form that it is in edit mode should should be validated before save, but if the form is not in edit mode it should not be validated.

This is a problem when in db the bp data miss any of the mandatory fields, and when opening the bp details form you close it or do any action like "view orders", it tries to validate the form when it shouldn't.


JIRA: OP-1378
Steps To ReproducePrevious steps:
- go to the db and remove the address of john doo

Steps:
- assign john doo to the ticket
- click in the john doo button in the ticket
- in the menu select view detail, it will open the view details of the bp
- click on "view orders" button

ERROR: it will validate the form and cancel the navigation
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049095 closedgorka_gil Show the customer activity 

-  Notes
(0139295)
hgbot (developer)
2022-07-13 11:37

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/798 [^]
(0139553)
hgbot (developer)
2022-07-22 14:27

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: b096ecf641b5dbf9bea2eda8035df81ca598ba0f
Author: Adrián Blasco <adrian.blasco@openbravo.com>
Date: 22-07-2022 12:27:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/b096ecf641b5dbf9bea2eda8035df81ca598ba0f [^]

Fixes ISSUE-49597: A form that is not in edit mode should not be validated

Applied in BaseForm.jsx check on readOnly mode, if the form is in read only mode, it will not try to validate it. The same if a field is in read only mode, it will not try to validate that particular field on focus or on blur.

---
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
---
(0139554)
hgbot (developer)
2022-07-22 14:27

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/798 [^]

- Issue History
Date Modified Username Field Change
2022-06-17 10:20 noemieroussel New Issue
2022-06-17 10:20 noemieroussel Assigned To => Retail
2022-06-17 10:20 noemieroussel Triggers an Emergency Pack => No
2022-06-17 11:47 noemieroussel Description Updated View Revisions
2022-06-17 11:47 noemieroussel Steps to Reproduce Updated View Revisions
2022-06-17 11:48 noemieroussel Severity major => minor
2022-06-17 11:49 noemieroussel Description Updated View Revisions
2022-06-17 12:01 gorka_gil Summary "View orders" button does not work when clicking on the "view details" button from an identified customer => A form that is not in edit mode should not be validated
2022-06-17 12:01 gorka_gil Description Updated View Revisions
2022-06-17 12:01 gorka_gil Steps to Reproduce Updated View Revisions
2022-06-17 13:59 gorka_gil Relationship added related to 0049095
2022-07-08 12:39 rafaroda Tag Attached: FASH
2022-07-12 13:51 gorka_gil Severity minor => major
2022-07-12 13:57 guilleaer Assigned To Retail => Triage Platform Base
2022-07-13 11:37 hgbot Note Added: 0139295
2022-07-22 14:27 hgbot Resolution open => fixed
2022-07-22 14:27 hgbot Status new => closed
2022-07-22 14:27 hgbot Fixed in Version => 22Q4
2022-07-22 14:27 hgbot Note Added: 0139553
2022-07-22 14:27 hgbot Note Added: 0139554


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker