IBM Support

PM12239: UML Profile tooling plug-in generation does not honor profile fi le name case for pathmap leading to IRJA0291E error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Microsoft Windows XP SP1/2
     - Linux Red Hat Enterprise 5
     - IBM Rational Software Modeler or IBM Rational Software Archit
    ect 7.5.5.1
    
    Reproducible Y/N: Y
    
    Description of problem:
    The pathmap entry generated by the UML Profile tooling does not
    honor
    the case of profile file.
    After deploying the plug-in, the user will get the error  IRJA02
    91E No profile has been selected during the profile
    application.
    
    Steps to reproduce:
    1. Create a new UML Profile Tooling Plug-in Project
    2. Choose to use the template : UML profile tooling plug-in Proj
    ect
    3. Choose to create a new Profile and use
    'aProfile' for the Profile name
    'aProfile' for the File Name
    4. Click finish
    Result
    The extension point com.ibm.xtools.uml.msl.UMLProfiles will be g
    enerated
    with the following UML Profile details:
          ?UMLProfile
                name='aProfile'
                path='pathmap://APROFILE/AProfile.epx'
                visible='true'
                required='false'
                id='TEST.aProfile'?
          ?/UMLProfile?
    =? The file is referenced as 'AProfile.epx' although the file na
    me is actually
    physically 'aProfile.epx'
    5. Install and deploy the plug-in
    6. Create a new UML project and model to apply the profile
    Result
    You get the error:
    IRJA0291E No profile has been selected
    
    Workaround:
    1. Use a first Uppercase for you profile name
    2. Change manually the plugin.xml to correctly reference the pro
    file file name with the right case.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Using the UML Profile Tooling Plug-in to create a plugin
    with a profile, but with no tooling model or tooling code.
    The plugin.xml that is generated differently, i.e., using a
    different class, than if the model and code were generated.
    Note that if the model and code were generated, the pathmap
    would have been generated with the correct case.
    
    The problem here is that the profile name coming in is being
    read as a 'regular' name, not a 'package' name, and is
    therefore getting capitalized.
    

Problem conclusion

  • Information is now passed to the Generator to indicate a
    'package' name is being used, not a 'regular' name.  This
    means that the profile name will *not* be capitalized.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM12239

  • Reported component name

    SW MODELER LIN

  • Reported component ID

    5724I6902

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-14

  • Closed date

    2010-08-20

  • Last modified date

    2010-08-20

  • 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

    SW MODELER LIN

  • Fixed component ID

    5724I6902

Applicable component levels

  • R755 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSCLKU","label":"Rational Software Modeler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
20 August 2010