IBM Support

PH42438: SAVING APPLICATION TEMPLATE AFTER UPGRADE TO 7.2.1.0 SHOWS CONSTRAINT VIOLATION EXCEPTION MESSAGE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • After upgrading to 7.2.1.0, saving changes to an Application
    Template created in a prior version will show an error dialog
    unless the Basic Settings page has been saved after upgrade.
    
    Stack Trace:
    ERROR https-jsse-nio-0.0.0.0-8443-exec-X
    com.urbancode.ds.web.rest.mappers.RuntimeExceptionMapper -
    org.hibernate.exception. ViolationException: could not execute
    statement
    javax.persistence.PersistenceException: org.hibernate.exception.
    ViolationException: could not execute statement
     at
    org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionC
    onverterImpl.java:154)
     at
    org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionC
    onverterImpl.java:181)
     at
    org.hibernate.query.internal.AbstractProducedQuery.executeUpdate
    (AbstractProducedQuery.java:1681)
     at
    com.urbancode.ds.subsys.deploy.config.application_template.Appli
    cationTemplateFactory.updateAllApplicationsUsingLatestTemplate(A
    pplicationTemplateFactory.java:232)
    

Local fix

  • Save the Basic Settings form for the Application Template
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Deploy Server Web UI Users                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * After upgrading to 7.2.1.0, saving changes to an Application *
    * Template created in a prior version with at least one        *
    * derived application will show an error dialog unless the     *
    * Basic Settings page has been saved post-upgrade.             *
    *                                                              *
    * The cause is the useWizard field is null which is an illegal *
    * value for                                                    *
    * ApplicationTemplateFactory:updateAllApplicationsUsingLatestT *
    * emplate to apply to related applications.                    *
    * Saving the Basic Settings page is a workaround due to the    *
    * form having a default behavior of applying a false value to  *
    * the useWizard field.                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Fix is provided in IBM UrbanCode Deploy 7.2.2.1              *
    ****************************************************************
    

Problem conclusion

  • Fix is provided in IBM UrbanCode Deploy 7.2.2.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42438

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-30

  • Closed date

    2022-12-05

  • Last modified date

    2022-12-05

  • 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

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
05 December 2022