Menu

Error running Data Model Toolkit 2.7 with iTop 3

2022-01-15
2024-09-05
1 2 > >> (Page 1 of 2)
  • Alice Navarro

    Alice Navarro - 2022-01-15

    I installed version 3 of iTop (3.0.0-8663), it didn't send any errors on the installation, then, I added a blank extension and there were no errors.

    However, I need to add a new attribute to an existing class "Person" and the Data Model Toolkit throws errors in the code of the original itop extensions. Attached file with the complete errors.

    Class Organization
    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    ...

    anyone know how to solve this problem?

     

    Last edit: Alice Navarro 2022-01-15
  • Pierre Goiffon

    Pierre Goiffon - 2022-01-27

    Hello,
    Your customization seems to break iTop classes lifecycle. Can you share its code ?

     
  • Alice Navarro

    Alice Navarro - 2022-02-02

    I don't have any customizations yet, I run the toolkit with just the iTop3 installation and a blank extension, in which I intended to include my attribute in the Person class, nothing more.

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-02-09

      Hello
      A blank extension = a customization :)
      We can't help until you share its code and we can reproduce your issue...

       
  • HEBERT

    HEBERT - 2022-02-07

    Hello,
    I have the same error, with my customization. I have create two news profiles ( see the attached file)
    Do you have a solution please ?
    Thanks,

     
  • Alice Navarro

    Alice Navarro - 2022-02-09

    Not yet, I think the toolkit only works with older versions of iTop. I guess we should wait for the next version of the toolkit to work with iTop3.

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-02-09

      The toolkit for iTop 3.0.0 is available on the wiki
      You can also clone it directly from Github

       
  • HEBERT

    HEBERT - 2022-02-09

    Hello !
    I don't understand, I've loaded the Toolkit 3.0.0 (iTopDataModelToolkit-3.0.0.zip), on the wiki.
    And the errors concern this toolkit version.

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-02-22

      Hello,

      I've just ran your delta XML on a 3.0.0 cty version, and I got no errors.

      Can you detail :

      • the error you're getting, and after which actions
      • your whole module code
      • what other modules are installed
       
  • HEBERT

    HEBERT - 2022-02-24

    Hello Pierre,

    It's my first test about Itop extension . I don't have any other extension.

    I've errors in the data model toolkit V3.0.0 when I click on Data Model Consistency.

    Class Organization

    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class Location

    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class Contact

    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class Document

    Attribute 'status' (object state) has an allowed value (draft) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (published) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class PhysicalDevice

    Attribute 'status' (object state) has an allowed value (implementation) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (production) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (stock) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class ApplicationSolution

    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class BusinessProcess

    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class SoftwareInstance

    Attribute 'status' (object state) has an allowed value (active) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (inactive) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class Group

    Attribute 'status' (object state) has an allowed value (implementation) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (production) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class Contract

    Attribute 'status' (object state) has an allowed value (implementation) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (production) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class Service

    Attribute 'status' (object state) has an allowed value (implementation) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (production) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class ServiceSubcategory

    Attribute 'status' (object state) has an allowed value (implementation) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (production) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class VirtualDevice

    Attribute 'status' (object state) has an allowed value (implementation) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (obsolete) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (production) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has an allowed value (stock) which is not a known state (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    Attribute 'status' (object state) has a state () which is not an allowed value (You may define its allowed_values property as [new ValueSetEnum('')], or reconsider the list of states)
    

    Class RemoteApplicationConnection

    Unknown attribute code 'application' in the list of reconciliation keys (Expecting a value in name, remoteapplicationtype_id, environment, url, actions_list, finalclass, friendlyname, remoteapplicationtype_id_friendlyname)
    

    Class RemoteiTopConnection

    Unknown attribute code 'application' in the list of reconciliation keys (Expecting a value in name, remoteapplicationtype_id, environment, url, actions_list, auth_user, auth_pwd, version, finalclass, friendlyname, remoteapplicationtype_id_friendlyname)
    

    Thanks for your help.

    Caroline

     
  • Juan Palacios

    Juan Palacios - 2022-02-24

    Hello, i have the same error running the toolkit

    I use iTopDataModelToolkit-3.0.0

    iTop versión 3.0.0-beta5-8216

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-03-02

      Hello,
      Please update to iTop 3.0.0 final

       
  • Marco

    Marco - 2022-03-02

    Hi,
    I have the same error. Did you solve this issue?

    BR
    Marco

     

    Last edit: Marco 2022-03-02
    • Guillaume Lajarige

      Hello Marco, are you using the 3.0 toolkit? https://www.itophub.io/wiki/page?id=3_0_0%3Acustomization%3Adatamodel

      Guillaume

       
      • Marco

        Marco - 2022-03-18

        Hi Guillame,
        yes everything to the last version.

        BR
        Marco

         
  • Valentin Guitart

    Hello, I have the same issue, as u can see i am runing 3.0.0 and the toolkit is also that one

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-03-02

      Hello,
      What do you mean by "the toolkit is also that one" ?
      Can you share a screenshot of your toolkit ?

       
  • Valentin Guitart

     

    Last edit: Valentin Guitart 2022-03-02
  • Nikola Milanov

    Nikola Milanov - 2022-03-08

    Hi,
    I have the same problem. iTop version is 3.0 and the toolkit 3. I get this error when trying to add new class Monitor following this : https://www.itophub.io/wiki/page?id=latest%3Acustomization%3Aadd-class-sample#create_your_customization_module

    All kind of help is appreciated

    Nikola

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-03-08

      Hello,
      You already opened a thread here : [707145b859].
      In this thread in my opinion we still need complementary informations...

       

      Related

      Discussion: 707145b859

  • mhmn

    mhmn - 2022-03-18

    Hi, I have the same error when running the toolkit. I'm using itop 3 final and toolkit v3. Anyone get the solution?

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-06-07

    Hello,

    I finally understand that those errors are appearing in the "Data model consistency" tab of the toolkit !

    I've added a bug in Combodo internal DB : N°5218

     
  • Jota

    Jota - 2022-06-28

    Hi @pgoiffon

    Any news related to this bug opened?
    Same problem here.

    BR

     
    • Pierre Goiffon

      Pierre Goiffon - 2022-06-29

      Hello,
      Our product team didn't planned it in one of the upcoming releases, so for now we have no release date.
      Remember we are opened to contributions !

       
1 2 > >> (Page 1 of 2)

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.