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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012286
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-02-16 14:202010-03-10 18:30
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchFixed in SCM revision195dda7f410b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0012286: Audit Trail does not work on c_invoicetax based based , instead an exception is shown

DescriptionThis exception is shown when opening the audit trail popup on the invoice tax tab

ce8e1878 14:07:20 [http-8880-1] ERROR org.openbravo.erpCommon.businessUtility.AuditTrailPopup - Error captured:
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
        at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:820)
        at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
        at org.openbravo.dal.service.OBQuery.uniqueResult(OBQuery.java:80)
        at org.openbravo.erpCommon.businessUtility.AuditTrailPopup.getElementNameForTable(AuditTrailPopup.java:395)
        at
Proposed Solutionad_element.columnname is not unique, so don't expect a unique result but pick for value found.
TagsAudit trial
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024412)
hgbot (developer)
2010-02-16 15:00

Repository: erp/devel/pi
Changeset: 195dda7f410b7aec6ed34084a3b0fab775f2d629
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Feb 16 15:00:50 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/195dda7f410b7aec6ed34084a3b0fab775f2d629 [^]

Fixed 12286, Fixed 12265, fixed to audit trail popup
- don't assume ad_element.columnname is unique
- hide go back link when navigated into a child tab
- format modification time without milliseconds
- small ui fixes

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/businessUtility/AuditTrailPopup.java
M src/org/openbravo/erpCommon/businessUtility/AuditTrailPopupDeleted.html
M src/org/openbravo/erpCommon/businessUtility/AuditTrailPopupHistory.html
---
(0024538)
hudsonbot (developer)
2010-02-18 00:31

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/195dda7f410b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]

- Issue History
Date Modified Username Field Change
2010-02-16 14:20 shuehner New Issue
2010-02-16 14:20 shuehner Assigned To => shuehner
2010-02-16 14:21 shuehner Tag Attached: Audit trial
2010-02-16 15:00 hgbot Checkin
2010-02-16 15:00 hgbot Note Added: 0024412
2010-02-16 15:00 hgbot Status new => resolved
2010-02-16 15:00 hgbot Resolution open => fixed
2010-02-16 15:00 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/195dda7f410b7aec6ed34084a3b0fab775f2d629 [^]
2010-02-16 15:47 alostale Status resolved => closed
2010-02-16 15:47 alostale Fixed in Version => 2.50MP12
2010-02-17 00:01 anonymous sf_bug_id 0 =>
2010-02-18 00:31 hudsonbot Checkin
2010-02-18 00:31 hudsonbot Note Added: 0024538
2010-03-10 18:30 anonymous sf_bug_id => 2968078


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker