Openbravo Issue Tracking System - POS2
View Issue Details
0046130POS2POSpublic2021-03-24 10:512021-04-26 18:13
jmelin 
prakashmurugesan88 
highminoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
guilleaer
No
0046130: JIRA 1457 - Autocompletion should be disabled by default
The autocompletion should be disabled by default for textbox input

Otherwise, when creating/updating a BP for exemple, every previous input are proposed or autofilled (see capture)
open live builds (https://livebuilds.openbravo.com/retail_pos2_pgsql [^])
Login in backoffice Openbravo/openbravo
Move to Role "The White Valley Group Admin"
Go to client window
Select "The White Valley Group" client
In tab below "client information" scroll down to reach "CRM conector" section
Mark "Enable CRM conector". A dropdown will appear, there "Sample CRM Integration - Proxy" should be selected
Logout
Go to new POS2 (https://livebuilds.openbravo.com/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]) and login (demouser/openbravo)
In the main menu (left side) select the option Customers
Press button new customer
Fill the form and save

If you do that several times, you will see that fields suggest previous values and this is wrong.
https://gist.github.com/niksumeiko/360164708c3b326bd1c8 [^]
Takeaway
depends on backport 0046358TAP closed prakashmurugesan88 JIRA 1457 - Autocompletion should be disabled by default 
png 2021-03-24.png (105,746) 2021-03-24 10:51
https://issues.openbravo.com/file_download.php?file_id=15454&type=bug
png

png 46130.PNG (11,311) 2021-04-21 17:46
https://issues.openbravo.com/file_download.php?file_id=15553&type=bug
png
Issue History
2021-03-24 10:51jmelinNew Issue
2021-03-24 10:51jmelinAssigned To => Retail
2021-03-24 10:51jmelinFile Added: 2021-03-24.png
2021-03-24 10:51jmelinTriggers an Emergency Pack => No
2021-03-24 15:38guilleaerStatusnew => scheduled
2021-03-24 15:38guilleaerAssigned ToRetail => guilleaer
2021-03-24 23:19guilleaerAssigned Toguilleaer => prakashmurugesan88
2021-03-24 23:30guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22259#r22259
2021-03-24 23:30guilleaerProposed Solution updated
2021-03-25 10:34jmelinSummaryAutocompletion should be disabled by default => JIRA 1457 - Autocompletion should be disabled by default
2021-03-25 19:11guilleaerNote Added: 0126928
2021-03-25 19:12hgbotResolutionopen => fixed
2021-03-25 19:12hgbotStatusscheduled => resolved
2021-03-25 19:12hgbotNote Added: 0126929
2021-03-25 19:13guilleaerReview Assigned To => guilleaer
2021-03-25 19:13guilleaerStatusresolved => closed
2021-03-30 13:24jmelinAssigned Toprakashmurugesan88 => Retail
2021-03-30 13:24jmelinNote Added: 0127026
2021-03-30 13:24jmelinStatusclosed => new
2021-03-30 13:24jmelinResolutionfixed => open
2021-03-31 01:28guilleaerAssigned ToRetail => prakashmurugesan88
2021-03-31 07:28prakashmurugesan88Statusnew => scheduled
2021-03-31 09:24hgbotNote Added: 0127065
2021-04-05 19:18hgbotNote Added: 0127089
2021-04-05 19:18hgbotResolutionopen => fixed
2021-04-05 19:18hgbotStatusscheduled => closed
2021-04-05 19:18hgbotNote Added: 0127090
2021-04-21 17:46jmelinFile Added: 46130.PNG
2021-04-21 17:47jmelinNote Added: 0127426
2021-04-21 17:47jmelinStatusclosed => new
2021-04-21 17:47jmelinResolutionfixed => open
2021-04-22 23:05guilleaerTag Attached: Takeaway
2021-04-22 23:08guilleaerResolution time => 1617746400
2021-04-23 09:56guilleaerResolution time1617746400 => 1618956000
2021-04-23 09:56guilleaerSeveritymajor => minor
2021-04-23 09:58guilleaerStatusnew => scheduled
2021-04-25 17:27guilleaerNote Added: 0127526
2021-04-26 17:36guilleaerStatusscheduled => resolved
2021-04-26 17:36guilleaerResolutionopen => fixed
2021-04-26 17:36guilleaerStatusresolved => closed
2021-04-26 17:36guilleaerStatusclosed => new
2021-04-26 17:36guilleaerResolutionfixed => open
2021-04-26 17:36guilleaerStatusnew => scheduled
2021-04-26 17:57hgbotResolutionopen => fixed
2021-04-26 17:57hgbotStatusscheduled => closed
2021-04-26 17:57hgbotNote Added: 0127540
2021-04-26 18:13prakashmurugesan88Note Added: 0127541

Notes
(0126928)
guilleaer   
2021-03-25 19:11   
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/417 [^]
(0126929)
hgbot   
2021-03-25 19:12   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 4a24437fff9300d16e7bd9ede5db74a13c78fbbd
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-03-25T18:09:55+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4a24437fff9300d16e7bd9ede5db74a13c78fbbd [^]

Fixes ISSUE-46130: Disabled Autocompletion in BaseFormInput

---
M web-jspack/org.openbravo.core2/src/components/BaseFormInput/BaseFormInput.jsx
---
(0127026)
jmelin   
2021-03-30 13:24   
The autocomplete="off" doesn't seems to work properly on chrome
Using autocomplete="chrome-off" seems to be a workaround
see https://stackoverflow.com/questions/15738259/disabling-chrome-autofill [^]

Step to reproduce
1. Register an adress in Chrome
  - open "chrome://settings/addresses" [^] in Chrome
  - check that autofill is enabled.
  - add an address if none available

2. Then execute the steps describe previously
(0127065)
hgbot   
2021-03-31 09:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/432 [^]
(0127089)
hgbot   
2021-04-05 19:18   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/432 [^]
(0127090)
hgbot   
2021-04-05 19:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 69c8fe15423c98d6998f534697cb292f3a8a96d8
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-04-05T17:17:45+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/69c8fe15423c98d6998f534697cb292f3a8a96d8 [^]

Fixes BUG-46130: Hided autocomplete in chrome when an address is registered in Chrome Settings

---
M web-jspack/org.openbravo.core2/src/components/BaseFormInput/BaseFormInput.jsx
---
(0127426)
jmelin   
2021-04-21 17:47   
The issue is still present.

On livebuild, with Chrome.
Connect to VBS-2.
Check Customer screen and look for customer name
Clear the search.
Double click on the name filter=> the previous search is displayed (see attached picture)
(0127526)
guilleaer   
2021-04-25 17:27   
We will remove disable autocompletion for filters also
(0127540)
hgbot   
2021-04-26 17:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: f7792b34d0b456cb949fc317ae89947c719cc6da
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-04-26T21:18:06+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f7792b34d0b456cb949fc317ae89947c719cc6da [^]

Fixes BUG-46130: Fixes autofill in customer filter
* This reverts commit 69c8fe15423c98d6998f534697cb292f3a8a96d8.
* Fill addresses should be disabled in chrome as it can override autofill

---
M web-jspack/org.openbravo.core2/src/components/BaseFormInput/BaseFormInput.jsx
---
(0127541)
prakashmurugesan88   
2021-04-26 18:13   
Regarding note 0127026:

In a production environment, fill addresses should be disabled in chrome.
Because this can override autofill property.