Openbravo Issue Tracking System - POS2
View Issue Details
0057876POS2POSpublic2025-02-05 14:042025-02-17 12:25
lorenzofidalgo 
Bimla_vm 
normalminoralways
scheduledopen 
5
 
 
No
0057876: [25Q1] [SCO] "Application Mode" in Marketing Survey||Organization is prepared to configure SCO but it leads to misconfiguration
The "Application Mode" input field in Marketing Survey||Organization enables the BO user to configure Marketing Survey for SCO (check attached image), but SCO is not prepared to work with Marketing Survey, so it leads to misconfiguration, which leads to critical issues such as the one described below:

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. DEFECT: Realise "Self-Checkout (SCO)" is available as an option but that option must not be available since it leads to misconfiguration.

Example of an issue when "Self-Checkout (SCO)" in selected in "Application Mode":

1-Login to SCO main screen using vallblanca (in a context with Marketing Survey configured and, inside "Marketing Survey" window, the "Requirement *" field in is set as "Mandatory" and the "Type of Survey *" field is set as "Date". Besides, in Marketing_Survey || Organization tab, the "Application Mode" field must be "Self-Checkout (SCO)") (image attached with the configuration).
2-Click "Enter Code Manually" and add any product.
3-Click "Finish and pay" and click "Confirm basket".
4-Select "Card" as payment method.
5-Select "Simplify invoice" and "No receipt*". Click "Continue" button.
6-The "Marketing Survey" popup must have been shown. Click in the Date selector and select any date. DEFECT: Realise the SUBMIT button is enabled very briefly and the it is disabled. The user gets stuck there and the flow can not continue.
Don't Allow to configure marketing survey for SCO by hidding the applicattion mode from the combo
No tags attached.
related to defect 0057878 closed Retail [25Q1] [SCO] Marketing Survey Date field needs to be bounded. It accepts several wrong inputs 
png MarketingSurveySubmitNotClickable.png (24,719) 2025-02-05 14:04
https://issues.openbravo.com/file_download.php?file_id=20855&type=bug
png

png MarketingSurveyBOConfiguration.png (54,602) 2025-02-05 14:05
https://issues.openbravo.com/file_download.php?file_id=20856&type=bug
png

png SCO.png (47,782) 2025-02-06 09:37
https://issues.openbravo.com/file_download.php?file_id=20862&type=bug
png
Issue History
2025-02-05 14:04lorenzofidalgoNew Issue
2025-02-05 14:04lorenzofidalgoAssigned To => Retail
2025-02-05 14:04lorenzofidalgoFile Added: MarketingSurveySubmitNotClickable.png
2025-02-05 14:04lorenzofidalgoTriggers an Emergency Pack => No
2025-02-05 14:04lorenzofidalgoIssue generated from0057866
2025-02-05 14:05lorenzofidalgoFile Added: MarketingSurveyBOConfiguration.png
2025-02-05 14:06lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29175#r29175
2025-02-05 14:16lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29176#r29176
2025-02-05 14:19lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=29178#r29178
2025-02-05 14:19lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=29179#r29179
2025-02-05 14:34lorenzofidalgoIssue cloned0057878
2025-02-05 14:34lorenzofidalgoRelationship addedrelated to 0057878
2025-02-06 07:02jorgewederagoNote Added: 0175191
2025-02-06 07:02jorgewederagoStatusnew => closed
2025-02-06 07:02jorgewederagoResolutionopen => invalid
2025-02-06 07:41jorgewederagoNote Edited: 0175191bug_revision_view_page.php?bugnote_id=0175191#r29197
2025-02-06 09:37lorenzofidalgoNote Added: 0175203
2025-02-06 09:37lorenzofidalgoStatusclosed => new
2025-02-06 09:37lorenzofidalgoResolutioninvalid => open
2025-02-06 09:37lorenzofidalgoNote Edited: 0175203bug_revision_view_page.php?bugnote_id=0175203#r29199
2025-02-06 09:37lorenzofidalgoFile Added: SCO.png
2025-02-06 09:44lorenzofidalgoSeveritycritical => minor
2025-02-06 09:44lorenzofidalgoSummary[25Q1] [SCO] SUBMIT button in Marketing Survey is not clickable unless you click it very quickly => [25Q1] [SCO] "Application Mode" in Marketing Survey||Organization is prepared to configure SCO but it leads to misconfiguration
2025-02-06 09:44lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=29200#r29200
2025-02-06 10:05lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29201#r29201
2025-02-06 10:06lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29202#r29202
2025-02-06 10:06lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29203#r29203
2025-02-06 14:30guillermogilAssigned ToRetail => guilleaer
2025-02-07 13:30guilleaerStatusnew => acknowledged
2025-02-07 13:34Bimla_vmAssigned Toguilleaer => Bimla_vm
2025-02-07 13:34Bimla_vmStatusacknowledged => scheduled
2025-02-14 12:09guilleaerIssue cloned0057992
2025-02-14 12:13guilleaerProposed Solution updated
2025-02-17 12:25hgbotNote Added: 0175765

Notes
(0175191)
jorgewederago   
2025-02-06 07:02   
(edited on: 2025-02-06 07:41)
Marketing survey is not supported in SCO. A development that can be found in RM-19078 was done to help avoiding wrong configs.

(0175203)
lorenzofidalgo   
2025-02-06 09:37   
After talking about this issue, the final problem is that the backoffice is prepared to configure SCO in the application mode, but it must not be there because SCO is not prepared to work with Marketing Survey (check attached image)

(0175765)
hgbot   
2025-02-17 12:25   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.marketingsurvey/-/merge_requests/32 [^]