Clarity: Error 500 when trying to populate a cost plan from task assignments which was copied from a template with zero values

Document ID : KB000048759
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

If you create a template with roles assigned to the task which has zero allocation and no etc, you can create a cost plan and populate it from the task assignments. However, when you create a new project from that template and then try to populate the plan again from task assignments on the new project, you will receive Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator.

Steps to Reproduce:

  1. Log into Clarity

  2. Select Projects from the left hand navigation bar

  3. Select New to create a new project

  4. Complete the necessary fields and mark the project as a template and save

  5. Go to the Schedule link under of the Project Properties tab and ensure the project dates are entered as well as the charge code

  6. Go to the Financials link under the Project Properties tab and ensure all the financial details are entered and the financials is set to Open

  7. Go to the Team tab and add some roles to the project and allocate them zero to the project

  8. Go to the Task tab and create two new tasks

  9. Assign the roles you added to the team to the task

  10. Edit the ETC to zero for both task assignments so that the tasks have no ETC

  11. Go to the Financial Plans tab and create a New Manual plan

  12. Enter all required details and ensure that the Grouping attribute is Role and then Save the plan

  13. Select the Detail tab and select Populate from Task Assignments from the Actions drop down menu

  14. You will notice that the plan is populated with nothing (but no error appears)

  15. Now go back to the List of projects

  16. Select New from template and create a new project from the template you created above

  17. Enter all the required details and save the new project copied from the template.

  18. Check the schedule and financial settings to ensure that all details are correct and the project is open for financials

  19. Go to the Financial Plan Tab and select the cost plan copied over from the template

  20. Go to the cost plan Details tab and again select Populate from task assignments from the Actions drop down menu

Expected Result: The Cost Plan is populated with zero values

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 appears

The following error can be found from the app-ca.log:

performance.PerformanceMonitor (clarity:admin:6022372__33CB4933-F6E0-45F0-B979-D1E4E07C8241:revmgr.populateFromResourcePlan) Mismatch in timing element stack, where titles do not match ('webRequest' != 'action') or ids do not match ('revmgr.populateFromResourcePlan' != 'revmgr.populateFromResourcePlan')

Solution:

Workaround #1:

Create the template with non-zero allocation and ETC and the error is not reproducible when copying the project from template and re-populating the tasks from the assignments.

Workaround #2:

Go back to the original template, edit the project with non-zero values for the allocation and ETC for the assignments on the tasks. Re-populate the cost plan from task assignments. Create a new project from the template and you will see that the Error 500 is not reproducible. You can then go back to the template and again set the allocation and ETC back to zero and from here forward the template allows to be copied and re-populating the cost plans from task assignments result in no error.

STATUS/RESOLUTION:

Resolved in Clarity 13.0 Generic Patch. Reference TEC572268
Resolved in Clarity 13.1 Generic Patch. Reference TEC581256

Keywords: CLARITYKB, CLRT-68291, clarity13resolved.