Bug ID 538827: Getting error when trying to update collection of gwt-profiles with override metacharacters

Last Modified: Oct 01, 2018

Bug Tracker

Affected Product:  See more info
BIG-IP ASM(all modules)

Known Affected Versions:
12.0.0

Fixed In:
12.1.0, 12.0.0 HF1

Opened: Aug 10, 2015
Severity: 3-Major

Symptoms

If you try to update collection of gwt-profiles with override metacharacters, then you get an error message: "Can't use string (\"F5::ASMConfig::Entity::GwtProfil\") as a HASH ref while \"strict refs\" in use at /usr/local/share/perl5/F5/ASMConfig/Entity/Base.pm line 2890."

Impact

Unable to update collection of gwt-profiles with override metacharacters

Conditions

1)Create default policy "policy1"; 2)Create default gwt profile; 3)Send RESTAPI request: PATCH https://172.29.69.226/mgmt/tm/asm/policies/6224t7jz2UltQZsOfifTog/gwt-profiles HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: application/json Accept: application/json Content-Length: 114 Host: 172.29.69.226 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Authorization: Basic YWRtaW46YWRtaW4= { "metacharElementCheck": true, "metacharOverrides": [{ "isAllowed": false, "metachar": "0x9" }] }

Workaround

We can update one gwt-profile with override metacharacters each time.

Fix Information

REST API: The system can update a collection of GWT/JSON/XML profiles with override metacharacters.

Behavior Change