IBM Support

JR44693: CMVC 224331 - FIX DUPLICATE KEY ERRORS ECNOUNTERED DURING PUBLISHING A WORKSPACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When approving a task group within a workspace on an authoring
    server, foreign key errors may be encountered when workspace
    best practices are not followed.   One such case is a user
    deleting objects from different workspaces or the approved
    content while content in another workspace has changes
    referencing this object.
    
    For example:
    -Attribute Dictionary Attributes - do not delete an attribute or
    attribute value when a product, sku, bundle or kit is modified
    in a workspace and is referencing the attribute or attribute
    value.
    -Catalogs  - do not delete a sales catalog when categories or
    products, skus, bundles or kits are assigned to the catalog in
    another workspace.
    
    When resource objects in a task group of a workspace have been
    modified to reference an object and that object is removed from
    the approved content, the subsequent approval of the task group
    will result in a foreign key violation as the foreign key column
    no longer has a corresponding parent record.  This error will
    prevent the task group from being approved unless these child
    records are removed.
    

Local fix

  • Follow the workspace best practice and limitations in workspaces
    

Problem summary

  • USERS AFFECTED:
    Websphere Commerce Users on v7.0
    
    PROBLEM ABSTRACT:
    When approving a task group within a workspace on an authoring
    server, a foreign key violation error may be encountered causing
    the task group to enter into Approve Failed state.
    
    BUSINESS IMPACT:
    Unable to publish workspace content
    
    RECOMMENDATION:
    

Problem conclusion

  • The workspace publish mechanism is further enhanced to avoid
    error of related to data collusion's so that the publish process
    will commit  regardless of these errors by omitting the
    duplicate entry or entry with foreign key violation from being
    published.
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44693

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function

  • Submitted date

    2012-11-09

  • Closed date

    2013-01-08

  • Last modified date

    2013-01-08

  • 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

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
07 December 2021