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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035842
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajorhave not tried2017-04-26 09:382017-05-29 17:43
ReporteralostaleView Statuspublic 
Assigned Toinigosanchez 
PriorityhighResolutionfixedFixed in Version3.0PR17Q3
StatusclosedFix in branchFixed in SCM revision8df7c04de69f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035842: process scheduling data can be set in an inconsistent state

DescriptionIt is possible to edit scheduling settings for an already scheduled process request, leaving it in an inconsistent state because the configuration seen in the UI is not the one that is actually in use.

In this situation the new settings take effect only when:
* the request is unscheduled and scheduled again
* or tomcat is restarted
Steps To Reproduce1. Open Process Request and select "Costing Background process" that is already scheduled to be run every 5 minutes
2. Without unscheduling it, change configuration to be run every 2 seconds
3. Check in Process Monitor subtab the actual scheduling continues to be every 5 minutes
4. Restart Tomcat
5. Check now the new configuration has taken effect
Proposed SolutionAll fields affecting scheduling settings should be read only when the process request is scheduled. In order to edit them, the process request should be unscheduled first.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035835 closedinigosanchez The scheduler fails to load some scheduled processes when an incorrect configuration should be done 

-  Notes
(0096574)
hgbot (developer)
2017-05-13 08:02

Repository: erp/devel/pi
Changeset: 8df7c04de69fba88d1ec3bd1a1bb4854cae8734f
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Sat May 13 08:01:32 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8df7c04de69fba88d1ec3bd1a1bb4854cae8734f [^]

Fixed issue 35842: Process scheduling data can be set in an inconsistent state

The problem was that it was possible to edit scheduling settings for an already scheduled process
request, leaving it in an inconsistent state because the configuration seen in the UI is not the
one that is actually in use.

In order to resolve this problem all fields affecting scheduling settings are read only when the
process request is in scheduled or processing status.

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0096590)
alostale (manager)
2017-05-15 12:56

code reviewed + tested
(0096965)
hudsonbot (developer)
2017-05-29 17:43

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/1ee70113bdc4 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2017-04-26 09:38 alostale New Issue
2017-04-26 09:38 alostale Assigned To => platform
2017-04-26 09:38 alostale Modules => Core
2017-04-26 09:38 alostale Triggers an Emergency Pack => No
2017-04-26 09:39 alostale Relationship added related to 0035835
2017-04-26 09:39 alostale Status new => acknowledged
2017-05-10 14:04 inigosanchez Status acknowledged => scheduled
2017-05-10 14:04 inigosanchez Assigned To platform => inigosanchez
2017-05-13 08:02 hgbot Checkin
2017-05-13 08:02 hgbot Note Added: 0096574
2017-05-13 08:02 hgbot Status scheduled => resolved
2017-05-13 08:02 hgbot Resolution open => fixed
2017-05-13 08:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8df7c04de69fba88d1ec3bd1a1bb4854cae8734f [^]
2017-05-13 08:03 inigosanchez Review Assigned To => alostale
2017-05-15 12:56 alostale Note Added: 0096590
2017-05-15 12:56 alostale Status resolved => closed
2017-05-15 12:56 alostale Fixed in Version => 3.0PR17Q3
2017-05-29 17:43 hudsonbot Checkin
2017-05-29 17:43 hudsonbot Note Added: 0096965


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker