IBM Support

PI30923: Nothing happens when you attempt to copy and paste a cell from Microsoft excel table into the documentation field

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 attempt to copy
    and paste cells from a Microsoft excel document into the
    documentation field of an UML element, nothing happens.
    Inspecting the workspace .log, you see the error:
    --
    java.lang.IllegalArgumentException: TableCells can only be added
    to FlowTables
     at
    com.ibm.xtools.richtext.gef.internal.figures.TableCell.checkVali
    dParent(TableCell.java:23)
     at
    com.ibm.xtools.richtext.gef.internal.figures.FlowFigure.setParen
    t(FlowFigure.java:207)
     at org.eclipse.draw2d.Figure.add(Figure.java:155)
    ---
    
    Description of problem/Step to reproduce with Rational Software
    Architect v9.1 and 9.1.1
    
    1. Create a new UML model
    2. Add a new Component to the model
    3. Open an excel sheet where you have entered data.
    4. Select and copy a cell containing some text (you can use
    CTRL+C)
    5. Go to the component documentation tab
    6. Paste the content of the cell you copied in step 4 (you can
    use CTRL+V)
    
    Expected Result:
    The cell information is copied to the documentation of the
    component
    Actual Result:
    Nothing happens and you get the error
    'Java.lang.IllegalArgumentException: TableCells can only be
    added to FlowTables' thrown in the log.
    
    Local Fix:
    WORKAROUND:
    1- Choose to 'Paste as text' using the right click option of the
    documentation rich text documentation field.
    2. Copy the text of the cell from the Formula bar in excel
    before pasting it in the RSA rich text documentation field.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Rational Software Architect, Rational Software      *
    * Architect for Websphere Software, Rational Software          *
    * Architect Realtime Edition who are migrating from 7.5.x      *
    * version to any of 8.x.x (upto 9.1.x) will get affected.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Copy and Paste from Microsoft excel table into the           *
    * documentation sections of UML elements was throwing error    *
    * and nothing was pasted.                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI30923

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-04

  • Closed date

    2015-09-18

  • Last modified date

    2015-09-18

  • 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 ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R804 PSY

       UP

  • R850 PSY

       UP

  • R851 PSY

       UP

  • R900 PSY

       UP

  • R910 PSY

       UP

  • R911 PSY

       UP

  • R912 PSY

       UP

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

Document Information

Modified date:
16 October 2021