BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Substring function contains wrong tooltip information

Open johnkm516 opened this issue 3 years ago • 1 comments

Describe the bug

On bot framework composer, hovering over the substring function shows an outdated tooltip :

image

The substring function in fact has the following parameters : substring(string, startPos, length). endPos is incorrect. Also, a length from the startPos that surpasses the length of the string will generate an out of range exception, not be taken as the max length of the string.

Version

Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

OS

  • [ ] macOS
  • [x] Windows
  • [ ] Ubuntu

johnkm516 avatar Aug 04 '22 06:08 johnkm516

Thanks for the feedback, we will queue this to be corrected in a future release.

LeeParrishMSFT avatar Aug 04 '22 18:08 LeeParrishMSFT