Bug 1222064

Summary: BusinessCalendar is not working properly (ignoring holidays) in BPM Suite 6.0.3
Product: [Retired] JBoss BPMS Platform 6 Reporter: Amana <ajuricic>
Component: jBPM CoreAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Tibor Zimanyi <tzimanyi>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.3CC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-07 14:43:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
jbpm.business.calendar.properties
none
BusinessDaysTest.bpmn2 none

Description Amana 2015-05-15 16:33:12 UTC
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 16:35:21 UTC
Created attachment 1025944 [details]
BusinessDaysTest.bpmn2

Comment 5 Kris Verlaenen 2015-09-07 14:43:28 UTC
This is already fixed in 6.1