[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

4172.0. "Dtitle displayed after xf" by KERNEL::OTHENJ () Tue May 17 1994 13:16

Using ALL-IN-1 V3.0-1 (and also v3.0a)

A user has documents in a shared drawer, does XF to send selected docs to
another user. When the other user does IA to see the attachment titles some
have changed.

I can reproduce the problem as follows.

1. Create 3 test documents in shared drawer, calling them IJB - TMP1, 
IJB - TMP2 & IJB - TMP3.

2. Select TMP2 and do a WRITE CHANGE CAB$ DOCUMENT = OA$CURDOC,DTITLE='CHANGED
TITLE'. This puts a DTITLE on the second temporary document.

3. Select the three documents from an index and do an XF to send them to ME.

4. Do an IA to see the attachments to the new mail message. It shows as below:
         
                              Index of Attachments
 (Selections: 0  )                                          (New messages: 2  )
--------------------------------------------------------------------------------
   No.   Type      Created             Title:       TEST
--------------------------------------------------------------------------------
 > 1     DOCUMENT  17-May-1994 09:49   IJB - TMP3
   2     DOCUMENT  17-May-1994 09:34   CHANGED TITLE
   3     DOCUMENT  17-May-1994 09:30   ijb - tmp1

Notice how document 2 has picked up the DTITLE.

Analysis:

This only appears to occur when doing XF with the "rogue" document not being
the first. If I were to select TMP2 on its own and do an XF the title would be
CORRECTLY propagated. Also if I selected TMP2 & TMP1 then again the title was
correct, because TMP2 was top of the list. Only after creating a third tmp
document TMP3 did the title change because the DTITLE document (TMP2) was
second in the list.

Why does it pick up/change the title ?

	Thanks,

			Julie

    
T.RTitleUserPersonal
Name
DateLines
4172.1The Way It Is (� Bruce Hornsby and the Range)IOSG::MARSHALLA glitch in realityTue May 17 1994 14:1244
Julie,

First, ALL-IN-1 maintains a document's title in three different places:
    DOCDB field  TITLE
    DAF   fields DTITLE and SUBJECT.

Normally, when you create a mail message (or document, or attachment...)
ALL-IN-1 propagates the same value through all three fields.  TITLE and DTITLE
should always be the same: eg when an SDAF record is created for an existing
DOCDB record, DTITLE is populated from TITLE.

Note I mean *S*DAF above; DTITLE is not set until the message is sent (or
attached to another message).  This ensures it always has the value set in TITLE
at the time of sending.

However, SUBJECT is set to the value of TITLE when the message is created, not
when it is sent.  After that SUBJECT is not changed (eg if I change the title
with the U - Update Index Information option, SUBJECT does not change). Note
also that SUBJECT is the only title field on the message that is carried if the
message is sent remotely.

When a message is sent locally, SUBJECT and DTITLE remain the same (as
the recipient sees the same SDAF record) but the recipient's TITLE is set from
SUBJECT, not from DTITLE.

Now, the "Title" field on an index form takes its value from the DOCDB TITLE
field, whereas the "Subject" seen when you read the message comes from the
SUBJECT DAF field.  The same is true for the Title and Subject fields on Show
Header.  But the "Title" seen from IA is DTITLE, as attachments don't have a
DOCDB record, and hence no TITLE field.

Given this behaviour, it's easy to see why titles can appear differently to
the sender and recipient of a message/attachment.  Also, a user can see what
appear to be different titles for the same documentdepending on which form they
use to view the document fields).  What isn't clear (to me, at least!) is why
the first attachment should behave differently from the others.

Are you 100% certain you do get different behaviour for the first attachment?
I'm afraid I don't have time to play around with shared drawers and test this
out.  So maybe you could try your tests again, and in the light (or should that
be murky depths? :-) of what I've explained above, see if you still think there
is a problem.

Scott
4172.2KERNEL::OTHENJTue May 17 1994 16:3017
    Hi,
    
    Thanks for the reply.
    
    I definitely see a problem here though, as described below;
    
    If the documents are in a personal drawer, then the user who receives
    the mail sees the attachments with the correct titles.
    
    If the documents are in a shared drawer, then the user who receives
    the mail sees the attachments with the different title for the second
    document.
    
    	Thanks,
    
    		Julie
    
4172.3QuestionsIOSG::MARSHALLA glitch in realityTue May 17 1994 17:4482
I'll look at this when I have time; until then:

>> the correct titles

Please clarify which title field you regard as "correct" here, or do you simply
mean "the same titles as the sender sees"?

>> different title for the second document

Does this look the same as the sender's OUTBOX copy?  That is, does the sender
of the message see a different title once they've attached it to the cover note?
I'm trying to establish whether the change occurs when the document is attached,
or when it is sent.

>> shared drawer

Is this a local or a remote shared drawer?

>> personal drawer

Do you mean the MAIN drawer?  If there's a difference between the MAIN and other
drawers, it suggests the FCS (I assume the FCS is involved in this case!) is
mapping the fields differently to the way I described it for IOS in .1 :-(

Finally, to save me some time, as you've already done the tests, perhaps you
can fill in the following chart so that I know exactly what you're seeing on
your system.  My previous reply explains how to see all these fields.  I refer
to the first attachment as "document 1" and the second as "document 2".  I
assume the recipient is local?

Document 1 in shared drawer before XF:
    TITLE:
    DTITLE:
    SUBJECT:

Document 2 in shared drawer before XF:
    TITLE:
    DTITLE:
    SUBJECT:

Document 1 in shared drawer after XF (should be same as before):
    TITLE:
    DTITLE:
    SUBJECT:

Document 2 in shared drawer after XF (should be same as before):
    TITLE:
    DTITLE:
    SUBJECT:

Document 1 once forwarded (ie the 1st attachment of the message in the OUTBOX):
    DTITLE:
    SUBJECT:

Document 2 once forwarded (ie the 2nd attachment of the message in the OUTBOX):
    DTITLE:
    SUBJECT:

Cover note of above attachments (ie the message in the OUTBOX):
    TITLE:
    DTITLE:
    SUBJECT:

Cover note as received by recipient (ie the message in the INBOX):
    TITLE:
    DTITLE:
    SUBJECT:

Document 1 as received by recipient (ie 1st attachment of message in INBOX):
    DTITLE:
    SUBJECT:

Document 2 as received by recipient (ie 2nd attachment of message in INBOX):
    DTITLE:
    SUBJECT:

This information will help me (or whoever) identify where, and hence hopefully
why, the code is doing different things for the first and second attachments.
Perhaps you could also fill in the above chart substituing "MAIN drawer" for
"shared drawer"?

Scott
4172.4KERNEL::OTHENJFri Jun 03 1994 13:3468
    Hi,
    
    Sorry for the delay in getting back to you on this,
    
    In answer to your questions;
    
    >> the correct titles
    
    If the documents are in a personal drawer, you see
    
     > 1     DOCUMENT  17-May-1994 11:12   IJB - TMP3
       2     DOCUMENT  17-May-1994 11:12   IJB - TMP2
       3     DOCUMENT  17-May-1994 11:11   IJB - TMP1
    
    whereas if the documents are in a shared drawer, you see
    
    > 1     DOCUMENT  17-May-1994 11:12   IJB - TMP3
      2     DOCUMENT  17-May-1994 11:12   CHANGED TITLE
      3     DOCUMENT  17-May-1994 11:11   IJB - TMP1
    
    >> different titles for the second document
    
    Yes, it does look the same for the sender and the recipient when
    sending from a shared drawer i.e. both look like
    
     1     DOCUMENT  17-May-1994 11:12   IJB - TMP3
     2     DOCUMENT  17-May-1994 11:12   CHANGED TITLE
     3     DOCUMENT  17-May-1994 11:11   IJB - TMP1
    
    from the OUTBOX.
    
    When the file is in the CREATED folder, it looks the same as well (as
    for the OUTBOX).
    
    >>shared drawer
    
    This is a local shared drawer
    
    >>personal drawer
    
    Yes, I mean the MAIN drawer
    
    Document 1 in shared drawer before XF:
    TITLE: IJB - TMP1
    DTITLE: 
    SUBJECT:
    
    Document 2 in shared drawer before XF:
    TITLE: IJB - TMP2
    DTITLE: CHANGED TITLE
    SUBJECT:
    
    Document 1 in shared drawer after XF:
    
    How do you check this (sorry if I am being thick today) as they are now
    attachments.
    
    	Thanks,
    
    		Julie
    
    
    
    
    
    
    
    Document 1 in shared drawer before XF:
4172.5An answer and a guessIOSG::MARSHALLA glitch in realityFri Jun 10 1994 14:0714
Hmmm,

I think my previous replies explain why the recipient sees the changed title,
that's all to do with the way DTITLE gets copied into the recipient's TITLE,
and will hence be different to the sender's TITLE.

As to why shared drawers behave differently to private drawers, it appears that
the File Cabinet Server (which is used for shared drawer operations) is
using DTITLE on operations for which ALL-IN-1 would use TITLE.

Why the FCS does it differently I don't know, an FCS person would have to
comment.

Scott