Added Category, color LimeGreen, errors when trying to edit in configure dialog

Added Category, color LimeGreen, errors when trying to edit in configure dialog

Anonymous
Not applicable
583 Views
1 Reply
Message 1 of 2

Added Category, color LimeGreen, errors when trying to edit in configure dialog

Anonymous
Not applicable

I created a new category via CategoryService.AddCategory and chose LimeGreen as the color.  This appeared to work fine, I ran through some in code and set the category.  I launched Vault explorer and saw the categories were set properly, even showing my color.  However, I loaded the vault settings and went to the configure categories dialog to change category behaviors, when I started getting error messages.  I was able to see the lime green color in this dialog  When I choose edit I get a crash dialog as if Vault crashed, but Vault stays open.  When I close the error report dialog I get a Vault error saying "The given key was not present in the dictionary".  I clicked ok on it and tried again to edit and it continued to happen.  I closed Vault explorer and reloaded it and went back to the configure categories dialog.  I noticed my lime green color no longer shows up here.  If I try to copy the category I get the same dictionary error.  I can see the color on my files and I can see it in the dialog to change the category.  I deleted the category and called addCategory again this time using a color from GetAllCategoryColors() and it all worked fine, I could edit the category.

So I am wondering if this is a known issue and if it would be possible to have it allow any color instead of one from a set of 26.

0 Likes
Accepted solutions (1)
584 Views
1 Reply
Reply (1)
Message 2 of 2

Redmond.D
Autodesk
Autodesk
Accepted solution

No, I was not aware of this issue.  Thanks for letting me know.  I'll log a defect. 

The workaround for now is to just use one of the pre-defined colors. 



Doug Redmond
Software Engineer
Autodesk, Inc.

0 Likes