Ratnesh Upadhyay created OFBIZ-10173:
----------------------------------------
Summary: Add/Modify Calender Event Screen is Broken
Key: OFBIZ-10173
URL:
https://issues.apache.org/jira/browse/OFBIZ-10173 Project: OFBiz
Issue Type: Bug
Components: humanres
Affects Versions: Trunk
Reporter: Ratnesh Upadhyay
*Steps to reproduce the issue*:
# Go HR component.
# Click on Training Tab.
# Click on any event listed over training calendar to navigate over modify event screen.
Here is the error message appearing on page when user tried to navigate on any event from training calendar.
{code:java}
java.lang.IllegalArgumentException:
Error running script at location
[component:///workeffort/groovyScripts/ical/IsCalOwner.groovy]:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot
cast object
'[GenericEntity:WorkEffortPartyAssignment][assignedByUserLoginId,admin(java.lang.String)][availabilityStatusId,null()][comments,null()][createdStamp,2018-01-19
16:49:36.69(java.sql.Timestamp)][createdTxStamp,2018-01-19
16:49:36.616(java.sql.Timestamp)][delegateReasonEnumId,null()][expectationEnumId,null()][facilityId,null()][fromDate,2018-01-19
16:49:36.69(java.sql.Timestamp)][lastUpdatedStamp,2018-01-19
16:49:36.69(java.sql.Timestamp)][lastUpdatedTxStamp,2018-01-19
16:49:36.616(java.sql.Timestamp)][mustRsvp,null()][partyId,admin(java.lang.String)][roleTypeId,CAL_OWNER(java.lang.String)][statusDateTime,null()][statusId,PRTYASGN_ASSIGNED(java.lang.String)][thruDate,null()][workEffortId,10041(java.lang.String)]'
with class 'org.apache.ofbiz.entity.GenericValue' to class
'java.util.List' due to: groovy.lang.GroovyRuntimeException: Could not
find matching constructor for:
java.util.List(org.apache.ofbiz.entity.GenericValue)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)