Clarity: Specific Navigation between User-defined Portlet and User-defined Resource Subpage generates Error 500
search cancel

Clarity: Specific Navigation between User-defined Portlet and User-defined Resource Subpage generates Error 500

book

Article ID: 50320

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Description:

Specific Navigation between User-defined Portlet and User-defined Resource Subpage generates Error 500

The Error 500 can be generated when following a specific sequence set of steps using a simple user-defined portlet and user-defined subpage on the Resource Object.

If the configuration and navigation steps are not followed precisely, the issue is not reproduced.

It is essential to reproduce the issue to have more than one page on the grid portlet and to have a user-defined subpage on the Resource Object

Steps to Set up Configuration of User-Defined Portlet and Subpage:

  1. Login as a Clarity Administrator

  2. Admin Tool > Queries > click 'New' button>

    Create a new portlet that generates a list of Project Managers and the number of Investments

    <Please see attached file for image>

    Figure 1

    <Please see attached file for image>

    Figure 2

    NSQL Statement:
    SELECT @SELECT:DIM:USER_DEF:IMPLIED:RESOURCE:MR.ID:[email protected],     @SELECT:DIM_PROP:USER_DEF:IMPLIED:RESOURCE:MR.FULL_NAME:[email protected],     @SELECT:METRIC:USER_DEF:IMPLIED:COUNT(*):PROJECT_COUNT:[email protected] INV_INVESTMENTS I,     SRM_RESOURCES MRWHERE I.MANAGER_ID = MR.USER_IDAND @[email protected] BY MR.ID,     MR.FULL_NAMEHAVING @[email protected]

    <Please see attached file for image>

    Figure 3

    Set Configurable Actions
    Action Source = Resource
    Object Primary Key Attribute = mgrid:bigDecimal

    <Please see attached file for image>

    Figure 4


    Create a new Link
    Link Name = Manager Link
    Link ID = manager_link
    Action = Resource Properties (projmgr.editResource)

    <Please see attached file for image>

    Figure 5

    <Please see attached file for image>

    Figure 6

    <Please see attached file for image>

    Figure 7

    <Please see attached file for image>

    Figure 8

    <Please see attached file for image>

    Figure 9

    <Please see attached file for image>

    Figure 10

  3. Studio: Objects > Resource Object > Views
    Resource Labor Properties [Layout: Edit]
    Click 'Create Subpages' button
    create a new subpage 'mySubpage' > click 'Submit' button
    Click on the name of the newly created subpage

    <Please see attached file for image>

    Figure 11


    Click 'Create Sections' button
    create a section for the subpage - 'Section1' > click 'Submit' button
    Click on the 'properties' icon for the newly created section

    <Please see attached file for image>

    Figure 12

    | Add some fields to the page layout > click 'Submit' button

    <Please see attached file for image>

    Figure 13

  4. Main Application > Overview Page > [Manage My Tabs] > General Tab > Content
    click 'Add' button > Select the portlet created in Step #2 > click 'Add' button
    Click 'Exit' button > Click 'Back' button to return to Overview page

    <Please see attached file for image>

    Figure 14

Note: If the results of the portlet does not generate more than one page, create more investments with different resources. One row is generated for each resource that is listed as the manager on a project.

Once the configuration is complete and the portlet generates more than one page, now you can use the steps below to replicate the issue.

Steps to Reproduce:

  1. From the user-defined portlet, navigate to page 2

    Click on the Manager Name Link for one of the resources (ie. User,Resource8)

    (it does not matter which resource)

    Click 'mySubpage' link

    Click 'Cancel' button (returns to Overview page where user-defined portlet is placed; on page 1 of the user-defined portlet)

    <Please see attached file for image>

    Figure 15

    <Please see attached file for image>

    Figure 16

    <Please see attached file for image>

    Figure 17

  2. From the user-defined portlet, navigate to page 2

    Click on the Manager Name Link for one of the resources (ie. User,Resource6)

    (it does not matter which resource - it could be the same resource or a different resource)

    Click 'mySubpage' link

    Click 'Cancel' button (returns to Overview page where user-defined portlet is placed; on page 1 of the user-defined portlet)

    <Please see attached file for image>

    Figure 18

    <Please see attached file for image>

    Figure 19

    <Please see attached file for image>

    Figure 20

    <Please see attached file for image>

    Figure 21

  3. From the user-defined portlet, navigate to page 2

    Click on the Manager Name Link for one of the resources (ie. User,Resource7)

    (it does not matter which resource - it could be the same resource or a different resource)

    Click 'mySubpage' link

    RED ERROR MESSAGE:

    Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator.

    <Please see attached file for image>

    Figure 22

    <Please see attached file for image>

    Figure 23

    <Please see attached file for image>

    Figure 24

    <Please see attached file for image>

    Figure 25

  4. Log out / Log in again

  5. Repeat Steps 1-3 using the 'Submit' button instead of 'Cancel' button

Expected Result:

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.

Solution:

WORKAROUND:

None. The customer is using this portlet to update a list of resources and having to work around this issue causes delays in using the application.

STATUS/RESOLUTION:

Resolved in Clarity 12.1.3

Keywords: CLARITYKB, CLRT-63248, clarity8open, clarity12resolved, clarity1213resolved.

Environment

Release: ESPCLA99000-12.1-Clarity-Extended Support Plus
Component:

Attachments

1558709930440000050320_sktwi1f5rjvs16rno.gif get_app
1558709928702000050320_sktwi1f5rjvs16rnn.gif get_app
1558709926837000050320_sktwi1f5rjvs16rnm.gif get_app
1558709925043000050320_sktwi1f5rjvs16rnl.gif get_app
1558709923087000050320_sktwi1f5rjvs16rnk.gif get_app
1558709921132000050320_sktwi1f5rjvs16rnj.gif get_app
1558709919147000050320_sktwi1f5rjvs16rni.gif get_app
1558709916766000050320_sktwi1f5rjvs16rnh.gif get_app
1558709914839000050320_sktwi1f5rjvs16rng.gif get_app
1558709912893000050320_sktwi1f5rjvs16rnf.gif get_app
1558709910378000050320_sktwi1f5rjvs16rne.gif get_app
1558709908503000050320_sktwi1f5rjvs16rnd.gif get_app
1558709906481000050320_sktwi1f5rjvs16rnc.gif get_app
1558709904263000050320_sktwi1f5rjvs16rnb.gif get_app
1558709902342000050320_sktwi1f5rjvs16rna.gif get_app
1558709900386000050320_sktwi1f5rjvs16rn9.gif get_app
1558709898441000050320_sktwi1f5rjvs16rn8.gif get_app
1558709896548000050320_sktwi1f5rjvs16rn7.gif get_app
1558709894361000050320_sktwi1f5rjvs16rn6.gif get_app
1558709892375000050320_sktwi1f5rjvs16rn5.gif get_app
1558709890394000050320_sktwi1f5rjvs16rn4.gif get_app
1558709888638000050320_sktwi1f5rjvs16rn3.gif get_app
1558709886058000050320_sktwi1f5rjvs16rn2.gif get_app
1558709884143000050320_sktwi1f5rjvs16rn1.gif get_app
1558709882078000050320_sktwi1f5rjvs16rn0.gif get_app