• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

VV00011 - Session variable "detail" was not found

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VV00011 - Session variable "detail" was not found

    I am getting an odd error, 'VV00011 - Session variable "detail" was not found', in my NAB app and I was wondering if anyone knew anything about it.


    I have an app with a button that:
    • Prompts a user to upload a document
    • Calls a SQLRPGLE program

    Here's how my button's behavior is defined in NAB:
    ButtonBehavior.jpg


    When the button is pressed, this is the program that runs (I replaced my IFS Folder name with a fake one):
    **free
    /Include qcpylesrc,vvNabBtn

    Initialize();
    Process();
    CleanUp();
    *InLr = *On;

    // ---------------------------------------------------------------------------------------------------------------------
    Dcl-Proc Process;

    Dcl-S IFSFolderPath Char(256);
    Dcl-S docName Char(128);

    docName = vvUtility_getSessVar('VVUPLOAD_fileName' : gSid);
    vvIn.fileName = docName;

    // check a path and create one if there isn't one
    IFSFolderPath = '/fakePath/';
    vvIn.path = IFSFolderPath;
    vvIn_file(vvIn : '*NULL');

    If vvIn.error <> *blanks;
    SetResponse('msg' : %trim(vvIn.error));
    SetResponse('success' : 'false');
    Return;

    Else;
    setResponse('success' : 'true');

    EndIf;

    End-Proc;


    /Include qcpylesrc,vvNabBtn

    When it runs, we get this error (yes, some are blank):
    Program: VVSRVPGM
    Module: VVUTILITY
    Procedure: VVUTILITY_GETSESSVAR
    Statement:
    Id:VV00011 - Session variable "detail" was not found
    Help Text:
    Valence Login ID: *NOSESSION
    IBM i User: me
    Call Stack: VVUPLOAD[VVUPLOAD]TPRTSTUPL2[TPRTSTUPL2]TPRTSTUPL2[INITIALIZE]VVSRVPGM{VVUTILITY}[VVUTILITY_GETSESSVAR]

    Do you know about this? I don't know anything about a session variable named "detail". I never set it anywhere.

    Thank you for your time.




  • #2
    This is used internally. It is in place for backward compatibility as in some cases "detail" was a parameter passed by the front-end. I assume your process is still working as expected, correct? This is just an informational message.

    Comment

    Working...
    X