Intellisense does not show the log function with 2 parameters who and message as depreciated

Status: Reported

Steps to Reproduce
  1. Log in as a user other than the one in the script ('TI')
  2. Create a Customer Service script like this to pass the 'Who' - 'TI' and 'Message' - 'New event' parameters to log with the user name 'TI' and the message 'New event':
#setLanguageLevel 3;

Ticket t;
t.load(245);
t.log("TI", "New event");
t.save();

     3. Check the request event log:

Image

Observe that: the event has been added with the correct message 'New event' but the wrong user name 'JJ' which is the user name who has run the script. It happens because the event with the correct user name 'TI' is in the table 'ticket_log' used in old Customer Service versions. The intellisense documentation shows that it is possible to pass both 'who' and 'message' parameters: 


Image

I expected: to mention that the function Ticket.log(String who, String message) is depreciated in the Intellisense documentation.

 

Details
Issue id 13413
Registered 7 May 2021
Last modified 10 May 2021
Severity Medium
Area Service
Status Reported
Target release
Type Bug