Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020268
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajorsometimes2012-04-15 04:452012-06-02 17:18
ReporterflerouxView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionfixedFixed in Version3.0MP12
StatusclosedFix in branchpiFixed in SCM revision55e2c985a8bf
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version3.0MP9SCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020268: Create new invoices

DescriptionWhen creatig new invoices i see the attached errors (which I think is reventing the totals to be populated correctly)
Steps To Reproducecrete an invoice an invice lines + add some taxes
TagsMIR-Reviewed
Attached Filesrtf file icon SMSelecterror.rtf [^] (11,346 bytes) 2012-04-15 04:45

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047775)
naiaramartinez (developer)
2012-04-20 10:41

Can you tell us exactly how you reproduce it? We create an invoice, add lines and add taxes and we can't reproduce it.
(0048589)
fleroux (reporter)
2012-05-12 01:30

apologies for the delay in getting back to you; this happens when i create invoice lines. and it consistently happens
(0048753)
naiaramartinez (developer)
2012-05-18 08:46

The error happened when there wasn't any warehouse defined on the session.

Test Plan:
  Login with 'QA Testing Admin' role.
  Go to Warehouse and Storage Bins window. Deactivate all the warehouses that are defined.
  Logout and login again with 'QA Testing Admin' role.

  Go to Sales Invoice window. Add a new header and save it.
  Go to lines tab. Create new line. Press magnifying glass near Product field. Notice that there is no error messages.
(0049547)
hgbot (developer)
2012-05-31 17:01

Repository: erp/devel/pi
Changeset: 55e2c985a8bfc93bdf21f8395cdcf6825ba709e9
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Fri May 18 08:39:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/55e2c985a8bfc93bdf21f8395cdcf6825ba709e9 [^]

fixed issue 20268 Change filter expression.Add a validation for null warehouse

---
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
(0049548)
mirurita (developer)
2012-05-31 17:06

code review + testing OK

prevent NPE on Product selector when there is no active warehouse on the client:

javax.script.ScriptException: sun.org.mozilla.javascript.EcmaError: TypeError: Cannot read property "id" from null (<Unknown source>#1) in <Unknown source> at line number 1
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:179)
    at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:195)
(0049586)
hudsonbot (developer)
2012-06-02 17:18

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d1995ebc438c [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-04-15 04:45 fleroux New Issue
2012-04-15 04:45 fleroux Assigned To => vmromanos
2012-04-15 04:45 fleroux File Added: SMSelecterror.rtf
2012-04-15 04:45 fleroux Web browser => Google Chrome
2012-04-15 04:45 fleroux Modules => Core
2012-04-19 17:09 mirurita Tag Attached: MIR-Reviewed
2012-04-20 10:38 naiaramartinez Assigned To vmromanos => naiaramartinez
2012-04-20 10:41 naiaramartinez Note Added: 0047775
2012-04-20 10:41 naiaramartinez Status new => feedback
2012-05-12 01:30 fleroux Note Added: 0048589
2012-05-18 08:46 naiaramartinez Note Added: 0048753
2012-05-18 08:56 naiaramartinez Status feedback => scheduled
2012-05-18 08:56 naiaramartinez fix_in_branch => pi
2012-05-31 17:01 hgbot Checkin
2012-05-31 17:01 hgbot Note Added: 0049547
2012-05-31 17:01 hgbot Status scheduled => resolved
2012-05-31 17:01 hgbot Resolution open => fixed
2012-05-31 17:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/55e2c985a8bfc93bdf21f8395cdcf6825ba709e9 [^]
2012-05-31 17:06 mirurita Note Added: 0049548
2012-05-31 17:06 mirurita Status resolved => closed
2012-05-31 17:06 mirurita Fixed in Version => 3.0MP12
2012-06-02 17:18 hudsonbot Checkin
2012-06-02 17:18 hudsonbot Note Added: 0049586


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker