CMDBuild Forum

Searching ipv4 addresses

Say I have these ip address (set up as inet -- ipv4 type attribute) in a class:

1.2.3.4.

1.2.3.5

1.1.1.1

1.1.2.2

4.3.2.1

4.2.3.1

 

If I try to filter for an IP containing "1.2", I receive an error: "Error: java.lang.IllegalArgumentException: invalid value"

 

I get this error on multiple instances using the ipv4 attribute type.  Is this the expected behavior?

Thanks,

Devin

The Java error is an UI bug, we will fix it.

The filter requires to find all IPs starting with 1.2 you should use the condition "Contained" 1.2.0.0/16
CMDBuild Team
That works for me, thank you!!
 
Previously Tecnoteca wrote:

The Java error is an UI bug, we will fix it.

The filter requires to find all IPs starting with 1.2 you should use the condition "Contained" 1.2.0.0/16
CMDBuild Team