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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024985
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] J. Demo datamajorhave not tried2013-10-21 17:272013-10-22 23:42
ReporterplujanView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP29
StatusclosedFix in branchFixed in SCM revisionbb980d7198e0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression levelQA functional test
Regression date2013-10-07
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/94d0fb151919 [^]
Triggers an Emergency PackNo
Summary

0024985: Audit data shows no values for stored data in PI

DescriptionCurrent PI context shows no data for most of the default records. This cannot be reproduced in current Main context. See steps.
Steps To ReproduceA. To show stored data is not properly set
  1. Go to a PI context
  2. Login as Openbravo user
  3. Go to Purchase Order window
  4. Grid shows no data, click the funnel to clear the filters
  5. Data will appear, select the first record (document number 1000000)
  6. Enter Form view and check audit data is not shown (see attached screenshot)
  7. Go to a Main context
  8. Repeat steps 2 to 5
  9. Enter Form view and check audit data is properly shown (see attached screenshot)

B. To show that the problem is only with stored data
  1. Go to a PI context
  2. Login as Openbravo user
  3. Go to Purchase Order window
  4. Click new and create a new Order.
  5. Save the record and return to grid.
  6. Select in grid the created record
  7. Enter Form view and check audit data is properly shown

TagsNo tags attached.
Attached Filesjpg file icon Audit-main.jpg [^] (215,525 bytes) 2013-10-21 17:27

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0061827)
dmitry_mezentsev (developer)
2013-10-21 20:01

I have a comment here.

A. To show stored data is not properly set
  1. Go to a PI context
  2. Login as Openbravo user
  3. Go to Purchase Order window
  4. Grid shows no data, click the funnel to clear the filters
  5. Data will appear, select the first record (document number 1000000)
  6. Enter Form view and check audit data is not shown (see attached screenshot)

If after it I press Refresh button - data appears.
(0061842)
hgbot (developer)
2013-10-22 10:56

Repository: erp/devel/pi
Changeset: bb980d7198e0d2e879446bb37e60b192f9ac6694
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Oct 22 10:53:35 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bb980d7198e0d2e879446bb37e60b192f9ac6694 [^]

Fixes issue 24985: Audit data values are not shown in the form view

One of the changes introduced by the grid datasource project [1] was that the grid does not load all the properties for each row, only the ones that are visible in the grid (plus a few other required ones). When a record is opened in form view there is call to the FIC in EDIT mode to retrieve all the record values. The problem is that the audit values are not being returned in that FIC call, because there are no fields for those values.

To fix this, the audit values have been added to the list of mandatory properties, so they will be loaded to the grid even if they are not being shown.

[1] https://code.openbravo.com/erp/devel/pi/rev/94d0fb151919 [^]

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java
---
(0061844)
shankarb (reporter)
2013-10-22 12:27

Code reviewed and tested in pi changeset bb980d7198e0.
(0061860)
hudsonbot (developer)
2013-10-22 23:42

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-10-21 17:27 plujan New Issue
2013-10-21 17:27 plujan Assigned To => dmiguelez
2013-10-21 17:27 plujan File Added: Audit-main.jpg
2013-10-21 17:27 plujan Modules => Core
2013-10-21 17:27 plujan Triggers an Emergency Pack => No
2013-10-21 17:30 plujan Regression level => Pre packaging ( pi )
2013-10-21 19:45 AugustoMauch Assigned To dmiguelez => AugustoMauch
2013-10-21 20:01 dmitry_mezentsev Note Added: 0061827
2013-10-22 10:54 AugustoMauch Regression level Pre packaging ( pi ) => QA functional test
2013-10-22 10:54 AugustoMauch Regression date => 2013-10-07
2013-10-22 10:54 AugustoMauch Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/94d0fb151919 [^]
2013-10-22 10:54 AugustoMauch Issue Monitored: shankarb
2013-10-22 10:54 AugustoMauch Review Assigned To => shankarb
2013-10-22 10:56 hgbot Checkin
2013-10-22 10:56 hgbot Note Added: 0061842
2013-10-22 10:56 hgbot Status new => resolved
2013-10-22 10:56 hgbot Resolution open => fixed
2013-10-22 10:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bb980d7198e0d2e879446bb37e60b192f9ac6694 [^]
2013-10-22 12:27 shankarb Note Added: 0061844
2013-10-22 12:27 shankarb Status resolved => closed
2013-10-22 12:27 shankarb Fixed in Version => 3.0MP29
2013-10-22 23:42 hudsonbot Checkin
2013-10-22 23:42 hudsonbot Note Added: 0061860


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker