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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022620
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementminoralways2012-12-18 18:302013-05-23 01:34
ReportermiruritaView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision7536e04c7099
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022620: Match Invoice posting fails: invoicing a goods receipt of an service type product

Descriptiona26005a4 2306774 [TP-Processor1] WARN org.openbravo.erpCommon.ad_forms.AcctServer - java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:571)
    at java.util.ArrayList.get(ArrayList.java:349)
    at org.hibernate.collection.PersistentBag.get(PersistentBag.java:446)
    at org.openbravo.erpCommon.ad_forms.DocMatchInv.getTransaction(DocMatchInv.java:406)
Steps To Reproduce1) Create a goods receipt for a service type product
2) Create a purchase invoice for previous step
3) Go to created matched invoice and try to post

in class DocMatchInv the method getTransaction(String matchInvId)

if there is no transaction for the product show an user friendly message.

if you try to post the goods receipt it shows better message: There is no cost defined for the product: Others - Others - SER-001 - Telefonía on
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0058731)
hgbot (developer)
2013-05-21 17:08

Repository: erp/devel/pi
Changeset: 7536e04c70997a4da1963df266d6518abe458557
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon May 20 13:12:23 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7536e04c70997a4da1963df266d6518abe458557 [^]

Fixed issue 22620 Match invoice posting fail with service product

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
---
(0058732)
dmiguelez (developer)
2013-05-21 17:08

Code Review + Testing Ok
(0058845)
hudsonbot (developer)
2013-05-23 01:34

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/97c7f6256af7 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-12-18 18:30 mirurita New Issue
2012-12-18 18:30 mirurita Assigned To => dmiguelez
2012-12-18 18:30 mirurita Modules => Core
2012-12-18 18:30 mirurita Triggers an Emergency Pack => No
2013-05-20 13:08 Sandrahuguet Assigned To dmiguelez => Sandrahuguet
2013-05-20 13:08 Sandrahuguet Status new => scheduled
2013-05-20 13:08 Sandrahuguet fix_in_branch => pi
2013-05-21 17:08 hgbot Checkin
2013-05-21 17:08 hgbot Note Added: 0058731
2013-05-21 17:08 hgbot Status scheduled => resolved
2013-05-21 17:08 hgbot Resolution open => fixed
2013-05-21 17:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7536e04c70997a4da1963df266d6518abe458557 [^]
2013-05-21 17:08 dmiguelez Note Added: 0058732
2013-05-21 17:08 dmiguelez Status resolved => closed
2013-05-23 01:34 hudsonbot Checkin
2013-05-23 01:34 hudsonbot Note Added: 0058845


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker