Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038766Openbravo ERPA. Platformpublic2018-06-15 10:352018-06-26 13:47
alostale 
jarmendariz 
normalmajoralways
closedfixed 
5
 
3.0PR18Q3 
caristu
Core
No
0038766: audit fields don't get updated when scheduling/unscheduling process requests
When a Process Request is scheduled or unscheduled, audit fields don't get updated.
1. Log in with Openbravo user
2. Create a new Process Request for any process
  -> Check audit fields are correctly set with current user and date
3. Log out
4. Log in with another user
5. In Process Request window select previously created process and schedule it clicking on the Schedule button
  -> ERROR: updated and updated fields remain as they initially were
6. Unschedule that Process Request
  -> ERROR: updated and updated fields remain as they initially were
Note when fixing: check also audit trail gets correctly populated
No tags attached.
related to defect 0038804 closed platform jobUnscheduled method in ProcessMonitor is never called 
Issue History
2018-06-15 10:35alostaleNew Issue
2018-06-15 10:35alostaleAssigned To => platform
2018-06-15 10:35alostaleModules => Core
2018-06-15 10:35alostaleTriggers an Emergency Pack => No
2018-06-15 10:39alostaleProposed Solution updated
2018-06-15 11:28alostaleStatusnew => acknowledged
2018-06-18 11:52avicenteResolution time => 1530309600
2018-06-18 11:52avicenteSeverityminor => major
2018-06-18 11:52avicenteReproducibilityhave not tried => always
2018-06-18 13:56jarmendarizAssigned Toplatform => jarmendariz
2018-06-18 18:40jarmendarizStatusacknowledged => scheduled
2018-06-21 12:51jarmendarizRelationship addedrelated to 0038804
2018-06-21 14:03hgbotCheckin
2018-06-21 14:03hgbotNote Added: 0105304
2018-06-21 14:03hgbotStatusscheduled => resolved
2018-06-21 14:03hgbotResolutionopen => fixed
2018-06-21 14:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5ec5054e4cffcaecb3c58dd968bd607f10fe362c [^]
2018-06-21 14:08jarmendarizReview Assigned To => caristu
2018-06-21 18:05hudsonbotCheckin
2018-06-21 18:05hudsonbotNote Added: 0105318
2018-06-22 10:05caristuNote Added: 0105326
2018-06-22 10:05caristuStatusresolved => new
2018-06-22 10:05caristuResolutionfixed => open
2018-06-22 10:52hgbotCheckin
2018-06-22 10:52hgbotNote Added: 0105333
2018-06-22 13:16caristuStatusnew => scheduled
2018-06-22 13:16caristuStatusscheduled => resolved
2018-06-22 13:16caristuResolutionopen => fixed
2018-06-22 13:16caristuNote Added: 0105342
2018-06-22 13:16caristuStatusresolved => closed
2018-06-22 13:16caristuFixed in Version => 3.0PR18Q3
2018-06-26 13:47hudsonbotCheckin
2018-06-26 13:47hudsonbotNote Added: 0105451
2019-10-09 18:02caristuRelationship addedrelated to 0041483
2019-10-09 18:02caristuRelationship deletedrelated to 0041483

Notes
(0105304)
hgbot   
2018-06-21 14:03   
Repository: erp/devel/pi
Changeset: 5ec5054e4cffcaecb3c58dd968bd607f10fe362c
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Mon Jun 18 18:13:28 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5ec5054e4cffcaecb3c58dd968bd607f10fe362c [^]

Fixed issue 38766: Audit fields not updated for process request when scheduling.

When updating process request status, audit fields (updated, updatedby) fields
are not included in update query.

---
M src/org/openbravo/scheduling/OBScheduler.java
M src/org/openbravo/scheduling/ProcessMonitor.java
M src/org/openbravo/scheduling/ProcessRequest_data.xsql
M src/org/openbravo/scheduling/ProcessRunner.java
---
(0105318)
hudsonbot   
2018-06-21 18:05   
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/c34295dcdb97 [^]
Maturity status: Test
(0105326)
caristu   
2018-06-22 10:05   
Reopened. See https://docs.google.com/spreadsheets/d/18l2biKWeG6iGDIPqO6VuYQ_TtP_6YxyQU4KSrPvQlJ8/edit#gid=0 [^]
(0105333)
hgbot   
2018-06-22 10:52   
Repository: erp/devel/pi
Changeset: 9edd416002b7bd73d0d2ae49462d31cac2d97bcc
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jun 22 10:51:35 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9edd416002b7bd73d0d2ae49462d31cac2d97bcc [^]

Related to issue 38766: Added updated field in ProcessRequestData:setContext()

---
M src/org/openbravo/scheduling/ProcessRequest_data.xsql
---
(0105342)
caristu   
2018-06-22 13:16   
Code reviewed + tested OK.
(0105451)
hudsonbot   
2018-06-26 13:47   
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/0f403f60ff29 [^]
Maturity status: Test