Bug ID 811069: Overriding deeply nested fields in AS3 Templates can cause them to appear at deployment time.

Last Modified: Jul 12, 2023

Affected Product(s):
BIG-IQ Applications(all modules)

Known Affected Versions:
7.0.0, 7.0.0.1, 7.0.0.2, 7.1.0, 7.1.0.1, 7.1.0.2, 7.1.0.3, 7.1.6, 7.1.6.1, 7.1.7, 7.1.7.1, 7.1.7.2, 7.1.8, 7.1.8.1, 7.1.8.2, 7.1.8.3, 7.1.8.4, 7.1.8.5, 7.1.9, 7.1.9.7, 7.1.9.8, 7.1.9.9

Opened: Jul 30, 2019

Severity: 4-Minor

Symptoms

Overriding certain deeply nested fields in AS3 Templates sometimes makes them appear as editable when you use the template to deploy an application service, even though they are not configured to be visible or editable.

Impact

When the template is used to deploy an application service, fields appear as editable, even though they're not. If you attempt to edit the values, BIG-IQ returns an error.

Conditions

Select "override" on All the fields of a nested object. For example, the "Security_Log_Profile" class contains many deeply nested class objects. The JSON schema for the "Security_Log_Profile" could look like: { "properties": { "class": {}, "application": { "type": "object", "properties": { "localStorage": { "type": "boolean", "default": false, "const": false }, "maxEntryLength": { "type": "string", "default": "64k", "const": "64k" }, "remoteStorage": { "type": "string", "default": "bigiq", "const": "bigiq" }, "reportAnomaliesEnabled": { "type": "boolean", "default": true, "const": true }, "servers": { "type": "array", "items": { "type": "object", "properties": { "address": { "type": "string", "default": "10.1.10.6", "const": "10.1.10.6" }, "port": { "type": "string", "default": "8514", "const": "8514" } } } }, "storageFilter": { "type": "object", "properties": { "requestType": { "type": "string", "const": "illegal", "default": "illegal" } } } } } }, "type": "object", "additionalProperties": false } Note that this class cannot have anything edited by the "const" keywords throughout the declaration.

Workaround

Either avoid making edits to these fields, or: If you're not sure which fields to avoid, use the API to deploy the application service along with the schema overlay.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips