Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10173

Add/Modify Calender Event Screen is Broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 18.12.01
    • humanres
    • None

    Description

      Steps to reproduce the issue:

      1. Go HR component.
      2. Click on Training Tab.
      3. 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.

      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)
      

      Attachments

        1. OFBIZ-10173.patch
          0.9 kB
          Yogesh Naroliya

        Activity

          People

            rishisolankii Rishi Solanki
            upadhyay.ratnesh Ratnesh Upadhyay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: