It's all about the answers!

Ask a question

lab mgr fails to save a custom resource type with children


Peter Gardfjäll (2186) | asked Dec 21 '09, 8:50 a.m.
Hi all,

I am trying to add a custom resource type to the lab manager but I cannot seem to be able to save it.
Basically I am trying to create a resource type "Parent" which can contain an instance of a resource type called "Child".
The following steps can be taken to reproduce my problem:


(1) Go to Admin > System properties > Lab resource properties
(2) Click "+" (Add New Type)
- Name the type "Parent"
(3) Click "+" (Add New Type)
- Name the type "Child"
(4) Right-click on type "Parent" and select "Edit Type Attributes"
- Click "+" to add an attribute with Attribute Name "child", Data Type "Type" and Value "Child"
(5) Click OK
(6) Click Save

The web page outputs an error message saying "Unable to save changes to the catalog" and in the server console window I see a stack trace with the following error message:

java.lang.IllegalArgumentException: invalid UUID


Have I encountered a bug?

best regards, Peter

One answer



permanent link
Peter Gardfjäll (2186) | answered Dec 22 '09, 1:41 a.m.
Hi,

after some further experimenting it appears to be the case that I can't add attributes of custom created Types to any Types, not even existing ones, such as "Machine".

Adding new child attributes of a pre-defined Type to a pre-defined parent Type seems to be working though.

Can anyone verify this behavior?

best regards, Peter

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.