Menu

Linking licenses to a PC and to a department

modice
2023-03-30
2023-04-17
  • modice

    modice - 2023-03-30

    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?

     
  • modice

    modice - 2023-04-17

    up

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-04-17

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.