I think I might have discovered a bug in 2.1.8 CMDBuild relating to HTML Text attributes on a card tab.
How to reproduce:
- Create a new standard class called "Brand"
- Modify attribute "Code" so it's not displayed in list, not active and hidden
- Modify attribute Description to the following
- Description - Brand Name
- Group - Details
- Display in list, Unique, Mandatory, Active (All selected) and editable.
- Type - String (50)
- Create New attribute called "BrandNotes"
- Description - Brand Notes
- Group - Notes
- Display in list, Active (both selected) and editable.
- Type - Text (html)
- Now go to Data Management Module and select class "Brand". You will see the card displaying with 2 tabs - "Details" & "Notes.
- Make sure the "Details" tab on the card is selected and click the "Add card Brand" button
- Before entering any information select the "Notes" tab.
- You will notice that the "Brand Notes" attribute cannot be edited.
- Go back to the "Details" tab and enter a Brand Name.
- Click save and you will notice that saving takes a long time and will probably not finish.
- You will probably have to click the refresh button to get back to the screen.
- Now go back to the "Brand" tab but this time make sure the "Notes" tab is selected.
- You will notice that the "Brand Notes" attribute can now be edited.
- Go back to the "Details" tab and enter a Brand Name.
- Click save and you will notice that saving works this time!
The above was done in the Chrome browser. I can replicate this in IE 9 except the difference is that the card will always save. In Chrome it never saves if the card is created with the "Details" tab visible.
In both browsers when trying the modify a card the "Brand Notes" field is never editable.
If I remove the groups from the class so there are no tabs then there are NO issues at all creating, saving or modifying the card.
I hope this information is useful.
Thank you for the precise information.
We had problems with the HTML Editor but now they are solved.
You'll find the solution on the 2.2 release
CMDBuild Team
Previously Angus wrote:
I think I might have discovered a bug in 2.1.8 CMDBuild relating to HTML Text attributes on a card tab.
How to reproduce:
- Create a new standard class called "Brand"
- Modify attribute "Code" so it's not displayed in list, not active and hidden
- Modify attribute Description to the following
- Description - Brand Name
- Group - Details
- Display in list, Unique, Mandatory, Active (All selected) and editable.
- Type - String (50)
- Create New attribute called "BrandNotes"
- Description - Brand Notes
- Group - Notes
- Display in list, Active (both selected) and editable.
- Type - Text (html)
- Now go to Data Management Module and select class "Brand". You will see the card displaying with 2 tabs - "Details" & "Notes.
- Make sure the "Details" tab on the card is selected and click the "Add card Brand" button
- Before entering any information select the "Notes" tab.
- You will notice that the "Brand Notes" attribute cannot be edited.
- Go back to the "Details" tab and enter a Brand Name.
- Click save and you will notice that saving takes a long time and will probably not finish.
- You will probably have to click the refresh button to get back to the screen.
- Now go back to the "Brand" tab but this time make sure the "Notes" tab is selected.
- You will notice that the "Brand Notes" attribute can now be edited.
- Go back to the "Details" tab and enter a Brand Name.
- Click save and you will notice that saving works this time!
The above was done in the Chrome browser. I can replicate this in IE 9 except the difference is that the card will always save. In Chrome it never saves if the card is created with the "Details" tab visible.
In both browsers when trying the modify a card the "Brand Notes" field is never editable.
If I remove the groups from the class so there are no tabs then there are NO issues at all creating, saving or modifying the card.
I hope this information is useful.