I just created a new Class 'Device' with an Attribute 'IP_Address' and data type IPAddress. When I go to create a new card, I get the following error:
java.lang.RuntimeException: error converting raw value = '192.168.0.1' for attribute type = org.cmdbuild.dao.entrytype.attributetype.IpAddressAttributeType@c464ce6, caused by: java.lang.IllegalArgumentException: invalid value = '192.168.0.1' for attr type = org.cmdbuild.dao.entrytype.attributetype.IpAddressAttributeType@c464ce6
Hi, make sure that when you are creating the attribute of type IP Address you choose the right IP Type in the dropdown list (as shown in the attached picture).
Hi, make sure that when you are creating the attribute of type IP Address you choose the right IP Type in the dropdown list (as shown in the attached picture).
CMDBuild Team.
Changed to IPv4 and that helped. Having "Any" would not accept an IPv4 address.
Changed to IPv4 and that helped. Having "Any" would not accept an IPv4 address.
Thanks
I've tried recreating the error you are encountering but for me it's working correctly (check the attached screenshot), are you using the latest version of CMDBuild (3.0)?
Hi, make sure that when you are creating the attribute of type IP Address you choose the right IP Type in the dropdown list (as shown in the attached picture).
CMDBuild Team.
Changed to IPv4 and that helped. Having "Any" would not accept an IPv4 address.
Thanks
My bad, i managed to replicate the problem, it will be solved in the next CMDBuild versions, thanks for the reporting!