api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Application Deployment Failure to Gateway for Applications with Empty Value Attributes when the server restarts

Open ShakyaPr opened this issue 9 months ago • 0 comments

Description

There is an issue with application deployment to the gateway after restart for applications that were created using empty value attributes.

Image

Expected Behaviour

After creating applications with empty value attributes, and restarting the gateway, the created applications should still be available in the gateway.

Actual Behaviour

Cannot see applications after restart.

Steps to Reproduce

  1. Add the following properties to the deployment.toml file
[apim.devportal]
enable_empty_values_in_application_attributes = true

[[apim.devportal.application_attributes]]
required=false
hidden=false
name="Optional attribute"
description="Description of Optional attribute"

[[apim.devportal.application_attributes]]
required=true
hidden=false
default="Default value of Required attribute 1"
name="Required attribute 1"
description="Description of Required attribute 1"

[[apim.devportal.application_attributes]]
required=true
hidden=false
default="Default value of Required attribute 2"
name="Required attribute 2"
description="Description of Required attribute 2"
  1. Start the server with Oracle 19c as DB
  2. Create two applications and stop the server.
  3. Start the server again.
  4. Retrieve all the applications deployed in the Gateway using REST API call.

Version

4.4.0

Environment Details (with versions)

  • WSO2 API Manager Version: 4.4.0
  • Database: Oracle 19c

ShakyaPr avatar Apr 02 '25 07:04 ShakyaPr