7 views

Description

A single update to comments or work notes are causing multiple records to be created and added to the activity stream.

Steps to Reproduce

Activate Service Portal plugin
1. Open a incident record in Service Portal in 'Ticket' view.
  Eg : /sp?id=ticket&table=incident&sys_id=<sys_id_of_incident>
2. Type a comment and click  enter key multiple times without any delay in time. Notice that the same comment is posted several times.
3. If we open the incident out of Service Portal, clicking enter just goes to the next line.
 
The Widget 'Ticket Conversations' has this code in HTML Template that is causing this:
 
<textarea ng-keypress="keyPress($event)" sn-resize-height="trim" rows="1" id="post-input" class="form-control no-resize" ng-model='data.journalEntry' placeholder="{{placeholder}}" autocomplete="off" ng-change="userTyping(data.journalEntry)" />
 
Removing 
ng-keypress="keyPress($event)"
makes it to go to next time as in the normal UI.
 
Expected behavior : The comment should be posted only once
 
Actual behavior : The comment is posted several times.

Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.


Related Problem: PRB830966

Seen In

Kingston

Fixed In

London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-09-20 05:53:01
Published:2018-09-20