CMDBuild Forum

Bug with displaying tabbed data

So I seem to have a problem when displaying data held in other tabs within standard classes.

Firstly, here's some details on my configuration.

CMDB Software: CMDBuild 2.0

OS: CentOS 6.3

System: HP DL360G7 Dual-core Xeon 12GB Memory

Database: PostgreSQL 9.1

Application Server: Tomcat6

Problem Occurs: All browsers (FF, IE9 & Chrome)

Path to Problem Class:  CMDB > Hardware > Systems > Servers (servers is the normal class - others are superclasses)

 

Problem:

My 'Servers' class has many attributes broken down into tabs, 'General', 'Specification', 'Interface 1', 'Interface 2', 'OS', 'Disk' etc.

Now, when I have the 'Servers' class selected within the tree pane, I attempt to modify any card within that pane and either Save or Cancel (with or without making changes) the lower pane and upper pane refreshes. When the refresh happens, the data disappears from all tabs apart from the 'General' tab. 

 

This happens to all cards, so if I'm sitting looking at my 'OS' tab for example, I click 'Modify', I change the data in some of the fields, I click 'Save' and all of the data disappears but the field headers remain the intact. Again this happens whether I click save / modify data or even cancel out of modify mode.

To avoid this problem I have several options:

1. Ctrl F5 to refresh that class after each modify.

2. Select a different sub-class in the tree menu and go back to my servers class.

If I select the card from within the Systems superclass (a superclass of the Servers class) and attempt modifications / saves etc then the problem doesn't occur and whenever I close out of modify mode, it returns to the General Tab (First tab in the list).

I'd also like to highlight that despite it showing no data within read-only mode, when I go ahead and click 'modify' again and the data appears within the editable fields.

Could you possibly confirm if this is some sort of bug / problematic java library or something? Here's my CMDBuild.log output when carrying out these actions:

INFO  2012-11-14 16:06:42 [jsonrpc ] Calling url /management/modcard/getcardlist

INFO  2012-11-14 16:06:42 [jsonrpc ] Calling url /schema/modclass/getfktargetingclass

INFO  2012-11-14 16:06:43 [jsonrpc ] Calling url /management/modcard/getcard

INFO  2012-11-14 16:06:51 [jsonrpc ] Calling url /management/modcard/getcardlist

INFO  2012-11-14 16:06:51 [jsonrpc ] Calling url /schema/modclass/getfktargetingclass

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/updatecard

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/getcardposition

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/getcardlist

There is no difference in the logs really between selecting the card from within the superclass or selecting the card within the class.
 
Could you please advise?
 
Thanks,
Jamie

 

Hi,
 
Does anyone have an update on this, can anyone replicate this issue?
 
Thanks,
Jamie
 
Jamie ha scritto:

So I seem to have a problem when displaying data held in other tabs within standard classes.

Firstly, here's some details on my configuration.

CMDB Software: CMDBuild 2.0

OS: CentOS 6.3

System: HP DL360G7 Dual-core Xeon 12GB Memory

Database: PostgreSQL 9.1

Application Server: Tomcat6

Problem Occurs: All browsers (FF, IE9 & Chrome)

Path to Problem Class:  CMDB > Hardware > Systems > Servers (servers is the normal class - others are superclasses)

 

Problem:

My 'Servers' class has many attributes broken down into tabs, 'General', 'Specification', 'Interface 1', 'Interface 2', 'OS', 'Disk' etc.

Now, when I have the 'Servers' class selected within the tree pane, I attempt to modify any card within that pane and either Save or Cancel (with or without making changes) the lower pane and upper pane refreshes. When the refresh happens, the data disappears from all tabs apart from the 'General' tab. 

 

This happens to all cards, so if I'm sitting looking at my 'OS' tab for example, I click 'Modify', I change the data in some of the fields, I click 'Save' and all of the data disappears but the field headers remain the intact. Again this happens whether I click save / modify data or even cancel out of modify mode.

To avoid this problem I have several options:

1. Ctrl F5 to refresh that class after each modify.

2. Select a different sub-class in the tree menu and go back to my servers class.

If I select the card from within the Systems superclass (a superclass of the Servers class) and attempt modifications / saves etc then the problem doesn't occur and whenever I close out of modify mode, it returns to the General Tab (First tab in the list).

I'd also like to highlight that despite it showing no data within read-only mode, when I go ahead and click 'modify' again and the data appears within the editable fields.

Could you possibly confirm if this is some sort of bug / problematic java library or something? Here's my CMDBuild.log output when carrying out these actions:

INFO  2012-11-14 16:06:42 [jsonrpc ] Calling url /management/modcard/getcardlist

INFO  2012-11-14 16:06:42 [jsonrpc ] Calling url /schema/modclass/getfktargetingclass

INFO  2012-11-14 16:06:43 [jsonrpc ] Calling url /management/modcard/getcard

INFO  2012-11-14 16:06:51 [jsonrpc ] Calling url /management/modcard/getcardlist

INFO  2012-11-14 16:06:51 [jsonrpc ] Calling url /schema/modclass/getfktargetingclass

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/updatecard

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/getcardposition

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/getcardlist

There is no difference in the logs really between selecting the card from within the superclass or selecting the card within the class.
 
Could you please advise?
 
Thanks,
Jamie

 

 

Hi Jamie,
thanks for the report.
This behavior is a bug of the interface. We are working to resolve it, and the bug fix will be available in the next release.
 
Martino
 
Jamie ha scritto:
Hi,
 
Does anyone have an update on this, can anyone replicate this issue?
 
Thanks,
Jamie
 
Jamie ha scritto:

So I seem to have a problem when displaying data held in other tabs within standard classes.

Firstly, here's some details on my configuration.

CMDB Software: CMDBuild 2.0

OS: CentOS 6.3

System: HP DL360G7 Dual-core Xeon 12GB Memory

Database: PostgreSQL 9.1

Application Server: Tomcat6

Problem Occurs: All browsers (FF, IE9 & Chrome)

Path to Problem Class:  CMDB > Hardware > Systems > Servers (servers is the normal class - others are superclasses)

 

Problem:

My 'Servers' class has many attributes broken down into tabs, 'General', 'Specification', 'Interface 1', 'Interface 2', 'OS', 'Disk' etc.

Now, when I have the 'Servers' class selected within the tree pane, I attempt to modify any card within that pane and either Save or Cancel (with or without making changes) the lower pane and upper pane refreshes. When the refresh happens, the data disappears from all tabs apart from the 'General' tab. 

 

This happens to all cards, so if I'm sitting looking at my 'OS' tab for example, I click 'Modify', I change the data in some of the fields, I click 'Save' and all of the data disappears but the field headers remain the intact. Again this happens whether I click save / modify data or even cancel out of modify mode.

To avoid this problem I have several options:

1. Ctrl F5 to refresh that class after each modify.

2. Select a different sub-class in the tree menu and go back to my servers class.

If I select the card from within the Systems superclass (a superclass of the Servers class) and attempt modifications / saves etc then the problem doesn't occur and whenever I close out of modify mode, it returns to the General Tab (First tab in the list).

I'd also like to highlight that despite it showing no data within read-only mode, when I go ahead and click 'modify' again and the data appears within the editable fields.

Could you possibly confirm if this is some sort of bug / problematic java library or something? Here's my CMDBuild.log output when carrying out these actions:

INFO  2012-11-14 16:06:42 [jsonrpc ] Calling url /management/modcard/getcardlist

INFO  2012-11-14 16:06:42 [jsonrpc ] Calling url /schema/modclass/getfktargetingclass

INFO  2012-11-14 16:06:43 [jsonrpc ] Calling url /management/modcard/getcard

INFO  2012-11-14 16:06:51 [jsonrpc ] Calling url /management/modcard/getcardlist

INFO  2012-11-14 16:06:51 [jsonrpc ] Calling url /schema/modclass/getfktargetingclass

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/updatecard

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/getcardposition

INFO  2012-11-14 16:07:10 [jsonrpc ] Calling url /management/modcard/getcardlist

There is no difference in the logs really between selecting the card from within the superclass or selecting the card within the class.
 
Could you please advise?
 
Thanks,
Jamie

 

 

 

Hello,

 
Has this bug been fixed in 2.0.3? I'm still experiencing this issue.
 
Thanks,
Jamie
Hello, we are sorry but for time reason we have not fixed it.
We are still working to resolve it before of the next minor release (2.0.4), scheduled for the beginning of February.
 
Thanks again for the Bug report,
Martino
 
Previously Jamie wrote:
Hello,
 
Has this bug been fixed in 2.0.3? I'm still experiencing this issue.
 
Thanks,
Jamie