CMDBuild Forum

Domains can be created only between "class" or "activity" if there are no assets

I was trying to create a domain to model that an appliance could have multiple different storages. 

As such, I had created this elements:

- a Storage class, subclass of ComputationalResources, subclass of Class

- a VM class, subclass of Appliance, subclass of Asset, subclass of Class

The point is that I was not able to create a domain between two classes different than "Class", both as origin and destination.

If I clicked on "Domains", then "Add domain", the "Origin" and "Destination" dropboxes allows only "Activity" or "Class". On the demo web site, I clearly saw that these two provides many other options, namely the available classes.

Also, If I eventually created a domain and then access the "Enabled Classes", I saw two greyed (not accessible) areas, each one display "Class" and nothing else (clicking "Modify classes" gives no result).

 

I've then found that, if I create some asset, the "Origin" and "Destination" dropboxes are finally unlocked. I've created the database from scratch.

It seems to me that there is a requirement (have at least 1 asset) before domains' creation can actually take place, I am not sure if it's already in the documentation but it should be there.

It may just be a cache problem.
Have you tried to reload the browser page?
Otherwise, you should delete the cache server in the Administration Module, Menu Setup - Server management.
CMDBuild Team