[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3267.0. "DT RV/RCV left document reserved" by CROCKE::YUEN (Banquo Yuen, Darwin Australia) Tue Sep 14 1993 10:51

    Hello
    
    I have changed DOCCREATE.SCP to allow user to DT RV or DT RCV
    documents directly into shared drawer.  What I have done was
    just change the logic of
    
    if current user is not owner AND (drawer is shared OR remote drawer)...
    
    to something like
    
    if current user is not owner AND (drawer is not shared OR remote) ...
    
    It did pass the ownership checking but when it tried to replace the
    document in WP_SYS_CLOSE.SCP, it got error, simply because the
    file (in user personal directory) was not there, docdb entry and
    daf entry was not there either.
    What was left were the RESERVE_LIST record in user MAIN drawer and
    RESERVATIONS record in the target share drawer.
    
    And finally the document was left RESERVED, user can URV and everything
    was fine.  So why is the replace not working in WP_SYS_CLOSE.SCP?
    
    This is also happening when user tries to edit multiple documents in
    shared drawer(s), when exit the editor (WordPerfect), documents are
    still RESERVED, the same symtom.
    
    Thanks
    Banquo
                      
T.RTitleUserPersonal
Name
DateLines
3267.1Not good news, I'm afraid.IOSG::CARLINDick Carlin IOSG, Reading, EnglandTue Sep 14 1993 15:2219
    Banquo
    
    >.IF ((OA$CURDWR_OWNER NES PROFIL.VMSUSR[OA$USER] AND -
    >      OA$CURDWR_SHARED EQS OA$Y) OR OA$CURDWR_REMOTE = OA$Y) AND -
    >      #P1 EQS "NOEDIT" -
    >  THEN .GOTO NOT_OWNED   (is this the line you meant?)
    
    Sorry but that wasn't a bug in DOCCREATE.SCP, it was put in to prevent
    DT RV etc being done into drawers that you don't own. This was a
    temporary measure pending the update of several other modules that
    needed to be changed.
    
    We have now carried out the complete change but I'm afraid it didn't
    make it into V3.0-1.
    
    I'm not so sure about the WordPerfect problem you were having. Can you
    give some more details?
    
    Dick
3267.2Unreserve the document ?CROCKE::YUENBanquo Yuen, Darwin AustraliaWed Sep 15 1993 04:0511
    Hello
    
    Can I leave the change that I have done in DOCCREATE.SCP, that's
    to ignore the replace document error and in DXRV.SCP, I just
    unreserve the document (using FILECAB UNRESERVE_DOCUMENT) if
    document created successfully ?????
    
    Will there be any hidden trap ?????
    
    Thanks
    Banquo
3267.3see also 2113.*IOSG::CARLINDick Carlin IOSG, Reading, EnglandWed Sep 15 1993 12:026
    Banquo
    
    Probably won't do any harm. Make sure it's ok for the cases where a DT
    RV does a conversion though.
    
    Dick