The toolkit is technically compatible with iTop 3.0 yes, but as you can see in your screenshot, its UI is broken. You can still use it though, when the 3.0 is officially released, a compatible toolkit version will be as well.
Take care,
Guillaume
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I updated to Toolkit 2.7, but error messages are still present.
I then created the following test module (to try to add a "field1" entry to server item, and
"Update ITop code and Database".
Code is correctly copied to "en-production", but it seems that Mysql update is not
effective (see below), maybe this is related to the bunch of errors previsouly mentioned.
When running the toolkit with "Update code and database", the toolkit will create new tables, columns, but it will NOT run the ALTER queries that are printed in the screen. Those are to be runned by you, that's why the SQL commands are printed just below.
Cheers,
Guillaume
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the toolkit displays the new field to be added :
field 'field1' could not be found in table 'server'
ALTER TABLE server ADD field1 TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
click on the "📀 Update iTop code and Database!" button
after processing is done, check the DB
At the end of the process I get those columns in the Server table :
server table
id int(11) AI PK
osfamily_id int(11)
osversion_id int(11)
oslicence_id int(11)
cpu varchar(255)
ram varchar(255)
field1 text
Did you do it differently ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is Toolkit 2.3 compatible with beta 3.0 ?.
Following installation , all I have at the moment are these errors:
[image: image.png]
Thank you !.
PM.
Hello Marrot,
The toolkit is technically compatible with iTop 3.0 yes, but as you can see in your screenshot, its UI is broken. You can still use it though, when the 3.0 is officially released, a compatible toolkit version will be as well.
Take care,
Guillaume
Thank you for your answer.
But, how can it be used without its UI operative ?.
PM.
Only the tabs should have their display broken, but you can still click on them.
Guillaume
You may see attached all the errors when using the "Itop update" tab;
All thee errors seems to be type errors in tables.
So I think when using it for a new extension module, I'll just have to :
What do you think ?.
PM.
Hello Marrot,
This DB messages are ok, it's just iTop trying to rectify the schema but sometimes it thinks some stuff has to be changed when it is not necessary.
You can try updating the toolkit to use the one for iTop 2.7, it might fix some stuff, I don't recall to be honest. You can find it here
Cheers,
Guillaume
I updated to Toolkit 2.7, but error messages are still present.
I then created the following test module (to try to add a "field1" entry to server item, and
"Update ITop code and Database".
Code is correctly copied to "en-production", but it seems that Mysql update is not
effective (see below), maybe this is related to the bunch of errors previsouly mentioned.
If you have any hint, you are welcome !
PM.
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<constants>
</constants>
<classes>
<class id="user-content-Server" _delta="if_exists">
<fields>
<field id="user-content-field1" xsi:type="AttributeText" _delta="define">
<sql>field1</sql>
<default_value>
<is_null_allowed>true</is_null_allowed>
</default_value></field>
</fields>
</class>
</classes>
<user_rights>
<groups>
</groups>
<profiles>
</profiles>
</user_rights>
</itop_design>
When running the toolkit with "Update code and database", the toolkit will create new tables, columns, but it will NOT run the ALTER queries that are printed in the screen. Those are to be runned by you, that's why the SQL commands are printed just below.
Cheers,
Guillaume
The problem is that using using the following module , the "Update code and database" does not create the new tables columns.
See above and below.
Thank you for your support.
PM.
Hello, works like a charm for me ?!??
Here is the procedure I followed :
field 'field1' could not be found in table 'server'
ALTER TABLE
server
ADDfield1
TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ciAt the end of the process I get those columns in the Server table :
server table
id int(11) AI PK
osfamily_id int(11)
osversion_id int(11)
oslicence_id int(11)
cpu varchar(255)
ram varchar(255)
field1 text
Did you do it differently ?