IBM Support

PI52141: RUNNING BIRT REPORT DESIGN ON CLOSED DIAGRAM RESULTS IN DIAGRAM ELEMENTS' "FILL COLOR" BECOMING COMPLETELY TRANSPARENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect (RSA), if you run a BIRT
    report template on a closed diagram, the diagram elements' "Fill
    Color" will become transparent.
    
    The following steps reproduce the problem:
    
    1. Create a UML project & model
    
    2. Add a diagram to the model and add a component to the diagram
    whose Properties > Appearance > Fill Color and Transparency are
    "White" and "0%", respectively.  Note that this diagram element
    will appear light blue on the diagram.
    
    3. Create a BIRT report design that will generate a report for
    the diagram in the model
    
    4. Open the diagram
    
    5. Run (or preview) the BIRT report design with the diagram open
    
    RESULT: The component appears with the same light blue color as
    on the diagram, as expected.
    
    6. Close the diagram
    
    7. Run (or preview) the BIRT report design with the diagram now
    closed
    
    Expected Result: The component in the report appears as it does
    after Step 5
    
    Actual Result: The component now appears white, which is
    different from the open diagram and not the expected result
    
    8. Reopen the diagram and note that the diagram element's color
    has not changed
    
    9. Go to Window > Preferences > Modeling > Appearance and note
    that that "Gradient in text compartment" is set to "Default
    gradient"
    
    10. Set the "Gradient in text compartment" to "No gradient",
    click Apply & OK, and note that the component on the diagram now
    appears white, rather than light blue as in Step 2
    
    11. Run (or preview) the BIRT report design with the diagram
    open
    
    RESULT: The component in the report now appears as it does after
    Step 7, when the diagram was closed and the "Default gradient"
    was used.
    
    When the diagram is closed and the "Default gradient" is
    applied, it is as if BIRT "removes" the gradient from the
    diagram element.
    
    12. Go to the Window > Preferences > Modeling > Appearance and
    set the "Gradient in text compartment" back to the "Default
    gradient", where it was initially
    
    13. Return to the diagram and change the component's Fill Color
    from "White" ("255,255,255" in the Properties > Advanced > Fill
    Color) to, for example, "Blue" ("170,206,242" in the Properties
    > Advanced > Fill Color) and save the changes
    
    14. Close the diagram, so that the conditions are now the same
    as in Step 7, except that component's Fill Color is now
    different
    
    15. Run (or preview) the BIRT report
    
    RESULT: Unlike the result after Step 7, closing the diagram here
    results in a component color that is the same as on the diagram,
    which is the expected result.
    

Local fix

  • -->Keep the diagram open when running the BIRT report design
    OR
    -->Set the diagram element's "Fill Color" to another color
    besides "White", while keeping the "Default gradient"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Gradient value for rendering Classifier edit parts (e.g.     *
    * Class, Component, etc) was picked up from the Preferences    *
    * (either default or custom setting by users) and in Birt      *
    * reporting of diagrams case, the preference was not picked up *
    * correctly and hence gradient was always ignored until it is  *
    * specifically set.                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Gradient value for rendering Classifier edit parts (e.g. Class,
    Component, etc) was picked up from the Preferences (either
    default or custom setting by users) and in Birt reporting of
    diagrams case, the preference was not picked up correctly and
    hence gradient was always ignored until it is specifically set.
    This is fixed now withe correct preferences are read in the case
    of Birt reporting of diagrams.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI52141

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-11-09

  • Closed date

    2016-03-23

  • Last modified date

    2016-03-23

  • 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

    RATL SW ARCHITE

  • Fixed component ID

    5725A3000

Applicable component levels

  • R910 PSY

       UP

  • R911 PSY

       UP

  • R912 PSY

       UP

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021