IBM Support

PI57319: MJC: ADAPTOR EMAILS "FROM" ADDRESS ARE NOT BUILD FORGE "SYSTEM ALERT SOURCE" EMAIL ADDRESS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When executing an adaptor using the MJC, the  <notify> email is
    sent from the user that is currently logged into BF. In the perl
    engine and in the past versions, email notifications were sent
    from the setting in the "System Alert Source" located in
    Environment -> System, under the BF Console.
    
    Issue also occurs in 8.0.0.3.
    
    Steps to replicate:
    
    
    0. Set "System Alert Source" setting in Administration -> System
    -> System Alert Source  (e.g. root@localhost.com)
    
    1. Login as a different user than the System Alert Source
    email/user
    
    2. Create a new Project with a step to echo "hello world"
    
    3. Create an adpator as follows:
    
    
    ------------------- start code -------------------
    
    <?xml version="1.0"?>
    <!-- (c) Copyright by IBM Corp. and other(s) [2012], 2013 All
    Rights Reserved. -->
    <!DOCTYPE PROJECT_INTERFACE SYSTEM "interface.dtd">
    <PROJECT_INTERFACE IFTYPE="Source" INSTANCE="7.02">
    <!-- Adapter for running JBE to accept/fetch from Jazz Source
    Control using RTC 3.0 and beyond. -->
    <template>
        <env name="Current_Date" value=".date %d-%m-%y.%H:%M:%S" />
        <env name="Last_Run" value="01-01-05.00:00:00" />
        <env name="BFServer" value="$BF_SERVER"/>
        <env name="Build_Engine_Path" value="default"/>
        <env name="Repository_Address"
    value="https://localhost:9443/jazz" />
        <env name="Build_User" value="build" />
        <env name="Build_Password" value="build" />
        <env name="buildResultUuid" value="" />
        <env name="engineUUID" value="default"/>
        <env name="Fetch_Dir"
    value="${BF_PROJECTNAME_PHYS}/${BF_TAG}"/>
    
    </template>
    <interface name="AntTask">
    
        <run command="command1" params="" server="$BFServer" dir="/"
    timeout="360"/>
    
            <onproject result="pass">
                <notify group="MyChangers" subject="Build $BF_TAG
    ($CurDate) Passed." message="${Changing}${Changes}"/>
            </onproject>
    
    </interface>
    
    
    <command name="command1">
        <execute>
            echo "Hello world..."
        </execute>
        <resultsblock>
            <match pattern=".+">
                <adduser group="MyChangers" user="Build Engineer"/>
            </match>
        </resultsblock>
    </command>
    </PROJECT_INTERFACE>
    
    ------------------ end code -------------------
    
    4. Create an adaptor link that uses the above adaptor in a
    project
    
    5. Run the project
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * When executing an adaptor using the MJC, the  <notify> email *
    * is                                                           *
    * sent from the user that is currently logged into BF. In the  *
    * perl                                                         *
    * engine and in the past versions, email notifications were    *
    * sent                                                         *
    * from the setting in the "System Alert Source" located in     *
    * Environment -> System, under the BF Console.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When executing an adaptor using the MJC, the  <notify> email *
    * is                                                           *
    * sent from the user that is currently logged into BF. In the  *
    * perl                                                         *
    * engine and in the past versions, email notifications were    *
    * sent                                                         *
    * from the setting in the "System Alert Source" located in     *
    * Environment -> System, under the BF Console.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • fixed in BuildForge 8.0.0.4 release
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI57319

  • Reported component name

    RATIONAL BUILDF

  • Reported component ID

    5724S2700

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-16

  • Closed date

    2016-07-29

  • Last modified date

    2016-07-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATIONAL BUILDF

  • Fixed component ID

    5724S2700

Applicable component levels

  • R800 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022