Clipboard page vanishing after upgrade from 7.1.7 to 7.1.8
A custom harness is used for search functionality. Once data is entered into the harness and a search performed, it is expected that the user can return to the harness and modify the search criteria before searching again.
The search fires a pre-activity which is of the class of the search harness. On subsequent searches, the system fails to find the pre-activity because it does not know the class of the activity.
'Error message Failed to find instance @baseclass.CaseSearch of type Rule-HTML-Harness.'
Steps to Reproduce
- Create link in the header of Case worker portal.
- Link a harness with section with user interface (UI) control and search results.
- Configure a activity that calls report definition with input parameter from the screen.
- Click Search button.
An issue in the custom application code or rules.
The search harness has a UI action set associated with it. One of the actions is "Harness" which effects a refresh of the harness. There is an option on this action set to reuse the existing page or to replace the existing page. It was set to "ReplaceCurrent", which blows away the clipboard page on which the harness is based:
The interesting fact is that the clearing of the existing clipboard page is NOT shown in the Tracer.
From one activity step to the next, the page is wiped clean.
Perform the following local-change:
Change the Target option from "ReplaceCurrent" to "New Document".
0% found this useful