Sorry if this is duplicate, I tried to search for toolkit in the forum and haven't found an answer to this.
Is there going to be a newer version of the toolkit? The newest I've found on github is more than a year old and throws a lot of warnings when I check consistency on a clean iTop install. Should I just ignore those? The errors are like these (there are a bunch more of them):
Class ActionEmail
Default value '' for attribute language is not an allowed value (Please pickup the default value out of {'PT BR, ZH CN, CS CZ, DA DA, NL NL, EN US, FR FR, DE DE, HU HU, IT IT, JA JP, PL PL, RU RU, SK SK, ES CR, TR TR'})
Class TemporaryObjectDescriptor
Unknown attribute code 'meta' from ZList 'details' (Expecting a value in {expiration_date, temp_id, item_class, item_id, creation_date, host_class, host_id, host_att_code, operation, friendlyname})
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)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying install iTop 3.2.0 with tooklit 3.2.0 again.
It's first time I'm using iTop.
It's important for me to be able make a simple customization to CMDB attribute.
The installation was ok at the test environment. I'm using a WSL (Ubuntu 24.04) with no problem.
It's a fresh install with demo data.
But when I'm trying to use de Toolkit, the checkConsitency results the same Warning related by the people.
"Class ActionEmail
Default value '' for attribute language is not an allowed value (Please pickup ......"
At the "Check DB Schema" from Tookit I get:
Class SynchroAttLinkSet
field 'attribute_qualifier' in table 'priv_sync_att_linkset' has a wrong type: found varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '\'\'' while expecting VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '\''
So I open the log ( .../log/setup-queries-2025-01-22_02_04.sql) at the VSCode and I observed that since the line 72, starting with :
"CREATE TABLE priv_sync_att_linkset (id INT(11) NOT NULL ......"
the VSCode stop to do the correct highlight of SQL syntax. And this is the same line of Warning of the tooklit (Check DB Schema).
PLEEEAAASSEEEE!!!!
Can anybody help me ???
I included here the installation log and printscreen from tookit.
My guess would be to only worry about the consistency check on the errors where the class your extension alters or creates is mentioned. The ActionEmail class by default has no language selected when you create it, but you can pick one in the drop down. The ActionEmail class in the data model says NULL NOT ALLOWED, thus the consistency check seems to fail. There doesn't appear to be any impact on the actual functionality that I could detect.
I would just make note of prelisting entries and then after creating extension note the classes you are working with and only check those out to see if the check generates different output.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
Sorry if this is duplicate, I tried to search for toolkit in the forum and haven't found an answer to this.
Is there going to be a newer version of the toolkit? The newest I've found on github is more than a year old and throws a lot of warnings when I check consistency on a clean iTop install. Should I just ignore those? The errors are like these (there are a bunch more of them):
Class ActionEmail
Default value '' for attribute language is not an allowed value (Please pickup the default value out of {'PT BR, ZH CN, CS CZ, DA DA, NL NL, EN US, FR FR, DE DE, HU HU, IT IT, JA JP, PL PL, RU RU, SK SK, ES CR, TR TR'})
Class TemporaryObjectDescriptor
Unknown attribute code 'meta' from ZList 'details' (Expecting a value in {expiration_date, temp_id, item_class, item_id, creation_date, host_class, host_id, host_att_code, operation, friendlyname})
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)
I don't think a lot has changed - https://github.com/Combodo/itop-toolkit-community/commits/master/
Which iTop version are you using?
I'm using 3.1.1-1-12561, and I downloaded the toolkit from here: https://github.com/Combodo/itop-toolkit-community/archive/refs/tags/3.1.zip
Thank you for looking into this.
Last edit: tonkaize 2024-08-30
Same behavior here with version itop:
3.2.0-2-14758 as well as 3.2.0-dev.
and itop-toolkit-community-3.2 as well as 3.0.0 and 3.1
In all cases, with a fresh new environment:
Class ActionNotification
Default value '' for attribute language is not an allowed value (Please pickup the default value out of {'PT BR, ZH CN, CS CZ, DA DA, NL NL, EN US, FR FR, DE DE, HU HU, IT IT, JA JP, PL PL, RU RU, SK SK, ES CR, TR TR'})
Class SynchroReplica
Default value '' for attribute dest_class is not an allowed value (Please pickup the default value out of {'AbstractResource, lnkTriggerAction, OtherSoftware, ApplicationSolution, WorkOrder, AsyncTask, AsyncSendNewsroom, Attachment, AuditDomain, AuditCategory, AuditRule, ActionNotification, ActionNewsroom, ActionEmail, User, appUserPreferences, UserRequest, UserDashboard, Action, URP_UserOrg, URP_UserProfile, BulkExportResult, BusinessProcess, CMDBChange, Change, CMDBChangeOp, CMDBChangeOpAttachmentAdded, CMDBChangeOpAttachmentRemoved, CMDBChangeOpPlugin, CMDBChangeOpSetAttributeCustomFields, CMDBChangeOpSetAttributeHTML, CMDBChangeOpSetAttributeLinks, CMDBChangeOpSetAttributeLinksAddRemove, CMDBChangeOpSetAttributeLinksTune, CMDBChangeOpSetAttributeLongText, CMDBChangeOpSetAttributeTagSet, CMDBChangeOpSetAttributeURL, DatacenterDevice, DatabaseSchema, CMDBChangeOpSetAttributeBlob, DBProperty, DBServer, DeliveryModel, Document, DocumentFile, DocumentNote, DocumentWeb, DocumentType, TagSetFieldDataFor_FAQ__domains, Printer, AsyncSendEmail, CMDBChangeOpSetAttributeScalar, EmergencyChange, Enclosure, EventOnObject, ExtensionInstallation, UserExternal, CMDBChangeOpSetAttributeCaseLog, FAQ, FAQCategory, Farm, FiberChannelInterface, FunctionalCI, ApprovedChange, EventNotification, EventNotificationEmail, EventNotificationNewsroom, Group, lnkGroupToCI, BackgroundTask, VirtualHost, Hypervisor, Incident, InlineImage, UserInternal, IOSVersion, IPInterface, IPPhone, EventIssue, UserLocal, iTopOwnershipToken, KeyValueStore, KnownError, Contact, ContactType, CustomerContract, UserLDAP, Licence, lnkActionNotificationToContact, Event, EventLoginUsage, LogicalInterface, LogicalVolume, Brand, Middleware, MiddlewareInstance, MobilePhone, Model, ModuleInstallation, NAS, NASFileSystem, NetworkDevice, NetworkInterface, NetworkDeviceType, NormalChange, OAuthClient, OAuthClientGoogle, OAuthClientAzure, CMDBChangeOpCreate, CMDBChangeOpDelete, CMDBChangeOpSetAttribute, QueryOQL, Organization, OSFamily, OSLicence, OSPatch, OSVersion, Patch, PC, PCSoftware, PDU, Peripheral, Person, PhysicalDevice, PhysicalInterface, Problem, URP_Profiles, ProviderContract, Query, Rack, ResourceRunQueriesMenu, ResourceAdminMenu, ResourceSystemMenu, EventRestService, RoutineChange, SANSwitch, Server, Service, ServiceFamily, ServiceSubcategory, Shortcut, SLA, SLT, Software, SoftwareInstance, SoftwareLicence, SoftwarePatch, Location, StorageSystem, PowerSource, PowerConnection, Subnet, ShortcutOQL, SynchroAttribute, SynchroAttExtKey, SynchroAttLinkSet, SynchroDataSource, SynchroLog, SynchroReplica, Tablet, TagSetFieldData, Tape, TapeLibrary, Team, Phone, TelephonyCI, TemporaryObjectDescriptor, CMDBChangeOpSetAttributeText, Ticket, Trigger, TriggerOnStateEnter, TriggerOnAttributeBlobDownload, TriggerOnAttachmentDownload, TriggerOnStateLeave, TriggerOnObjectUpdate, TriggerOnObjectCreate, TriggerOnObjectMention, TriggerOnObjectDelete, TriggerOnThresholdReached, TriggerOnStateChange, TriggerOnPortalUpdate, TriggerOnObject, Typology, ConnectableCI, lnkApplicationSolutionToBusinessProcess, lnkApplicationSolutionToFunctionalCI, lnkAuditCategoryToAuditDomain, lnkConnectableCIToNetworkDevice, lnkDeliveryModelToContact, lnkDocumentToFunctionalCI, lnkDocumentToLicence, lnkDocumentToPatch, lnkDocumentToService, lnkDocumentToSoftware, lnkDocumentToError, lnkFunctionalCIToOSPatch, lnkFunctionalCIToProviderContract, lnkFunctionalCIToService, lnkFunctionalCIToTicket, lnkErrorToFunctionalCI, lnkContactToFunctionalCI, lnkContactToService, lnkContactToTicket, lnkContactToContract, lnkCustomerContractToFunctionalCI, lnkCustomerContractToProviderContract, lnkCustomerContractToService, lnkPersonToTeam, lnkPhysicalInterfaceToVLAN, lnkSanToDatacenterDevice, lnkServerToVolume, lnkSLAToSLT, lnkSoftwareInstanceToSoftwarePatch, lnkSubnetToVLAN, lnkContractToDocument, lnkVirtualDeviceToVolume, CMDBChangeOpSetAttributeEncrypted, CMDBChangeOpSetAttributeOneWayPassword, Contract, ContractType, VirtualMachine, VirtualDevice, VLAN, WebApplication, WebServer, EventWebService, WelcomePopupAcknowledge'})
Class TemporaryObjectDescriptor
Unknown attribute code 'meta' from ZList 'details' (Expecting a value in {expiration_date, temp_id, item_class, item_id, creation_date, host_class, host_id, host_att_code, operation, friendlyname})
Class lnkActionNotificationToContact
Unknown attribute code 'title' from ZList 'details' (Expecting a value in {action_id, contact_id, trigger_id, subscribed, friendlyname, action_id_friendlyname, action_id_finalclass_recall, contact_id_friendlyname, contact_id_finalclass_recall, contact_id_obsolescence_flag, trigger_id_friendlyname, trigger_id_finalclass_recall})
Unknown attribute code 'title' from ZList 'list' (Expecting a value in {action_id, contact_id, trigger_id, subscribed, friendlyname, action_id_friendlyname, action_id_finalclass_recall, contact_id_friendlyname, contact_id_finalclass_recall, contact_id_obsolescence_flag, trigger_id_friendlyname, trigger_id_finalclass_recall})
Class Incident
Unknown function 'SetAssignedDate' in transition [escalated_tto/ev_assign] for state attribute 'status' (Specify a function which prototype is in the form [public function SetAssignedDate(...){return true;}])
Also, the tool wants to change the DB out of the box. see picture.
Last edit: Kai Wurth 2024-09-26
in synchro/synchrodatasource.class.inc.php, under "class SynchroReplica extends DBObject implements iDisplay", in "MetaModel::Init_AddAttribute(new AttributeClass('dest_class', array(" definition, replace row "'default_value' => ''," with "'default_value' => 'Organization',"
Please!!
Has anyone managed to resolve this error?
Same here. iTop version 3.2.0-2-14758 and toolkit version 3.2 (downloaded from https://github.com/Combodo/itop-toolkit-community/releases). Clean out-of-box install of production database, no data.
Thanks
I install a new instance of iTop 3.2, i want to install extension for CI: Monitor like example in this URL: https://www.itophub.io/wiki/page?id=latest:customization:add-class-sample
But i try check the Data Model Consistency i get the output in attachment..
Some body fixed this error?
Regards,
David
I'm trying install iTop 3.2.0 with tooklit 3.2.0 again.
It's first time I'm using iTop.
It's important for me to be able make a simple customization to CMDB attribute.
The installation was ok at the test environment. I'm using a WSL (Ubuntu 24.04) with no problem.
It's a fresh install with demo data.
But when I'm trying to use de Toolkit, the checkConsitency results the same Warning related by the people.
At the "Check DB Schema" from Tookit I get:
So I open the log ( .../log/setup-queries-2025-01-22_02_04.sql) at the VSCode and I observed that since the line 72, starting with :
the VSCode stop to do the correct highlight of SQL syntax. And this is the same line of Warning of the tooklit (Check DB Schema).
PLEEEAAASSEEEE!!!!
Can anybody help me ???
I included here the installation log and printscreen from tookit.
Last edit: felipess19 2025-01-22
My guess would be to only worry about the consistency check on the errors where the class your extension alters or creates is mentioned. The ActionEmail class by default has no language selected when you create it, but you can pick one in the drop down. The ActionEmail class in the data model says NULL NOT ALLOWED, thus the consistency check seems to fail. There doesn't appear to be any impact on the actual functionality that I could detect.
I would just make note of prelisting entries and then after creating extension note the classes you are working with and only check those out to see if the check generates different output.
someone has already solve the problem?
hello Mari .
in my case, i just ignored the warning message of consistence check.
i could extend the cmdb IC.