Hello. I have a problem. When I try to add an instance of the software to the PC, I get an error.
Unexpected value for attribute 'devicetype_id': Null not allowed
Unexpected value for attribute 'name_id': Null not allowed
There are no such fields in this form. What is the problem?
Second problem. For example, I have 5 licenses for some software. let's say all 5 licenses I used. how to add restriction on random binding of sixth computer?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First problem: we'd need to see more details. Device type sounds like a property of the PC rather than the license. Was the PC created before; perhaps indeed with no device type set? "name_id": not sure where this comes from. Would be good to see screenshots or more detailed info.
Second problem: you'd need to hook into one of the PHP methods to enforce this kind of block, so no new links between PC and license can be created.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. I have a problem. When I try to add an instance of the software to the PC, I get an error.
Unexpected value for attribute 'devicetype_id': Null not allowed
Unexpected value for attribute 'name_id': Null not allowed
There are no such fields in this form. What is the problem?
Second problem. For example, I have 5 licenses for some software. let's say all 5 licenses I used. how to add restriction on random binding of sixth computer?
up
First problem: we'd need to see more details. Device type sounds like a property of the PC rather than the license. Was the PC created before; perhaps indeed with no device type set? "name_id": not sure where this comes from. Would be good to see screenshots or more detailed info.
Second problem: you'd need to hook into one of the PHP methods to enforce this kind of block, so no new links between PC and license can be created.