Loading...
Loading...
Toggling the checklist items for an HR Task of task type 'Checklist' that is assigned to you on the Standard Ticket Page will reload the main widgets on the page, resulting in the open task/viewing context being lost. Note: This behavior is not present on the Todos page (hrm_todos_page) and hrm_ticket_page (with 'Use Standard Ticket' Page Route Map disabled). Steps to Reproduce 1. Install Human Resources Scoped App: Core and Employee Service Center on an instance. 2. Create an HR Case with a child HR Task of Checklist type assigned to yourself (and add some checklist items). 3. Go to Employee Service Center. 4. Click 'Requests' link in the header and select the HR Case from the list created in step 2. 5. Click the HR Task line item and open it. 6. Check/uncheck any of the checklist items. 7. See that page is "reloaded" and the task panel is closed as soon as the item is checked. 9. Go to /sp_page_route_map.do?sys_id=ed1cbb15738200105788e1e54cf6a760 and deactivate the 'Use Standard Ticket' page route map. 10. Repeat steps 4-6. See that the page no longer reloads
Widget 1 : Standard Ticket Header (standard_ticket_header) In Client Controller and replace from line 4 spUtil.recordWatch($scope, $scope.data.table, "sys_id=" + $scope.data.sys_id, function(name) { c.data.currentActionWidget = null; if (name.data.changes.length > 0 && !(name.data.changes.length == 1 && name.data.changes[0] == 'comments')) $scope.server.update().then(function(response) { c.data.currentActionWidget = response.actionWidget; }); }); with spUtil.recordWatch($scope, $scope.data.table, "sys_id=" + $scope.data.sys_id, function(name) { if (name.data.changes.length > 0 && !(name.data.changes.length == 1 && (name.data.changes[0] == 'comments' || name.data.changes[0] == 'work_notes'))){ c.data.currentActionWidget = null; $scope.server.update().then(function(response) { c.data.currentActionWidget = response.actionWidget; }); } }); Widget 2 :Standard Ticket Tab (std_ticket_tab) And Replace line 4 if (name.data.changes.length > 0 && !(name.data.changes.length == 1 && name.data.changes[0] == 'comments')) with if (name.data.changes.length > 0 && !(name.data.changes.length == 1 && (name.data.changes[0] == 'comments' || name.data.changes[0] == 'work_notes'))) Allow RCA records and clear the cache.
PRB1417954
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.