Menu

Adding SoftwareLicense to configuration "itop-attachments->allowed_classes" has no affect.

2022-07-04
2022-07-11
  • Tim Hoffman

    Tim Hoffman - 2022-07-04

    Hi

    It would appear that SoftwareLicense, (and other license variants) do not support attachments.

    I have defined attachments for many entities and all work except for variations of licenses
    I have tried for both License and the subclasses OSLicense and SoftwareLicense.

    'itop-attachments' => array (
    'allowed_classes' => array (
    0 => 'Ticket',
    1 => 'Location',
    2 => 'FunctionalCI',
    3 => 'WBS',
    4 => 'Contract',
    5 => 'PhysicalCI',
    6 => 'Software',
    7 => 'Domain',
    8 => 'License',
    ),
    'position' => 'relations',
    'preview_max_width' => 290,
    'icon_preview_max_size' => 500000,
    ),

    Is this intended to work. (Domains and other odd CI all appear to work fine, at least the ones I have tried)

     
  • Tim Hoffman

    Tim Hoffman - 2022-07-04

    I am running itop 3.0.0

     
  • Tim Hoffman

    Tim Hoffman - 2022-07-08

    I tried specifying "license" however that doesn't work. Nore does adding "SoftwareLicense" and "OSLicense"

    So I assume because of the "legacy" use of "license" that attachments are currently not supported for Licenses ?

    T

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-07-08

    Mind the typo: "Licence" ("c", not "s").

     
  • Tim Hoffman

    Tim Hoffman - 2022-07-11

    Ahh.. I missed the 'c' a saw the lower case ;-)

    Thanks

     
    👍
    1
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-07-11

    Yeah, it's one of those things you easily look over 😂

     

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.