Intellisense does not show the log function with 2 parameters who and message as depreciated
Status: Reported
Steps to Reproduce
- Log in as a user other than the one in the script ('TI')
- 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:
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:
I expected: to mention that the function Ticket.log(String who, String message) is depreciated in the Intellisense documentation.
info
Please log in to comment.
Details
Issue id | 13413 |
Registered | 7 May 2021 |
Last modified | 10 May 2021 |
Severity | Medium |
Area | Service |
Status | Reported |
Target release | |
Type | Bug |
#15482 Custom log entry's not shown in new log view
Status: Solved