Cost Plan Detail page "Error 500" when auditing is enabled
search cancel

Cost Plan Detail page "Error 500" when auditing is enabled

book

Article ID: 49820

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Cost plans are now getting an error 500 at creation on an upgraded V13 environment:

Steps to Reproduce:

  1. Login to Clarity as an administrator
  2. Home > Projects > Open a new or existing project
  3. Financial Plans
  4. Under Actions click on "New from Investment Team"
  5. Create a new cost plan, group by role or charge code and submit

Expected Result: Cost plan created
Actual Result: Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator.

This also happens if you try to drill into the detail of a newly created manual cost plan.

APP.LOG ERROR:
ERROR 2013-02-21 15:44:38,372 [http-14001-14] web.WebActionController
(clarity:admin:10398647__3DC6F6F0-7218-4EBD-9ADA-85F931381103:revmgr.newFromResourcePlan)
com.niku.union.web.WebException: WebServiceAdapter::processRequest -> failed to process service request

Caused by: com.niku.union.service.ServiceException: Exception in
ResourcePlanProcessingService: com.niku.union.odf.exception.ODFException:com.niku.union.service.ServiceException: Service Exception

Caused by: com.niku.union.service.ServiceException: Exception in
ResourcePlanProcessingService: com.niku.union.odf.exception.ODFException:com.niku.union.service.ServiceException: Service Exception

ERROR 2013-02-21 15:44:38,377 [http-14001-14] performance.PerformanceMonitor
(clarity:admin:10398647__3DC6F6F0-7218-4EBD-9ADA-85F931381103:revmgr.newFromResourcePlan)
Mismatch in timing element stack, where titles do not match ('webRequest'!= 'action') or ids do not match ('revmgr.costplanPost' !='revmgr.newFromResourcePlan')

ERROR 2013-02-21 15:51:45,209 [http-14001-12] model.ObjectActionGroupImpl
(clarity:admin:10398640__BE435E18-3489-429F-8B33-C94F6498BADF:revmgr.budgetList)
Could not find object action in cview: revmgr.costplanListRejectBudget

ERROR 2013-02-21 15:51:45,209 [http-14001-12] model.ObjectActionGroupImpl
(clarity:admin:10398640__BE435E18-3489-429F-8B33-C94F6498BADF:revmgr.budgetList)
Could not find object action in cview: revmgr.costplanListApproveBudget

Environment

Release: 13.2
Component: Clarity Financial Plans

Cause

Prior to the upgrade audit trail attributes were enabled for the Cost Plan Detail Object. After upgrading to Clarity v13, the Audit Trail trigger became invalid. 

Resolution

Rebuild the Audit Trail Trigger after the upgrade using the following steps:

  1. Login to Clarity as an administrator in the upgraded v13 system
  2. Administration > Studio: Objects > Cost Plan Detail > Audit Trail
  3. Move all 'Selected' attributes back to the 'Available' combo box
  4. Click 'Save' button
  5. Move the desired attributes from the 'Available' list to the 'Selected' list
  6. Click 'Save' button
  7. Home > Projects > Open a new or existing project
  8. Financial Plans
  9. Create a new cost plan > click 'Submit' button