Property "disabled" sometimes missing in print/getall results.

Hello,

I noticed strange bug in 6.43.4. Some records returned by getall (or print) API command sometimes has and sometimes has not property “disabled”.
Record which has not this property and are effectivelly enabled, are not returned if query ?disabled=false is set.

API commands

/ip/firewall/mangle/print
=.proplist=.id,src-address,dst-address,new-packet-mark,action,jump-target,disabled
?chain=man-10.11.2-i

!re
=.id=*B
=src-address=10.11.2.10
=new-packet-mark=11.2.10-i
=action=mark-packet

!re
=.id=*C
=src-address=10.11.2.11
=new-packet-mark=11.2.11-i
=action=mark-packet
=disabled=true

!re
=.id=*D
=src-address=10.11.2.12
=new-packet-mark=11.2.12-i
=action=mark-packet
=disabled=false

If record (firewall mangle rule) is created from terminal without explicit “disabled” property (effectively is enabled), API getall returns it without “disabled” (example: id *B).
If this record is disabled and enabled (from terminal, or winbox), API getall returns it with “disabled” property (example: id *D).

Correct behaviour is to return always “disabled” property, with true or false value.

With regards
viktorc

Can confirm this, but why don’t you just report this to MT support?

Can confirm this issue is still happening. Just opened a support ticket on Mikrotik JIRA