Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000344Openbravo ERPB. User interfacepublic2008-05-17 22:492009-05-20 07:21
plujan 
dbaz 
normalminoralways
closedfixed 
10XPsp2
 
2.40 
Core
No
0000344: AT240alpha - Using Enter key to choose an option of Firefox's autocomplete is taken as an Ok button click
On any window with a default option (i.e. see attach on Initial Client Setup), if I type one letter and Firefox knows I used before a word on that field, I can choose that word by the Down key and Enter key. But Enter stroke is taken as an action, like clicking the Ok button, leading to an error message.
1. With Openbravo/openbravo go General Setup > Client > Initial Client Setup
2. Enter some valid data for each mandatory field and run the process.
3. Delete the created client
4. Go again to Initial Client Setup
5. Enter the same data as before. Note that now Firefox suggest you to complete the value. After entering first letter, hit the Down key to select the suggested value and then Enter to accept
6. The window is reloaded with an error message.
No tags attached.
jpg r240_BUG_FirefoxAutocomplete.JPG (54,189) 2008-05-17 22:49
https://issues.openbravo.com/file_download.php?file_id=40&type=bug
jpg
Issue History
2008-05-17 22:49plujanNew Issue
2008-05-17 22:49plujanAssigned To => cromero
2008-05-17 22:49plujanFile Added: r240_BUG_FirefoxAutocomplete.JPG
2008-05-19 19:17cromeroAssigned Tocromero => dbaz
2008-05-19 19:17cromeroStatusnew => acknowledged
2008-05-26 12:17psarobeStatusacknowledged => scheduled
2008-06-13 19:59cromeroTarget Version => 2.40
2008-06-16 12:35dbazStatusscheduled => closed
2008-06-16 12:35dbazNote Added: 0007734
2008-06-16 12:35dbazResolutionopen => out of date
2008-06-17 13:04plujanStatusclosed => new
2008-06-17 13:04plujanResolution@50@ => open
2008-06-17 13:04plujanNote Added: 0007785
2008-06-17 13:07plujanNote Added: 0007786
2008-06-17 13:07plujanStatusnew => scheduled
2008-06-17 13:15dbazNote Added: 0007790
2008-06-17 13:17dbazTypedefect => feature request
2008-06-17 13:17dbazversion2.40 pre alpha =>
2008-06-17 13:38dbazNote Added: 0007794
2008-06-20 18:01pjuvaraNote Added: 0007923
2008-06-20 22:37dbazNote Added: 0007933
2008-06-21 23:13pjuvaraNote Added: 0007940
2008-06-22 03:33svnbotCheckin
2008-06-22 03:33svnbotNote Added: 0007942
2008-06-22 03:33svnbotStatusscheduled => resolved
2008-06-22 03:33svnbotResolutionopen => fixed
2008-06-22 03:33svnbotsvn_revision => 5285
2008-07-01 17:56anonymoussf_bug_id0 => 2007879
2009-05-20 07:21pjuvaraStatusresolved => closed

Notes
(0007734)
dbaz   
2008-06-16 12:35   
There is no way to manage the firefox autocomplete via Javascript since firefox autocomplete is not build in html.

So there are two ways to avoid this bug:

* Create and specific input control with suggest options (it would be a feature request that will takes a lot of time of development)

* Disable de Firefox autocomplete:

   1. Open the Firefox browser.
   2. From the Firefox menu, select 'Tools'
   3. Select 'Options'
   4. Click 'Privacy'
   5. Click 'Saved Forms'
   6. Click 'Settings'
   7. Select all options in the 'Clear Private Data' window
   8. Click OK
   9. Click 'Clear Saved Form Data Now'
  10. Uncheck 'Save information I enter in forms and the Search Bar'
  11. Click OK
(0007785)
plujan   
2008-06-17 13:04   
This bug is similar to another bug found by PSA and already fixed related to combo selections using keyboard.
Please analyze how this solution:
* Create and specific input control with suggest options (it would be a feature request that will takes a lot of time of development)
can be implemented
(0007786)
plujan   
2008-06-17 13:07   
The major impact of this bug is around the search pop ups. If you try to repeat a search and use autocomplete to do it, it won't work.
(0007790)
dbaz   
2008-06-17 13:15   
If right arrow is pressed instead of enter key there is no conflict with enter key.

The combo is an html control and can be managed via Javascript. The firefox autocomplete can't be managed.

The only actual fast solution would be remove the Default Action, which I think is not an option because it should be removed from all the application since all inputs could have autocomplete


* Create and specific input control with suggest options (it would be a feature request that will takes a lot of time of development)
can be implemented <-- This solution is a feature request which would take a lot of time because to do that first we have to migrate to dojo 1.1 or include a suggest-input text, and then define the logic and the sql of each input to know which values should be shown on autocomplete
(0007794)
dbaz   
2008-06-17 13:38   
The other way to avoid people gets confusing is to disable via html the autocomplete in openbravo forms adding autocomplete="off" in all <FORM> tags.
(0007923)
pjuvara   
2008-06-20 18:01   
Reminder sent to: dbaz

David,

with regards to this issue (344) and your last note on disabling auto-complete by adding autocomplete=no to the form tag.

Is that a possibility? Could that be done in time for 2.40?

Please let me know. This is an ugly issue.

Thanks,

Paolo
(0007933)
dbaz   
2008-06-20 22:37   
If you give me "green light", I can disable the autocomplete of all openbravo in three hours...

If you want it, tell me and I will do inmediately
(0007940)
pjuvara   
2008-06-21 23:13   
Please go ahead.
(0007942)
svnbot   
2008-06-22 03:33   
Repository: openbravo
Revision: 5285
Author: dbaz
Date: 2008-06-22 03:33:09 +0200 (Sun, 22 Jun 2008)

Fixed bug 0000344 Now the forms autocompletion is disabled (except in the main login screen) to avoid conflicts with Openbravo internal logic

---
U trunk/src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F1.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_F2.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromSettlement.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_F2.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_CRemittance.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_DPManagement.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Settlement.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/CreateRegFactAcct.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/DocAction.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/DropRegFactAcct.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F1.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_F2.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/EncryptedButtons.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/InsertAcces.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/Posted.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/ProjectClose.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/ProjectSetType.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/RequestAction.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/Test_In.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled_F1.html
U trunk/src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled_F2.html
U trunk/src/org/openbravo/erpCommon/ad_forms/About.html
U trunk/src/org/openbravo/erpCommon/ad_forms/AlertManagement.html
U trunk/src/org/openbravo/erpCommon/ad_forms/BackgroundProcessList.html
U trunk/src/org/openbravo/erpCommon/ad_forms/CallAcctServer.html
U trunk/src/org/openbravo/erpCommon/ad_forms/DebtPaymentUnapply.html
U trunk/src/org/openbravo/erpCommon/ad_forms/EdiFileImport.html
U trunk/src/org/openbravo/erpCommon/ad_forms/FileImport.html
U trunk/src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html
U trunk/src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.html
U trunk/src/org/openbravo/erpCommon/ad_forms/Heartbeat.html
U trunk/src/org/openbravo/erpCommon/ad_forms/InformeInOut.html
U trunk/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.html
U trunk/src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline.html
U trunk/src/org/openbravo/erpCommon/ad_forms/InvoiceVendorMultiline_Lines.html
U trunk/src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F1.html
U trunk/src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F2.html
U trunk/src/org/openbravo/erpCommon/ad_forms/MatchingPO-Receipt-Invoice_F4.html
U trunk/src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.html
U trunk/src/org/openbravo/erpCommon/ad_forms/Registration.html
U trunk/src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.html
U trunk/src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.html
U trunk/src/org/openbravo/erpCommon/ad_forms/RequisitionToOrderCreate.html
U trunk/src/org/openbravo/erpCommon/ad_forms/Role.html
U trunk/src/org/openbravo/erpCommon/ad_forms/SQLExecutor.html
U trunk/src/org/openbravo/erpCommon/ad_forms/ShowSessionPreferences.html
U trunk/src/org/openbravo/erpCommon/ad_forms/ShowSessionVariables.html
U trunk/src/org/openbravo/erpCommon/ad_forms/Translation.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Element_F1.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Element_F2.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_F1.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_F2.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Field_F1.html
U trunk/src/org/openbravo/erpCommon/ad_help/DisplayHelp_Edit_Field_F2.html
U trunk/src/org/openbravo/erpCommon/ad_process/CashBankOperations.html
U trunk/src/org/openbravo/erpCommon/ad_process/ChangeOrderOrg.html
U trunk/src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal_F1.html
U trunk/src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal_F2.html
U trunk/src/org/openbravo/erpCommon/ad_process/CreateAccountingReport.html
U trunk/src/org/openbravo/erpCommon/ad_process/CreateCashFlowStatement.html
U trunk/src/org/openbravo/erpCommon/ad_process/CreateTaxReport.html
U trunk/src/org/openbravo/erpCommon/ad_process/DeleteClient.html
U trunk/src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.html
U trunk/src/org/openbravo/erpCommon/ad_process/GenerateHelp.html
U trunk/src/org/openbravo/erpCommon/ad_process/ImportAccountServlet.html
U trunk/src/org/openbravo/erpCommon/ad_process/ImportBPartnerServlet.html
U trunk/src/org/openbravo/erpCommon/ad_process/ImportBudgetServlet.html
U trunk/src/org/openbravo/erpCommon/ad_process/ImportOrderServlet.html
U trunk/src/org/openbravo/erpCommon/ad_process/ImportProductServlet.html
U trunk/src/org/openbravo/erpCommon/ad_process/ImportTaxServlet.html
U trunk/src/org/openbravo/erpCommon/ad_process/PriceListCreateAll.html
U trunk/src/org/openbravo/erpCommon/ad_process/PrintInvoices.html
U trunk/src/org/openbravo/erpCommon/ad_process/SendMailText.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ABCbPartner.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ABCproduct.html
U trunk/src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.html
U trunk/src/org/openbravo/erpCommon/ad_reports/GenerateModel347.html
U trunk/src/org/openbravo/erpCommon/ad_reports/MInOutTraceReports.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalysesFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportBank.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportBankJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportBudgetGenerateExcel.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportCash.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashFlow.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashFlow_F1.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportDebtPaymentTrack.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportExpense.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportExpenseEdit.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportGuaranteeDateJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInventory.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscountJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoices.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoicesJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportMaterialDimensionalAnalysesFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionEditionJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportMaterialTransactionFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportNotPosted.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportOffer.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoiceFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportParetoProduct.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportPricelist.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProduction.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProductionCost.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProductionJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProductionRunJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSite.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSiteJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProjectBuildingSitePop.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportProjectProfitabilityJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportPurchaseDimensionalAnalysesFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportRefundInvoiceCustomerDimensionalAnalysesFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJRFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItem.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderOpenItemJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportShipmentDimensionalAnalyzeJRFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportShipmentFilterJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportShipper.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportStandardCostJRFilter.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoice.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignment.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportToInvoiceConsignmentJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportTotalProductTemplate.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalanceDetail.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportWarehouseControl.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportWarehouseDetailInventoryJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartnerJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDaily.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDailyEnv.html
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementJR.html
U trunk/src/org/openbravo/erpCommon/ad_reports/Rpt_Etiquetas_Config.html
U trunk/src/org/openbravo/erpCommon/ad_workflow/WorkflowControl.html
U trunk/src/org/openbravo/erpCommon/businessUtility/Buscador.html
U trunk/src/org/openbravo/erpCommon/businessUtility/TabAttachments_Edition.html
U trunk/src/org/openbravo/erpCommon/businessUtility/TabAttachments_F1.html
U trunk/src/org/openbravo/erpCommon/businessUtility/TabFilter.html
U trunk/src/org/openbravo/erpCommon/info/Account.html
U trunk/src/org/openbravo/erpCommon/info/AttributeSetInstance.html
U trunk/src/org/openbravo/erpCommon/info/BusinessPartner.html
U trunk/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.html
U trunk/src/org/openbravo/erpCommon/info/DebtPayment.html
U trunk/src/org/openbravo/erpCommon/info/ImageInfo_F1.html
U trunk/src/org/openbravo/erpCommon/info/ImageInfo_F2.html
U trunk/src/org/openbravo/erpCommon/info/Invoice.html
U trunk/src/org/openbravo/erpCommon/info/InvoiceLine.html
U trunk/src/org/openbravo/erpCommon/info/Location_F1.html
U trunk/src/org/openbravo/erpCommon/info/Locator.html
U trunk/src/org/openbravo/erpCommon/info/Product.html
U trunk/src/org/openbravo/erpCommon/info/ProductComplete.html
U trunk/src/org/openbravo/erpCommon/info/ProductMultiple.html
U trunk/src/org/openbravo/erpCommon/info/Project.html
U trunk/src/org/openbravo/erpCommon/info/SalesOrder.html
U trunk/src/org/openbravo/erpCommon/info/SalesOrderLine.html
U trunk/src/org/openbravo/erpCommon/info/ShipmentReceipt.html
U trunk/src/org/openbravo/erpCommon/info/ShipmentReceiptLine.html
U trunk/src/org/openbravo/erpCommon/info/UserContact_F1.html
U trunk/src/org/openbravo/erpCommon/info/UserContact_F2.html
U trunk/src/org/openbravo/erpCommon/security/Login_F1.html
U trunk/src/org/openbravo/erpCommon/utility/PoolStatus.html
U trunk/src/org/openbravo/erpCommon/utility/SetPriority.html
U trunk/src/org/openbravo/erpCommon/utility/UsedByLink.html
U trunk/src/org/openbravo/erpCommon/utility/UsedByLink_Detail.html
U trunk/src/org/openbravo/erpCommon/utility/WindowTree.html
U trunk/src-wad/src/org/openbravo/wad/Template_ActionButton.html
U trunk/src-wad/src/org/openbravo/wad/Template_Edition.html
U trunk/web/js/utils.js
---

https://dev.openbravo.com/websvn/openbravo/?rev=5285&sc=1 [^]