Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1222064 - BusinessCalendar is not working properly (ignoring holidays) in BPM Suite 6.0.3
BusinessCalendar is not working properly (ignoring holidays) in BPM Suite 6.0.3
Status: CLOSED CURRENTRELEASE
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core (Show other bugs)
6.0.3
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Maciej Swiderski
Tibor Zimanyi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-15 12:33 EDT by Amana
Modified: 2015-09-07 10:43 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-07 10:43:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
jbpm.business.calendar.properties (69 bytes, text/plain)
2015-05-15 12:33 EDT, Amana
no flags Details
BusinessDaysTest.bpmn2 (11.47 KB, application/xml)
2015-05-15 12:35 EDT, Amana
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1540863 None None None Never

  None (edit)
Description Amana 2015-05-15 12:33:12 EDT
Created attachment 1025943 [details]
jbpm.business.calendar.properties

Description of problem:

BusinessCalendar is not working properly in BPM Suite 6.0.3, and is ignoring holidays. If we set the holiday to the current date, we still see tasks firing during the holiday (reproducer attached). 

Version-Release number of selected component (if applicable):

BPM Suite 6.0.3

How reproducible:

Alwsys

Steps to Reproduce:

1) add jbpm.business.calendar.properties attached to
'...standalone/deployments/business-central.war/WEB-INF/classes';

2) changed content to the current date as follows:

business.holidays=2015-15-05
business.holiday.date.format=yyyy-dd-MM

3) import BusinessDaysTest.bpmn2 to business-central;

4) after building&deploying and executing, the timer takes one minute and you will see the "Hello World!" output, that means that the task was fired and the
holiday was not considered.

Actual results:

It is firing the tasks.

Expected results:

It should not fire the tasks.

Additional info:

The same reproducer works in 6.1 release.
Comment 1 Amana 2015-05-15 12:35:21 EDT
Created attachment 1025944 [details]
BusinessDaysTest.bpmn2
Comment 5 Kris Verlaenen 2015-09-07 10:43:28 EDT
This is already fixed in 6.1

Note You need to log in before you can comment on or make changes to this bug.