Bug 1222064 - BusinessCalendar is not working properly (ignoring holidays) in BPM Suite 6.0.3
Summary: BusinessCalendar is not working properly (ignoring holidays) in BPM Suite 6.0.3
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Maciej Swiderski
QA Contact: Tibor Zimanyi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 16:33 UTC by Amana
Modified: 2019-07-11 09:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-07 14:43:28 UTC
Type: Bug
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1540863 0 None None None Never

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


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