Query conditions are not applied to the checklist for any table while exporting to pdf


Description

When adding a checklist with several records, the query conditions are not applied to the checklist for the table being exported to pdf.

 

Steps to Reproduce

1. Create two checklists for two different incident records: A and B.

2. Export to pdf the incident record A.

There are no query conditions set on the exported pdf, the record B also populates in the exported checklist.

Workaround

After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make this decision lightly, and we apologise for any inconvenience.

Most apps on SM core are being deprecated together with the SM Core app creator.

As a workaround until Quebec, navigate to /nav_to.do?uri=sys_relationship.do?sys_id=8f576281c3100200e280dccdf3d3aed8 and change the query from:

checklist.addQuery('document', parent.sys_id);
checklist.addQuery('table', parent.sys_class_name);

To:

current.addQuery('document', parent.sys_id);
current.addQuery('table', parent.sys_class_name);


Related Problem: PRB1433925