[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

428.0. "Reservations on a remote document" by AIMTEC::PORTER_T (Terry Porter, ALL-IN-1 Support, Atlanta CSC) Tue Apr 07 1992 18:37

I have a what-if type question, which for once is not an FCS question!

If a user edits a remote document an implicit reservation with copy is done 
and the user actually edits the copy. Normally (on exit from the editor) the
copy will be moved back to overwrite the original. What if the copy back can
not be done (e.g. abnormal exit from editor, network down, etc.)?

As far as I can tell you end up with two copies of the document, the original
which is still reserved and the copy in the RESTORED DOCUMENTS folder. There
seems to be no way other than editing again and using GOLD-GET to get the 
modified copy to overwrite the reserved original.

The RESERVATION.DAT entry for the original document contains a pointer to the
copy so it should be possible to to do the copy back automatically.

Am I missing some easy way to do this, or does the user have to do it the
hard way?

Terry
T.RTitleUserPersonal
Name
DateLines
428.1The magic should be thereIOSG::CARLINDick Carlin IOSG, Reading, EnglandWed Apr 08 1992 11:4213
> ...  so it should be possible to to do the copy back automatically.
    
    That's the way it should work. The next time you go in and edit, it
    sees you already have it reserved and suspects that something is amiss.
    Therefore it presents you with the copy to continue editing on. When
    you complete the edit the edited copy will be written back to the
    remote document.
    
    So you shouldn't need to GOLD-GET. Let me know if this doesn't work for
    you in BL123.
    
    Dick
    
428.2It does not seem to work ...AIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCWed Apr 08 1992 23:5430
Dick,

I tried the following with 2 BL123A systems...

Create a document in a shared drawer on NODEA and grant access to a user on 
NODEB (via a proxy on NODEA).

Edit that document from NODEA. A copy is made and placed in the 
RECOVERED DOCUMENTS folder of the user's MAIN drawer.

Abort the edit session using Ctrl-Y

Go back into ALL-IN-1.

The local copy is there as expected.

Try to edit the remote document again (which has a RESERVED status) and I
get the error message I would expect if some-one else had edited it. i.e.

Already reserved by PORTER_T on node NODEA on 08-Apr-1992 05:20pm

I am PORTER_T on NODEA.

I tried using the PRC option but I then get the message 

System reservation, use URV to unreserve

Is this a bug, or am I doing something wrong?

Terry
428.3who is where?IOSG::CARLINDick Carlin IOSG, Reading, EnglandThu Apr 09 1992 14:2715
    I got a bit confused with the NODEA and NODEB. Is there a typo? If you
    edit from NODEA then it's a local edit. Also which editor is it?
    
    I just tried WPS-PLUS editing a remote document with BL123a, killing
    the ALL-IN-1 session, restarting ALL-IN-1 and re-editing and it seemed
    to be ok.
    
    The only problem I know is for WPS-PLUS editing a remote .TXT document.
    In this case you have unfortunately lost any edits before the crash (I
    don't look for the .WPL conversion).
    
    In your example are you logging in from different systems, in which
    case you will look like two different people?
    
    Dick
428.4Things are getting wierd...AIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCFri Apr 10 1992 18:0019
Dick,

Yep there was a typo I was editing the document from NODEB.

However I went back and re-tested it again and it works OK now ???????? I even
re-edited the document that was failing yesterday and that worked. I think I 
will find a nice dark room and lie down for a while ;^}

Is FAL involved in this process? There was a problem with FAL not working when
I first did the testing (mis-matched passwords in NCP and SYSUAF) but I ignored
this as I thought ALL-IN-1 used the FCS for remote document access.

I have since learned that ALL-IN-1 uses FAL to read a remote document if that 
document is not in a mail area so maybe some of the checking that is done here 
relies on FAL working?

Regards,

Terry
428.5curiousIOSG::CARLINDick Carlin IOSG, Reading, EnglandTue Apr 14 1992 23:5511
    Starting with a version following closely after Diamond (is that
    obscure enough?) we are using FAL much less and switching to functions
    like put_data and get_data which use the FC Server's internal protocol.
    Also remote reservation will copy to a document rather than use a
    FAL-based file export.
    
    Having said that, it doesn't look like a FAL problem in this case,
    perhaps it was just being on different systems (user naming has a long
    way to go).
    
    Dick
428.6Now it's working too well :-)AIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCWed Apr 15 1992 17:0529
Dick,

Now that I have got the recovery to work it seems to be over enthusiastic ...

I reserved a document in a remote drawer with a copy (RSC) putting the copy
in my local MAIN drawer. I can now happily edit the local copy. If I try to
edit the remote copy (I forgot I had a local one) instad of telling me to
edit my local copy (as it does if the reserved document was in a local drawer)
the edit works and I end up in the editor, but with the content of the local 
copy. When I exit the editor the original is updated and the local copy deleted
but the original remains RESERVED (it is now as if it had been reserved
without a copy).

It seems like ALL-IN-1 does not distinguish between an implicit reserve 
with copy of a remote document that has failed to replace the original, and
an explicit reserve with copy on a remote document.

And now for the twist in the tail (or tale ?). If when I do the reserve with
copy I put the copy in the remote drawer (which is the default) then when I
try to edit the original document I get into the editor but with a blank
document (no error messages). When I exit from the editor anything I have
entered in the edit session is lost and the content of the copy is put back
into the original and the copy is deleted.

What is the intended behaviour? The above behaviour is going to confuse and
upset a lot of customers if we do not change it before Distributed Sharing
is sold.

Terry
428.7Comments anyone?AIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCTue Apr 21 1992 17:413
Anyone have any comments on .-1 or should I just QAR it?

Terry
428.8known, but not fixed in V3 :-(IOSG::CARLINDick Carlin IOSG, Reading, EnglandTue Apr 21 1992 19:2610
    Hi Terry,
    
    Just got back from holiday and caught up with this conference. This one
    is a known problem and has been fixed for a pfr/pfp. You should of
    course be told to edit the copy in all cases.
    
    There has been a gradual transition in the way remote editing is
    handled and unfortunately this problem slipped in as a result.
    
    Dick
428.9A plea from the late shift (:==:)AIMTEC::WICKS_AMore Ship dates than actual ShipsThu Apr 23 1992 02:517
    Terry,
    
    A STARS article yes but please no more QARs
    
    regards,
    
    Andrew.D.Wicks