Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012405Openbravo ERPA. Platformpublic2010-02-23 09:472011-09-15 18:08
arunkumar 
shuehner 
normalmajorhave not tried
closedunable to reproduce 
5
main 
 
Core
No
0012405: While checking the audit trail for delete records, some records are displayed twice.
Create a purchase order and complete it.
Now reactivate the purchase order.Delete the lines and come back to header and delete the lines.
Check the audit trail.
You can see the fields Document Type and Description are displayed twice.
Login as userA/userA with "SampleClientAdmin" role.
Go to Procurement Management -> Transactions -> Purchase order -> Header.
Click new and select the business partner "Vendor A".
Go to lines and select the product Raw Material A.
Enter the Ordered quantity as 1, net unit price as 2, tax as VAT 10%.
Go back to header and complete the purchase order.
Now reactivate the purchase order by clicking Close button.
The document status will be changed to "Draft"
Go to lines and delete the record.
Come back to header and delete the header also.
Click the Audit trail link and verify the deleted records.
There You can see the fields Document Type and Description are displayed twice. (Refer the screenshot)
Audit trial
jpg AuditTwoTimes.JPG (264,786) 2010-02-23 09:47
https://issues.openbravo.com/file_download.php?file_id=2268&type=bug
Issue History
2010-02-23 09:47arunkumarNew Issue
2010-02-23 09:47arunkumarAssigned To => alostale
2010-02-23 09:47arunkumarFile Added: AuditTwoTimes.JPG
2010-02-23 09:48arunkumarTag Attached: Audit trial
2010-02-24 10:44arunkumarStatusnew => scheduled
2010-02-24 10:44arunkumarfix_in_branch => pi
2010-03-15 14:46alostaleAssigned Toalostale => shuehner
2010-05-10 16:59shuehnerNote Added: 0027108
2010-05-10 16:59shuehnerStatusscheduled => feedback
2011-09-15 18:08dmitry_mezentsevNote Added: 0040952
2011-09-15 18:08dmitry_mezentsevStatusfeedback => closed
2011-09-15 18:08dmitry_mezentsevResolutionopen => unable to reproduce

Notes
(0027108)
shuehner   
2010-05-10 16:59   
Hi arun,

i just tried to reproduce the issue (in current pi/pgsql) but could not. Can you please try if you can reproduce it again? And also recheck if the steps to reproduce as given in the issue are complete? From the values used in there it looks like they are a part of some bigger testcase (as i.e. a nn-samplerdata client etc was used)
Especially if the header/or lines have ever been modified (in addition to the steps given) might influence the result.

For getting to the audit display from the screenshot i guess the following steps where used:?
- open audit trail popup
- View deleted records
- find line of just deleted order
- use 'view history of selected deleted record'?
(0040952)
dmitry_mezentsev   
2011-09-15 18:08   
In Feedback status for too long.