Bug ID 1400105: Replace policy function fails even though local and imported (JSON format) policies have the same encoding/applicationLanguage

Last Modified: Sep 27, 2024

Affected Product(s):
BIG-IP ASM(all modules)

Known Affected Versions:
17.1.0, 17.1.0.1, 17.1.0.2, 17.1.0.3, 17.1.1, 17.1.1.1, 17.1.1.2, 17.1.1.3, 17.1.1.4

Opened: Nov 18, 2023

Severity: 4-Minor

Symptoms

Exporting and replacing a policy in JSON format fails with error "InternalError - import_policy failed: fatal: Failed action: Imported and replaced policies have different encodings."

Impact

Import policy getting failed with Replace option.

Conditions

Export a policy in JSON format and replace a policy with the exported policy.

Workaround

Works with exporting policy as XML format.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips