CMDBuild Forum

Possible Bug in Filter and Relationships

Hi

I have a class with a relationship

that is set up to relate to itself.

i.e. ClassXtoClassX: Origin - ClassX: Destination - ClassX

: Cardinality - N:N

 

This works fine in most cases however it seems to fail in one instance.

 

Insert 40 cards in ClassX with description of 1 to 40

Create a relation from card 35 to card 30

Scroll through list to Card 30 then select Relation Tab and select 'Go to related Card' - This should take you to card 35 OK

Now use Search for an item in ClassX with a '3' in it to get a list of cards 3, 13, 23, 30-39

Select Card 30 from this list and then select Relation Tab and select 'Go to related Card' - This should take you card 5.  It seems to use the listcount location in the filtered list to decide which card to go to. But then goes to the card in an unfiltered list.

 

This may have been fixed in newer versions - We are currently using Version 2.0. but are going to upgrade soon however I could not find info on this feature.

Regards

 

Hi Karl,
 
I cannot replicate such bug in CMDBuild 2.1.8, that means it has been fixed already.
 
From the early versions 2.0.x to the current 2.1.8, a lot of progress have been made by Tecnoteca: the DAO was completely rewritten, and a lot of improvement have been made in functionality (permission per column, permission per row, views, filters ....and so on)
I strongly suggest to migrate to the latest version as soon as possible.
 
Alessandro Grillini
 
 
 
Previously Karl wrote:

Hi

I have a class with a relationship

that is set up to relate to itself.

i.e. ClassXtoClassX: Origin - ClassX: Destination - ClassX

: Cardinality - N:N

 

This works fine in most cases however it seems to fail in one instance.

 

Insert 40 cards in ClassX with description of 1 to 40

Create a relation from card 35 to card 30

Scroll through list to Card 30 then select Relation Tab and select 'Go to related Card' - This should take you to card 35 OK

Now use Search for an item in ClassX with a '3' in it to get a list of cards 3, 13, 23, 30-39

Select Card 30 from this list and then select Relation Tab and select 'Go to related Card' - This should take you card 5.  It seems to use the listcount location in the filtered list to decide which card to go to. But then goes to the card in an unfiltered list.

 

This may have been fixed in newer versions - We are currently using Version 2.0. but are going to upgrade soon however I could not find info on this feature.

Regards

 

 

Many thanks for looking into this.

 

Will look to migrate as soon as possible.

 

Regards