| 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 |
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.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3267.1 | Not good news, I'm afraid. | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Tue Sep 14 1993 14:22 | 19 |
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.2 | Unreserve the document ? | CROCKE::YUEN | Banquo Yuen, Darwin Australia | Wed Sep 15 1993 03:05 | 11 |
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.3 | see also 2113.* | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Wed Sep 15 1993 11:02 | 6 |
Banquo
Probably won't do any harm. Make sure it's ok for the cases where a DT
RV does a conversion though.
Dick
| |||||