IBM Support

PI78603: CRYPTIC ERROR: STR.INDEXOF IS NOT A FUNCTION WHEN TRYING TO LINKFROM CQ TO A PROJECT AREA WITHOUT THE NECESSARY ACCESS RIGHTS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to reproduce
    1. In RTC, create a project area to which only specific users
    have access
    2. Using and RTC admin user, create a project relationship from
    a CQ user database to the project area created in step 1.
    3. Try to link a CQ record to a WI in the project area. This
    time, when asked for RTC credentials, log in with an RTC user
    that does not have read access to the project area.
    4. Instead of expected dialog box or any meaningful error
    message, the error:"TypeError: str.indexOf is not a function"
    pops up.
    
    The expected behavior would be to get a meaningful error
    message, such as the one appearing when trying to log in in RTC
    to the project area with the same user:
    
    "Error!
    The project XXXX does not exist or is not accessible with
    your credentials.
    If you have JazzAdmins privileges you can investigate the
    problem in the Jazz Admin Web UI."
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CQ Web                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When creating an OSLC link from CQ to a RTC record in a      *
    * project area where the user does not have read access, a     *
    * cryptic error is displayed: "STR.INDEXOF IS NOT A FUNCTION   *
    * WHEN TRYING TO LINK FROM CQ TO A PROJECT AREA WITHOUT THE    *
    * NECESSARY ACCESS RIGHTS."                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix is available in ClearQuest 9.0.1.4.
    When creating an OSLC link from CQ to a RTC record in a project
    area where the user does not have read access, the error message
    displayed is now relevant:  "Failed authenticate to OSLC
    provider, or authenticated but lacked necessary permissions to
    access the artifact."
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI78603

  • Reported component name

    CLEARQUEST WIN

  • Reported component ID

    5724G3600

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-22

  • Closed date

    2018-08-14

  • Last modified date

    2018-08-14

  • 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

    CLEARQUEST WIN

  • Fixed component ID

    5724G3600

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSSH5A","label":"Rational ClearQuest"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"801","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 October 2021