"Empty Assignment Error" pop up on clicking worklist assignment
In a tabbed portal, after clicking from a work object tab to the worklist tab, clicking on another work object to open it sporadically results in a popup error.
"Empty Assignment Key"
Steps to Reproduce
- Open a work object in a new tab.
- Click back to the worklist tab.
- Click to another.
Root CauseA browser limitation which results in a brief window of time between when the server has sent all of the data about a section refresh to the browser, but the browser has not completely processed all that data into the DOM. If a user triggers an action on the section during this window, stale / incorrect data is used in the action and errors can be seen.
Perform the following local-change:
var openIfKeyIsPresent = function(handle)
if(handle != null && handle != "")
};2. Add the JS file to your harness.
3. Modify the section that displays your worklist so the repeat grid’s on click action calls your function instead of the Open Assignment action. The "handle" parameter should be passed the value of the pzInsKey of the assignment being opened.