Wrong line number reported for script syntax error

  • 7003230
  • 06-Apr-2012
  • 26-Apr-2012

Environment

Novell SecureLogin 7 SP2 HF7

Situation

Create a win32 application for Notepad. (see below)

After the dialog/enddialog section place any command that would generate an
error. For example the ReadText with an invalid ctrl number. 

When the script executes it will report the wrong line number.

In the script below you will see that the ReadText command is on line 7 but
when the application is launched NSL reports...

Non SecureLogin Error(3)
Error executing line 4 of Application Definition "notepad.exe"

********************
## BeginSection: "Login Window"
Dialog
Class "Notepad"
Title "Untitled - Notepad"
EndDialog

ReadText #23 ?test
*********************

Resolution

This issue has been reported to engineering for review.