Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0012286 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | have not tried | 2010-02-16 14:20 | 2010-03-10 18:30 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | shuehner | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP12 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 195dda7f410b | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0012286: Audit Trail does not work on c_invoicetax based based , instead an exception is shown | |||||||
| Description | This 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 Solution | ad_element.columnname is not unique, so don't expect a unique result but pick for value found. | |||||||
| Tags | Audit 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 (viewer) 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:20 | shuehner | OBNetwork customer | => No | 
| 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 |