CMDBuild Forum

Domains between the same class

Hi all,

We have a domain in which the origin and destination are the same CI. In our context, we have conectivity items (e.g. switches, routers, etc.) that are connected to other conectivity items. In this case, the direct description and the inverse description are also the same (so it doesn't matter how you read it, it should be the same if you go left-to-right or right-to-left). This means that, if item A is connected to item B then item B is connected to item A.

Some difficulties we've found with this implementation:

(1) In the "Data management module", when you click the "Add relations" button, you see two options with the same description.

See image: https://i.imgur.com/ZRjxf7R.png

 

(2) In the "Data management module", in the "Relations" tab, we see the same kind of connections in two different groups.

See image: https://i.imgur.com/DH1ZtK6.png

When you click an item (for instance, item "A") and go to the "Relations" tab, the different connections will be grouped depending on where the relation was intitiated from.

See image: https://i.imgur.com/iySFfvR.png

 

Here's how the domain was defined: https://i.imgur.com/ezSPp0I.png

 

So, to recap, the issues we're having are:

(a) we have two options with the same description in the "Add relations" button

(b) we have the same kind of connections in two different groups in the "Relations" tab

 

For reference, we're using CMDBuild v2.3.4.

 

Has someone experienced this same problem?

Have you found any workaround?

 

Any help on this would be much appreciated!

A suggestion is to make the two descriptions different, for example "is connected to" and "has connections from".
CMDBuild Team

Thanks for your quick response.

 
So, to confirm, there's no workaround for what I mentioned above, right?
I mean, there's no way of hiding one of the options in the "Add relations" button nor of grouping the same kind of connections in the "Relations" tab. Is that correct?
 
Thanks!

Sorry, there are no workarounds right now.

In version 3.0 (beginning of next year) or maybe 3.1 (a few months later) it will be possible to set filters on visible relationships, with effect also on the relationships that can be created.
CMDBuild Team