IBM Support

RS02809: ERROR WHEN MERGING BRANCHES "THE PARENT OF A FOLDER CANNOT BE SET TO ITSELF OR ONE OF ITS SUBFOLDERS."

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When merging branches from the Enterprise Console we get error
    message "The parent of a folder cannot be set to itself or one
    of its subfolders."
    And below exception in the Decision Center logs:
    The parent of a folder cannot be set to itself or one of its
    subfolders ilog.rules.model.dataaccess.DataAccessException: The
    parent of a folder cannot be set to itself or one of its
    subfolders
     at ilog.rules.teamserver.model.dataaccess.
    RTSBranchDataProvider.commitBranchMerge(RTSBranchDataProvider.
    java:210)
     at ilog.rules.teamserver.web.gwt.branchMerge.services.
    BranchMergeServiceImpl.merge(BranchMergeServiceImpl.java:626)
     ...
    Caused by: ilog.rules.teamserver.model.
    IlrInvalidElementException: The parent of a folder cannot be
    set to itself or one of its subfolders
     at ilog.rules.teamserver.ejb.service.dao.IlrElementDAOJDBC.
    computeLeftAndRight(IlrElementDAOJDBC.java:5314)
     at ilog.rules.teamserver.ejb.service.dao.IlrElementDAOJDBC.
    insertAggregatedElement(IlrElementDAOJDBC.java:5144)
     ...
    

Local fix

  • Error message "The parent of a folder cannot be set to itself
    or to one of its subfolders" means that some package indexes
    are not up-to-date.
    It is possible to rebuild those indexes, executing :
    -----------
    <JAVA_HOME>/java -cp <ODM_HOME>/teamserver/lib/*:<ODM_
    HOME>/teamserver/lib/eclipse_plugins/*"  ilog.rules.teamserver.
    client.internal.RebuildBslnPkgTree
      -username <USER>
      -password <PASSWORD>
      -url http://<HOST>:<PORT>/teamserver
      -project <PROJECT>
      -baseline %current_key
    -----------
    

Problem summary

  • Added diagnostics to check indexes for baselines and folders
    

Problem conclusion

  • The Code was fixed
    

Temporary fix

  • Error message "The parent of a folder cannot be set to itself
    or to one of its subfolders" means that some package indexes
    are not up-to-date.
    It is possible to rebuild those indexes, executing :
    -----------
    <JAVA_HOME>/java -cp <ODM_HOME>/teamserver/lib/*:<ODM_
    HOME>/teamserver/lib/eclipse_plugins/*"  ilog.rules.teamserver.
    client.internal.RebuildBslnPkgTree
      -username <USER>
      -password <PASSWORD>
      -url http://<HOST>:<PORT>/teamserver
      -project <PROJECT>
      -baseline %current_key
    

Comments

APAR Information

  • APAR number

    RS02809

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    871

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-28

  • Closed date

    2017-08-28

  • Last modified date

    2017-08-28

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R871 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2021