PM80212: Hyperlinks for URLs added with relative path to UML element are not created in the web publish output

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In IBM Rational Software Architect v8.0.4 and v8.5.1, if you web
    publish a model that has an whose URL has a relative path, the
    hyperlinks for this URL will appear as text in the web published
    model instead of as links.
    
    The following steps reproduce the problem:
    
    1. Create a UML Project 'MyProject'
    2. Create a folder 'Docs' on the file system at the same level a
    'MyProject' and add a document 'test.txt'
    3. Create a UML Model 'TestModel' under 'MyProject'
    4. Add a Package 'Pack1' under the root of the model 'TestModel'
    5. Fragment 'Pack1' with file name 'Pack1.efx'
    6. Add a UseCase 'UC' under 'Pack1'
    7. Add a URL pointing to the 'Test.txt' file created in step 2.
    (URL is: '...\Docs\Test.txt')
    choosing to use Relative path representation for all file
    references
    8. Web publish the model making sure you select the option
    'Create link'
    Result:
    The hyperlink for the URL (test.txt) in the web published model
    is correctly created
    9. Create a folder 'MyFolder' under 'MyProject'
    10. Right-click the fragment 'Pack1' and select Refactor ? Move
    file... in order to move the fragment file 'Pack1.efx' into the
    folder 'MyFolder'
    11. Click on the URL in its Properties view in order to verify
    that you can still open the document
    Result: A message saying that the URL is invalid appears
    prompting to repair or ignore.
    12. Click on 'Repair' and then choose 'Yes' to update the URL to
    the file (URL is: '..\..\Docs\Test.txt')
    13. Web publish the model making sure you select the option
    'Create link'
    
    Expected Result:
    The URL (test.txt) in the web published model is displayed as a
    hyperlink that you can click in order to open the text file.
    
    Actual Result:
    The URL in the web published model is displayed as text and you
    cannot click on it.
    
    Workaround:
    1. Perform a Refactor ? Move file... on the fragment in order to
    move it back to the project's folder
    2. Repeat Steps 11-13 from above
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Functions asssume that resource of a element can now always
    be found through parent package.
    

Problem conclusion

  • For a element in fragment, resource of element and resource
    of parent package are different. That is now taken into
    account.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80212

  • Reported component name

    RATL SW ARCHITE

  • Reported component ID

    5725A3000

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-09

  • Closed date

    2013-06-16

  • Last modified date

    2013-06-16

  • 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

  • R804 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Software Architect

Software version:

8.0.4

Reference #:

PM80212

Modified date:

2013-06-16

Translate my page

Machine Translation

Content navigation