Bug ID 569415: iRule dependency check requires hiding the reference obj

Last Modified: Sep 13, 2023

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

Known Affected Versions:
12.0.0, 12.0.0 HF1, 12.1.0 HF1, 12.0.0 HF2, 12.1.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Opened: Jan 22, 2016

Severity: 3-Major

Symptoms

When iRule command references some object, the checker checks the existence of the object and fails if the object cannot be located. In the case that user writes such irule before adding the object, user cannot save the irule because of the failure.

Impact

User cannot save the irule, even the irule is used as a library, irule proc.

Conditions

The command references an object which does not exist yet.

Workaround

Put the object into a variable; namely change irule from proc ork {tgt} { if {[RESOLV::lookup @/Common/xdns -a $tgt]} { to proc ork {tgt vs} { if {[RESOLV::lookup @$vs -a $tgt]} { or proc ork {tgt} { set vs /Common/xdns if {[RESOLV::lookup @$vs -a $tgt]} {

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips