#1464 Typo in Invalid DEFAULTINTERFACE error message

All
closed-fixed
5
2012-06-13
2012-06-13
No

There's a typo in the error message output when starting STAFProc with a "SET DEFAULTAUTHENTICATOR IBM" statement in the STAF.cfg file that tries to set the default authenticator to an authenticator that does not exist. For example, if you put the "SET DEFAULTAUTHENTICATOR IBM" line BERORE you registered an authenticator named IBM. It outputs:

C:\>STAFProc

Error setting the DEFAULTINTERFACE operational parameter in line:

set defaultinterface tcp

Error code: 48
Reason : Invalid DEFAULTINTERFACE because interface 'tcp; is not registered

Error in configuration file: C:\STAF\bin\STAF.cfg

Note that the typo is that it is specifying 'tcp; instead of 'tcp'.

Discussion

  • Sharon Lucas

    Sharon Lucas - 2012-06-13

    Here's a cvs diff of the fix:

    Index: stafproc/STAFConfig.cpp

    RCS file: /cvsroot/staf/src/staf/stafproc/STAFConfig.cpp,v
    retrieving revision 1.50
    diff -r1.50 STAFConfig.cpp
    1619c1619
    < "authenticator '" + optionValue + "; is not registered";
    ---
    > "authenticator '" + optionValue + "' is not registered";

     
  • Sharon Lucas

    Sharon Lucas - 2012-06-13
    • status: open --> closed-fixed
     

Log in to post a comment.