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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047812
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminoralways2021-10-05 15:112021-10-06 16:09
ReporterjavierRodriguezView Statuspublic 
Assigned TojavierRodriguez 
PrioritynormalResolutionfixedFixed in Version
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

0047812: JIRA 2367 - The date input is being validated when the filed is not mandatory and the value is null or undefined

DescriptionIf there is a non-mandatory date input and it it not set, the form validation is trying to validate it.

the application shows an invalid date error notification.
Steps To Reproduceset the date as a non-mandatory field and try to create a customer without a date.
Proposed Solutionif the field date value is null or undefined and the field is not mandatory, don't try to validate it.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047813TAP closedjavierRodriguez JIRA 2367 - The date input is being validated when the filed is not mandatory and the value is null or undefined 

-  Notes
(0132194)
hgbot (developer)
2021-10-06 12:09

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/643 [^]
(0132202)
hgbot (developer)
2021-10-06 15:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: dbf11858fd5364df13955d04ec804a1e7ee46499
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 2021-10-06T12:05:12+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/dbf11858fd5364df13955d04ec804a1e7ee46499 [^]

Fixed ISSUE-47812: Verify if the date value is mandatory in case the value is null to do not validate it

---
M web-jspack/org.openbravo.core2/src/components/Form/FormHandler.js
---
(0132203)
hgbot (developer)
2021-10-06 15:43

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 7e172522347546efa693695ac5951dac39dd9c9b
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 2021-10-06T14:05:26+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7e172522347546efa693695ac5951dac39dd9c9b [^]

Fixed ISSUE-47812: Include tests to verify date validation

---
M web-jspack/org.openbravo.core2/src/components/Form/__test__/FormHandler.test.js
---
(0132204)
hgbot (developer)
2021-10-06 15:43

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/643 [^]
(0132209)
hgbot (developer)
2021-10-06 16:09

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: ae8ee9df3c8b036cbb0717d05711c052830a3bf9
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 2021-10-06T16:08:18+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/ae8ee9df3c8b036cbb0717d05711c052830a3bf9 [^]

Fixed ISSUE-47812: Fix date in tests

---
M web-jspack/org.openbravo.core2/src/components/Form/__test__/FormHandler.test.js
---

- Issue History
Date Modified Username Field Change
2021-10-05 15:11 javierRodriguez New Issue
2021-10-05 15:11 javierRodriguez Assigned To => javierRodriguez
2021-10-05 15:11 javierRodriguez Triggers an Emergency Pack => No
2021-10-05 15:12 javierRodriguez Status new => scheduled
2021-10-06 12:09 hgbot Note Added: 0132194
2021-10-06 12:14 guilleaer Summary The date input is being validated when the filed is not mandatory and the value is null or undefined => JIRA 2367 - The date input is being validated when the filed is not mandatory and the value is null or undefined
2021-10-06 15:43 hgbot Resolution open => fixed
2021-10-06 15:43 hgbot Status scheduled => closed
2021-10-06 15:43 hgbot Note Added: 0132202
2021-10-06 15:43 hgbot Note Added: 0132203
2021-10-06 15:43 hgbot Note Added: 0132204
2021-10-06 16:09 hgbot Note Added: 0132209


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker