Openbravo Issue Tracking System - POS2
View Issue Details
0057992POS2POSpublic2025-02-14 12:092025-02-17 12:40
guilleaer 
Bimla_vm 
normalminoralways
scheduledopen 
5
 
 
No
0057992: [25Q1] Marketing Survey problem with date fields
At the moment of setting the Date for the Marketing Survey, the SUBMIT button is enable for less than 1 second and, after that, it is disabled.
The User gets stuck unless the SUBMIT button it is very quickly clicked just after the DATE is set.
This issue has been reproduce in 25Q1 and in livebuilds master.
0-Loging to BackOffice and using "The White Valley Group Admin" role, go to "Marketing Survey" window and create (if it does not exist) a new record with the following data:
--
Organization: Vall Blanca Store
Active: Yes
Search Key *: TEST_LabelForSearchKey
Type of Survey *: Date
Text *: TEST_LabelForSearchKey
Requirement *: Optional
--
Save the record and go to "Organization" tab.
Create a new record in form view and go to "Application Mode" selector and click in the arrow to see the available options and set POS

1-Login to POS
2-complete an order
3-try to fill the survey
4-ealise the SUBMIT button is enabled very briefly and the it is disabled. The user gets stuck there and the flow can not continue.
No tags attached.
Issue History
2025-02-14 12:09guilleaerNew Issue
2025-02-14 12:09guilleaerAssigned To => Bimla_vm
2025-02-14 12:09guilleaerTriggers an Emergency Pack => No
2025-02-14 12:09guilleaerIssue generated from0057876
2025-02-14 12:11guilleaerStatusnew => acknowledged
2025-02-14 12:12guilleaerStatusacknowledged => scheduled
2025-02-17 12:40Bimla_vmNote Added: 0175767

Notes
(0175767)
Bimla_vm   
2025-02-17 12:40   
"This behaviour is caused by the sequence of events: when the date is set, the button’s disabled state is set to false, but before the state is updated, the onFieldFocus function is triggered. As a result, the button's disabled state reverts to its previous value, causing it to be disabled."