Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011334 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | minor | always | 2009-11-12 12:46 | 2010-01-20 23:26 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | dbaz | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 2.50MP11 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d92188a8af65 | ||||
Projection | none | ETA | none | Target Version | 2.50MP11 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP8 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011334: Product selector is blocked when a search is done with any warehouse | |||||||
Description | In Purchase Invoice > Lines, when product selector is opened, shows all products. However, if client has no warehouses (nothing is shown in Warehouse combo at the selector), and try to do a search in the selector, it is blocked and nothing is search. A Javascript error is shown in firebug: Index or size is negative or greater than the allowed amount" code: "1 blurGrid()windowKeyboard.js (línea 89) cursorFocus(img#buttonProduct.FieldButton_Icon blank.gif, "onmousedown")windowKeyboard.js (línea 13) mouseDownLogic(mousedown clientX=462, clientY=260, img#buttonProduct.FieldButton_Icon blank.gif) | |||||||
Steps To Reproduce | Create a new Client in General Setup > Client > Initial Client Setup. Create a new Organization in General Setup > Enterprise > Initial Organization Setup (select it as Legal with accounting). Go to General Setup > Enterprise > Organization and select "Allow period control" and select a calendar. Run "Set as ready" process. Go to Financial Management > Accounting > Setup > Fiscal calendar > Period. Create a new record (IE 2009) and run "Create periods" process. Go to Financial Management > Accounting > Transactions > Open/close periods. Select the Organization, year, and Dec-09, and as action Period open. Save it and process it. Create (it does not matter their values) a Business Partner Category, a Business Partner (including an Address), a Product Category, a Product, a Tax Category, a Purchase Price list, a Payment Term. Create a Purchase Invoice (if some required information is not filled, just create it). Go to its Lines, and open product Selector. All product are shown (notice that no warehouse is set in the filter). In name filter, set %a% and search. A javascript error is shown and nothing is returned. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0021799) rafaroda (viewer) 2009-11-13 10:54 |
An easier way of reproducing this issue is: 1) Log with regular Openbravo Admin role. 2) Go to Warehouse Management || Setup || Warehouse and Storage Bins || Warehouse 3) Dectivate both Main and Secondary Warehouses 4) Create a Purchase Invoice (if some required information is not filled, just create it). 5) Go to its Lines, and open product Selector. 6) All product are shown (notice that no warehouse is set in the filter). 7) Click on search. A javascript error is shown: Index or size is negative or greater than the allowed amount" code: "1 |
(0023432) dbaz (viewer) 2010-01-14 13:37 |
Suggested change In search.js inside the function setFilters() Change this for(var i=0; i < selects.length; i++) { paramsData[count++] = new Array(selects[i].name, selects[i].options[selects[i].selectedIndex].value); } with this for(var i=0; i < selects.length; i++) { if ((selects[i].selectedIndex) != -1) { paramsData[count++] = new Array(selects[i].name, selects[i].options[selects[i].selectedIndex].value); }; } Before push anything, please shuehner ensure that it doesn't break any other thing |
(0023471) hgbot (developer) 2010-01-15 13:23 |
Repository: erp/devel/pi Changeset: d92188a8af655d12388b0dca18a5271401e794d9 Author: David Baz Fayos <david.baz <at> openbravo.com> Date: Fri Jan 15 13:22:16 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/d92188a8af655d12388b0dca18a5271401e794d9 [^] Fixed issue 11334: Now no warehouse selector gets blocked --- M src/org/openbravo/erpCommon/security/Login_F1.html M web/js/searchs.js M web/js/utils.js --- |
(0023494) arunkumar (viewer) 2010-01-18 10:20 |
Product selector is not blocked now when a search is done with any warehouse. Tested & Working fine. |
(0023656) hudsonbot (viewer) 2010-01-20 23:26 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/d92188a8af65 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/fa6621f85351 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15942.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-12 12:46 | networkb | New Issue | |
2009-11-12 12:46 | networkb | Assigned To | => rafaroda |
2009-11-12 12:46 | networkb | OBNetwork customer | => Yes |
2009-11-13 10:54 | rafaroda | Note Added: 0021799 | |
2009-11-13 10:54 | rafaroda | Assigned To | rafaroda => shuehner |
2009-11-13 10:54 | rafaroda | Priority | immediate => high |
2009-11-13 10:54 | rafaroda | Status | new => scheduled |
2010-01-13 09:11 | shuehner | Assigned To | shuehner => dbaz |
2010-01-14 12:45 | dbaz | Assigned To | dbaz => shuehner |
2010-01-14 13:37 | dbaz | Note Added: 0023432 | |
2010-01-15 11:59 | dbaz | Assigned To | shuehner => dbaz |
2010-01-15 13:23 | hgbot | Checkin | |
2010-01-15 13:23 | hgbot | Note Added: 0023471 | |
2010-01-15 13:23 | hgbot | Status | scheduled => resolved |
2010-01-15 13:23 | hgbot | Resolution | open => fixed |
2010-01-15 13:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d92188a8af655d12388b0dca18a5271401e794d9 [^] |
2010-01-18 10:20 | arunkumar | Note Added: 0023494 | |
2010-01-18 10:20 | arunkumar | Status | resolved => closed |
2010-01-18 10:20 | arunkumar | Fixed in Version | => 2.50MP10 |
2010-01-18 12:31 | sureshbabu | Fixed in Version | 2.50MP10 => 2.50MP11 |
2010-01-19 00:00 | anonymous | sf_bug_id | 0 => 2934604 |
2010-01-20 23:26 | hudsonbot | Checkin | |
2010-01-20 23:26 | hudsonbot | Note Added: 0023656 | |
2010-02-10 21:58 | dbaz | Relationship added | related to 0012219 |
Copyright © 2000 - 2009 MantisBT Group |