IBM Support

PK21466: FINDBUG FINDS ONLY THE FIRST VALUE OF A MULTIPLE CHOICE LIST FIE LD CREATED WITH A SOMEOF DERIVATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible.

Error description

  • When running the findbug command on a field that has a
    derivation with a someof, findbug reads only the first value.
    For instance, BUGno00001 has the field myField with three values
    selected (myValue1, myValue2 and myValue3), when running the
    command findbug -f "myField has myValue2", BUGno00001 will not
    be returned.
    Step to reproduce:
    1)Edit the master.tmpl of the default software class
    2)Look for the When-found field and change its derivation from
    oneof to someof (Change the line from "oneof -f phases" to
    "someof -f phases")
    3)Save the master.tmpl file
    4)Start the web interface of ClearDDTS and submit a new bug in
    the software class
    5)For the Detected in phase field, multi-select the values
    investigation, specification and design
    6)Go to the command line and run the command:
    findbug -f "When-found has investigation"
    The bug created in 4) will be returned
    7)Run the command
    findbug -f "When-found has specification" or findbug -f
    "When-found has design"
    The bug created in 4) will not be returned
    

Local fix

Problem summary

  • Not reproducible on 4.8
    

Problem conclusion

Temporary fix

Comments

  • This is a customization issue. Here are the steps to
    provide to the customer to resolve this issue.
    1.  Modify the schema_file located in the
    ~ddtshome/dbms/ddts directory to the desired max string
    length for the multiple choice list field. In this case, the
    when_found field length is set to 15 by default. The user
    should increase it to length that covers a concatenated
    string of all the list values.
    2. Rebuild the database: ./adminbug dbms
    

APAR Information

  • APAR number

    PK21466

  • Reported component name

    CLEARDDTS UNIX

  • Reported component ID

    5724G3501

  • Reported release

    47S

  • Status

    CLOSED UR5

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-03-14

  • Closed date

    2007-07-20

  • Last modified date

    2007-07-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R47S PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH4K","label":"Rational ClearDDTS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.7.S","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 July 2007