Openbravo Issue Tracking System - POS2
View Issue Details
0047812POS2Corepublic2021-10-05 15:112021-10-06 16:09
javierRodriguez 
javierRodriguez 
normalminoralways
closedfixed 
5
 
 
No
0047812: JIRA 2367 - The date input is being validated when the filed is not mandatory and the value is null or undefined
If 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.
set the date as a non-mandatory field and try to create a customer without a date.
if the field date value is null or undefined and the field is not mandatory, don't try to validate it.
No tags attached.
depends on backport 0047813TAP closed javierRodriguez JIRA 2367 - The date input is being validated when the filed is not mandatory and the value is null or undefined 
Issue History
2021-10-05 15:11javierRodriguezNew Issue
2021-10-05 15:11javierRodriguezAssigned To => javierRodriguez
2021-10-05 15:11javierRodriguezTriggers an Emergency Pack => No
2021-10-05 15:12javierRodriguezStatusnew => scheduled
2021-10-06 12:09hgbotNote Added: 0132194
2021-10-06 12:14guilleaerSummaryThe 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:43hgbotResolutionopen => fixed
2021-10-06 15:43hgbotStatusscheduled => closed
2021-10-06 15:43hgbotNote Added: 0132202
2021-10-06 15:43hgbotNote Added: 0132203
2021-10-06 15:43hgbotNote Added: 0132204
2021-10-06 16:09hgbotNote Added: 0132209

Notes
(0132194)
hgbot   
2021-10-06 12:09   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/643 [^]
(0132202)
hgbot   
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   
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   
2021-10-06 15:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/643 [^]
(0132209)
hgbot   
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
---