17 views

Description

Release Management: When the "Time card management" (com.snc.time_card) plugin is activated, changing the state of a Release, Phase, Feature, or Task throws an error and stops Business Rules from running.

"Exception (ReferenceError: "PlannedTaskStateUtil" is not defined. (sys_script_include.a409df3b9300220064f572edb67ffb3f.script; line 67)) occured while evaluating'Condition: TimeCardUtil.autoCreateTimeCard(current); Filter Condition: active=true^EQ' in business rule 'Create timecard' on rm_release_phase:RLSE0010002; skipping business rule"

Steps to Reproduce

 

  1. Activate the "Time card management" plugin
  2. Navigate to Release > Products
  3. Create a Product record
  4. On the Product record, use the related list "Releases" to create a new Release
  5. On the Release record, change the State field from "Draft" to "Work in Progress"
  6. An error will be thrown: "Exception (ReferenceError: "PlannedTaskStateUtil" is not defined. (sys_script_include.a409df3b9300220064f572edb67ffb3f.script; line 67)) occured while evaluating'Condition: TimeCardUtil.autoCreateTimeCard(current); Filter Condition: active=true^EQ' in business rule 'Create timecard' on rm_release:RLSE0010001; skipping business rule"
  7. A variation of the same error will be thrown when you change the state on a Phase, Feature, or Task record if you use the related list on the Release record to create a Phase record and/or use the related list on the Phase record to create a Feature record, and/or use the related list on the Feature record to create a Task record.
  8. The referenced sys_script_include is installed with Project Management (not required for the Time card management plugin to be installed)

Workaround

This issue is fixed in Kingston. Please review the Fixed In section to determine if your instance needs to be upgraded.
 

Related Problem: PRB1159233

Seen In

Jakarta Patch 2

Fixed In

Kingston

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-08-16 15:37:43
Published:2018-08-10