View Issue Details

IDProjectCategoryView StatusLast Update
0000055RouterOS v6[All Projects] Generalpublic2013-09-09 11:15
ReporterKotsius 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformAllOSRouterOSOS Version6.3
Summary0000055: Not operator fails when used in [set/get find] or [print where] context
DescriptionAll working v5 scripts containing the not operator in a [set/get find !whatEver] or [print where !whatEver] context produce no results in v6.2 and v6.3, thereby rendering the scripts useless. Attempts I made at using an alternative syntax (e.g. parentheses around the negative expression) also failed.

(On the contrary, the not operator works as intended when used in a [set/get find whatEver!=someThing] or [print where whatEver!=someThing].)
Steps To ReproduceThe following script commands will illustrate the problem when used in an appropriate router setup (i.e. at least one dhcp-server lease with "waiting" status / route without routing mark / interface without comment must exist):

:put [:len [/ip dhcp-server lease find !status]]
:put [:len [/ip route find !routing-mark]]
:put [:len [/interface find !comment]]
TagsNo tags attached.

Relationships

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-09-09 11:15 Kotsius New Issue