[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

1971.0. "Nickname ME and MAIL TO function causes access violation" by GIDDAY::SETHI (Man from Downunder) Wed Dec 16 1992 04:05

    G'day All,
    
    I came across a weird problem when a housekeeping job runs if it sends an
    EM say after it had emptied the wastebasket to the user it would do an 
    access violation.  By the way the Housekeeping procedure had been 
    customised and it has happened on Version 2.4 system, I have not had time 
    it on a 3.0 system.
    
    If the user had created a nickname "ME" and the customization
    contained "ME" to send the EM to the user it did an access violation.
    
    For example within Digital in Australia when the EW housekeeping job is
    run a message is sent to the user the following line would cause the
    access violation is MAIL TO "ME".
    
    The script contains the following lines for creating/sending the EM
    
            ! Tell user how many we found
            !
            OA$MSG_PURGE
    !-DV    GET OA$DISPLAY=#REFILE_NUMBER ' documents placed in
    wastebasket'
            MAIL PUSH_CURMES
            MAIL CREATE/OPEN/NOSEND
            MAIL TO "ME"
            MAIL SUBJECT "Old unfiled mail purged"
            MAIL TEXT " "
            MAIL TEXT "Your WASTEBASKET has been emptied by the janitor."
            MAIL TEXT " "
            .IF #REFILE_NUMBER EQ 0 THEN .GOTO FINI
            MAIL TEXT #REFILE_NUMBER ' unfiled messages have been placed
    into your 
            MAIL TEXT " "
            MAIL TEXT "Unfiled mail messages prior to " #CHECKED_DATE "
    have been placed in
            MAIL TEXT "your WASTEBASKET."
            MAIL TEXT " "
            MAIL TEXT "Use the FC menu to refile any documents that you
    wish to save
            MAIL TEXT "by refiling them into another folder.
            MAIL TEXT " "
    .LABEL FINI
            MAIL TEXT "Have a GREAT day,"
            MAIL TEXT " "
            MAIL TEXT "Your ALL-IN-1 janitor."
            MAIL CLOSE_MESSAGE
            MAIL SEND
            CAB REFILE_DOCUMENT ,OA$WASTEBASKET
            MAIL POP_CURMES
    
    Is this is know problem if not do you want me to raise an SPR ?  The
    MAIL TO "ME" was changed to MAIL TO "I" internally, I am wondering if a
    user had "I" in Nicknames if it would cause the problem.  IPS do not
    want to do any more testing :-(, so will someone play with me :-).
    
    Thanks in advance
    
    Sunil
T.RTitleUserPersonal
Name
DateLines
1971.1I've seen weirder but SPR itIOSG::WICKSALeft alone in IOSG's rabbit warrenFri Dec 18 1992 13:1521
    Sunil,
    
    Normally i'd test this for you but I am systemless at the moment
    and only squatting here on my way to the *REAL* South Wales.
    
    A vague memory (surprise surprise) tells me that this sort of oversight
    in the design of the MAIL TO function could happen and was at one time
    a known bug - I think It happened for any case where a nickname
    coincided with a special address (I, ME, PAPER MAIL, HARD-COPY and the 
    other one) - the answer used to be not to have such silly nicknames
    (:==:) until we ran across a customer who had a departmental
    account called ME (medical emergency) and had some mail functions
    in a batch procedure that sent things to that account and they weren't
    too happy about the ACCVIO!.
    
    if this bug is still in v3.0 then it'll be SPR time sorry.
    
    Nadolig LLawen (merry Christmas)
    
    Andrew.D.Wicks