[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

2582.0. "Restore attachment loses print settings" by KERNEL::LOAT (Keep passing the open windows...) Fri Apr 16 1993 13:31

    
    VMS 5.5 ALL-IN-1 3.0-1
    
    Cus has noticed that if he has got a mail message with an attachment,
    and he archives it, and restores it, the print settings for the
    attachment have been lost. This is for documents which he's created
    under 3.0, not just old documents.
    
    Is this a known problem? Any solution?
    
    Steve.
    
T.RTitleUserPersonal
Name
DateLines
2582.1Known problemIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Mon Apr 19 1993 23:0721
It's a known problem, but I don't think it was introduced in V3.0-1.

The problem occurs because the file cabinet information for the format 
field (.DFORMAT) is corrupted.  Probably the field was originally blank, 
with the Data type set to WPSPLUS.  When the document is restored the 
.DFORMAT field is set to a random value. 

When the document is printed a blank .DFORMAT field will cause the
formatting to be derived from the Data type, which will be WPS-PLUS.
However, the .DFORMAT field is not blank so the print sub-system goes to
get information from the FORMAT master.  Because the record doesn't exist
all fields will be returned as blank and the print sub-system will fall
back to doing ASCII formatting. 

The .WPL file for the attachment should be intact, and still contain all
the WPS-PLUS Print Settings, so the user should be able to detach it and
reset the handling field. 


Richard

2582.2KERNEL::LOATKeep passing the open windows...Tue Apr 20 1993 14:1433
    
    Hi Richard
    
    I've looked at the attributes of the attachment in both archived
    messages and non-archived messages, and the DFORMAT field seems to
    disappear!
    
    For the non-archived document, if I use 
    
    <for cab$attach do for cab$attach_attributes do get .key " : " .value
    
    This gives me a list of the fields and their values like:
    
    DCREATED : 31-Jul-1992 01:56pm
    DFORMAT : 
    DMODIFIED : 20-Apr-1993 09:55am
    
    but if I do exactly the same thing on a message which has got an
    attachment and has been archived and restored, I get this:
    
    DCREATED : 31-Jul-1992 01:56pm
    DMODIFIED : 20-Apr-1993 09:55am
    
    The DFORMAT field isn't there anymore, so I can't check the value which
    is stored there.
    
    Any ideas? The customer noticed this when they were transferring users,
    as this archives the users document, all of the transferred users are
    seeing this problem, and detaching each attachment is something which
    the customer is not willing to do at this time.
    
    Steve.
    
2582.3See Note 1185.3IOSG::MAURICENight rolls in, my dark companionTue Apr 20 1993 15:051
2582.4In 2.4?KERNEL::LOATKeep passing the open windows...Thu Apr 22 1993 21:0022
    
    Well, I've read the suggestion made in 1185.3 and teseted the
    workaround suggested (see below) and thats fine for ALL-IN-1 3.0
    systems.
     
    What the customer didn't tell me is that they've also got the problem
    on their 2.4 system. The 3.0 system is their test system in preparation
    for the big upgrade which will not be taking place in the near future.
    In the mean time, they have got a few hundred users who were
    transferred (which is where they origionally saw the problem) who have
    got 'broken' attachments.
    
    Can anyone out there think of a way of implementing the check
    
    .if fn$length(#PRINT_FORMAT) eq 1 then get #PRINT_FORMAT = ""
    
    (or something similar) in ALL-IN-1 2.4?
    
    Thanx
    
    Steve.
    
2582.5Try this for V2.4IOSG::MAURICENight rolls in, my dark companionThu Apr 22 1993 21:179
    Hi,
    
    Not so elegant but how about:
    
    .if #PRINT_FORMAT::1 eqs "" then get #PRINT_FORMAT = ""
    
    HTH
    
    Stuart