Notifications

910 views

Description

When attempting to create reports, if adding a field from a variable, the report will default to only show the first record retrieved from the query.

The instance log will contain the error: SEVERE *** ERROR *** null:301:2353: <g2:list_item_style> java.lang.NullPointerException.

Further, if using group by, it will recognize other records are available but not show them.

 

Steps to Reproduce

  1. Edit a catalog item such as Submit an IT request.
  2. Add these variables: Incident Number (reference type to incident), Incident description (multi-line text).
  3. Submit the catalog item a few times to generate some records in sc_req_item.
  4. Set the system property glide.ui.optimize.lists to false.
  5. Create a report on the requested item table (sc_req_item), andadd a filter for Item = <catalog item created or Submit an IT Request>.
  6. Run the report. Observe only one record is displayed, even though there are many records.
  7. Remove the filter and run the report again. Observe all records are shown.


Workaround

This issue is fixed in all currently supported versions. Please review the Fixed In section to determine the latest available patch your instance can be upgraded to.

The recommended workaround is to have both properties listed below set to their default value of true:

glide.ui.optimize.lists=true 

glide.ui.list.optimize=true

 
Also see the workarounds to the behaviour described in PRB573139/KB0529493 - In list view ACLs on referenced dot-walked records are evaluated only against the specific displayed derived fields .
Dot-walked fields in a list report may not load properly if the referenced property glide.ui.list.optimize is set to true as recommended.
 

Related Problem: PRB1162821

Seen In

There is no data to report.

Fixed In

Jakarta Patch 10
Jakarta Patch 8a Hot Fix 2
Jakarta Patch 9c Hot Fix 2
Kingston Patch 7
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-12-14 01:49:06
Published:2017-11-17