Clarity: Data Provider: Team Allocations - When creating new Portlet, this data provider is not working.

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

Description:

It seems that there are two different 'Team Allocations' Data Providers.

When you directly create a new grid portlet by selecting the 'Team Allocations' data provider, it generates a generic System Error message.

If you copy the existing OOTB portlet 'Weekly Detail' which uses a 'Team Allocations' data provider, no system error is generated.

This leads to the conclusion that perhaps the data provider from the OOTB portlet is different than the data provider that can be selected by the Clarity administrator at the time of creating a user-defined portlet.

Steps to Reproduce:

  1. Login to Clarity as an Administrator user
  2. Admin Tool -> Studio: Portlets
  3. Click 'New' button, select 'Grid Portlet'
  4. Select 'Team Allocations' as the Data Provider
  5. Select and configure the layout of the new portlet
  6. Configure and Publish the new portlet on a page
  7. Navigate to the page with the new portlet

Expected Result: The portlet should appear without any error.

Actual Result: The portlet generates red error 'System Error. Contact system administrator.' - Log message shows a java NullPointer error.

Solution:

Workaround:

This issue is reproduced in Clarity 12.0.3, 12.0.4, 12.0.5, 12.0.6.

The system data provider 'Team Allocations' is the same as the one on the Weekly Detail portlet.

The following steps will allow the Clarity administrator the ability to create a new portlet based on this data provider. These steps only allow for the creation of a 'General' Portlet Instance Type since the existing 'Weekly Detail' Portlet is a 'General' Instance Type Portlet.

  1. Admin Tool -> Studio: Portlets
  2. Locate the 'Weekly Detail' portlet (ID=projmgr.weeklyDetail)
  3. Open and click 'Save As'
  4. Fill in the required information to save as a new portlet
  5. Modify the new portlet as desired
  6. Configure and Publish the new portlet on a page
  7. Navigate to the page with the new portlet

Status/Resolution:
Resolved in Clarity 12.1.1

Keywords: CLARITYKB, CLRT-56291, clarity12resolved, clarity1211resolved, projmgr.weeklyDetail