I've just upgraded my GLPI installation to 0.85.5, and all the upgrade
went well, without warnings or other things on logs.
After that, i've found that the entities works partially, eg:
1) i was not able anymore to descend in the entities to the ancestor, i
can only move to the child entities, in 'user preferences';
2) i cannot change the current entity (does nothing, go everytime to
the default one).
I've looked at logs (apache errorlog and glpi log) but nothing get
printed ('_log/php-errors.log' spuriously get printed 'Test' within.
Boh).
My user is:
mysql> select * from glpi_users where name='gaio';
+----+------+----------+-------+--------+--------+----------+-----------+--------------+----------+----------+------------+-----------+---------+----------+----------+---------------------+---------------------+---------------------+------------+-------------+-------------+---------------+-------------------+-------------+---------------+--------------+---------------+----------------+----------------------+-----------------------+--------------------+------------+------------+------------+------------+------------+------------+------------------+--------------+-------------------------+-----------------------+----------------------------+---------------------------------------+---------------------+--------------------+---------------------+------------------+----------------+---------------------+-----------------------+------------------------+-----------------+----------------------+-----------------------+---------------------+----------------------+---------------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+---------+---------+------------+----------+--------------------------------+----------------------+-------------+------------+
| id | name | password | phone | phone2 | mobile | realname | firstname |
locations_id | language | use_mode | list_limit | is_active | comment |
auths_id | authtype | last_login | date_mod | date_sync
| is_deleted | profiles_id | entities_id | usertitles_id |
usercategories_id | date_format | number_format | names_format | csv_delimiter
| is_ids_visible | dropdown_chars_limit | use_flat_dropdowntree |
show_jobs_at_login | priority_1 | priority_2 | priority_3 | priority_4 |
priority_5 | priority_6 | followup_private | task_private |
default_requesttypes_id | password_forget_token | password_forget_token_date |
user_dn | registration_number |
show_count_on_tabs | refresh_ticket_list | set_default_tech | personal_token |
personal_token_date | display_count_on_home | notification_to_myself |
duedateok_color | duedatewarning_color | duedatecritical_color |
duedatewarning_less | duedatecritical_less | duedatewarning_unit |
duedatecritical_unit | display_options
| is_deleted_ldap | pdffont | picture |
begin_date | end_date | keep_devices_when_purging_item | privatebookmarkorder |
backcreated | task_state |
+----+------+----------+-------+--------+--------+----------+-----------+--------------+----------+----------+------------+-----------+---------+----------+----------+---------------------+---------------------+---------------------+------------+-------------+-------------+---------------+-------------------+-------------+---------------+--------------+---------------+----------------+----------------------+-----------------------+--------------------+------------+------------+------------+------------+------------+------------+------------------+--------------+-------------------------+-----------------------+----------------------------+---------------------------------------+---------------------+--------------------+---------------------+------------------+----------------+---------------------+-----------------------+------------------------+-----------------+----------------------+-----------------------+---------------------+----------------------+---------------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+---------+---------+------------+----------+--------------------------------+----------------------+-------------+------------+
| 8 | gaio | | 792 | | | Gaiarin | Marco |
567 | NULL | 0 | 50 | 1 | NULL | 1 |
3 | 2015-10-07 14:49:26 | 2015-10-07 14:46:28 | 2015-10-07 14:49:26 |
0 | 4 | 2 | 0 | 0 |
NULL | NULL | NULL | NULL | NULL |
NULL | NULL | NULL | NULL | NULL
| NULL | NULL | NULL | NULL | NULL |
NULL | NULL | | NULL
| uid=gaio,ou=People,dc=sv,dc=lnf,dc=it | NULL |
NULL | NULL | NULL | NULL | NULL
| NULL | NULL | NULL |
NULL | NULL | NULL |
NULL | NULL | NULL |
{"NetworkPort":{"NetworkEquipment":{"characteristics":true,"internet":true,"dynamic_import":true,"mac":true,"vlans":true,"virtual_ports":true,"port_opposite":false,"names":false,"aliases":false,"ipaddresses":true,"ipnetworks":false},"Printer":{"characteristics":true,"internet":true,"dynamic_import":true,"mac":true,"vlans":true,"virtual_ports":false,"port_opposite":false,"names":false,"aliases":false,"ipaddresses":true,"ipnetworks":true},"Computer":{"characteristics":true,"internet":true,"dynamic_import":false,"mac":true,"vlans":true,"virtual_ports":true,"port_opposite":false,"names":true,"aliases":false,"ipaddresses":true,"ipnetworks":true},"PluginFusioninventoryUnknownDevice":{"characteristics":true,"internet":true,"dynamic_import":false,"mac":true,"vlans":false,"virtual_ports":false,"port_opposite":false,"names":false,"aliases":false,"ipaddresses":true,"ipnetworks":true}}}
| 0 | NULL | NULL | NULL | NULL |
NULL | NULL | NULL | NULL |
+----+------+----------+-------+--------+--------+----------+-----------+--------------+----------+----------+------------+-----------+---------+----------+----------+---------------------+---------------------+---------------------+------------+-------------+-------------+---------------+-------------------+-------------+---------------+--------------+---------------+----------------+----------------------+-----------------------+--------------------+------------+------------+------------+------------+------------+------------+------------------+--------------+-------------------------+-----------------------+----------------------------+---------------------------------------+---------------------+--------------------+---------------------+------------------+----------------+---------------------+-----------------------+------------------------+-----------------+----------------------+-----------------------+---------------------+----------------------+---------------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+---------+---------+------------+----------+--------------------------------+----------------------+-------------+------------+
1 row in set (0.00 sec)
And my entities:
mysql> select * from glpi_entities order by id;
+----+----------------+-------------+---------------------------------------------+--------------------------------------------------------------------------------------------+-------+-----------------------------------+-----------------+---------------------+----------+------------------------------+-----------+---------+-----------------------+-----------------+-----------------+-------------------+---------------+------------------+-------------+------------------+--------------------------+---------+------+--------------+-------------+-------------------+-------------------+-------------------------+--------------------------+--------------------+----------------------------------+---------------------+-----------------------------------+--------------------+----------------------------------+------------------------+-----------------+-----------------+--------------+------------------+------------+---------------+----------------+--------------+---------------+-------------+------------------------+-------------------+-------------------+------------------------+---------------------+--------------------+----------------------+------------------------+-----------------------+------------------------------------+-------------------------------------+-------------------+-------------------------+------------------+
| id | name | entities_id | completename
| comment
| level | sons_cache | ancestors_cache |
address | postcode | town | state |
country | website | phonenumber | fax | email
| admin_email | admin_email_name | admin_reply | admin_reply_name |
notification_subject_tag | ldap_dn | tag | authldaps_id | mail_domain |
entity_ldapfilter | mailing_signature | cartridges_alert_repeat |
consumables_alert_repeat | use_licenses_alert |
send_licenses_alert_before_delay | use_contracts_alert |
send_contracts_alert_before_delay | use_infocoms_alert |
send_infocoms_alert_before_delay | use_reservations_alert | autoclose_delay |
notclosed_delay | calendars_id | auto_assign_mode | tickettype | max_closedate
| inquest_config | inquest_rate | inquest_delay | inquest_URL |
autofill_warranty_date | autofill_use_date | autofill_buy_date |
autofill_delivery_date | autofill_order_date | tickettemplates_id |
entities_id_software | default_contract_alert | default_infocom_alert |
default_cartridges_alarm_threshold | default_consumables_alarm_threshold |
delay_send_emails | is_notif_enable_default | inquest_duration |
+----+----------------+-------------+---------------------------------------------+--------------------------------------------------------------------------------------------+-------+-----------------------------------+-----------------+---------------------+----------+------------------------------+-----------+---------+-----------------------+-----------------+-----------------+-------------------+---------------+------------------+-------------+------------------+--------------------------+---------+------+--------------+-------------+-------------------+-------------------+-------------------------+--------------------------+--------------------+----------------------------------+---------------------+-----------------------------------+--------------------+----------------------------------+------------------------+-----------------+-----------------+--------------+------------------+------------+---------------+----------------+--------------+---------------+-------------+------------------------+-------------------+-------------------+------------------------+---------------------+--------------------+----------------------+------------------------+-----------------------+------------------------------------+-------------------------------------+-------------------+-------------------------+------------------+
| 0 | Entità radice | -1 | Entità radice
| NULL
| 1 | NULL | NULL |
NULL | NULL | NULL | NULL |
NULL | NULL | NULL | NULL | NULL
| NULL | NULL | NULL | NULL |
NULL | NULL | NULL | 0 | NULL | NULL
| NULL | 0 |
0 | 1 | 0 |
1 | 0 | 1 |
0 | 1 | 28 | 28 |
0 | -10 | 1 | NULL | 1 |
0 | 0 | NULL | 0 | 0
| 0 | 0 | 0 |
1 | -10 | 12 |
4 | -10 | -10
| 0 | 1 | 0 |
| 1 | Polo FVG | 0 | Entità radice > Polo FVG
| Associazione La Nostra Famiglia - Polo Friuli Venezia Giulia
| 2 | {"1":"1","4":"4","2":"2","3":"3"} | ["0"] |
NULL | NULL | NULL | NULL |
NULL | NULL | +39-0434-842711 | +39-0434-842797 | NULL
| [email protected] | NULL | NULL | NULL |
NULL | NULL | NULL | 0 | NULL | NULL
| NULL | 0 |
0 | 1 | -2 |
1 | -2 | 1 |
-2 | 1 | 28 | 28 |
-2 | -10 | -2 | NULL | -2 |
-1 | -1 | NULL | -2 | -2
| -2 | -2 | -2 |
-2 | -2 | 12 |
4 | -10 | -10
| -2 | -2 | 0 |
| 2 | San Vito | 1 | Entità radice > Polo FVG > San Vito
| Associazione La Nostra Famiglia - Sede di San Vito al Tagliamento (PN)
| 3 | {"2":"2","3":"3"} | ["0","1"] |
Via della Bontà, 7 | 33078 | San Vito al Tagliamento (PN) | Pordenone |
Italia | http://www.sv.lnf.it/ | +39-0434-842711 | +39-0434-842797 |
[email protected] | [email protected] | NULL | NULL | NULL
| NULL | NULL | NULL | 0 | NULL
| NULL | NULL | 0 |
0 | 1 | -2 |
1 | -2 | 1 |
-2 | 1 | 28 |
28 | -2 | -10 | -2 | NULL |
-2 | -1 | -1 | NULL | -2 | -2
| -2 | -2 | -2
| -2 | -2 | 12 |
4 | -10 |
-10 | -2 | -2 | 0 |
| 3 | CDLM | 2 | Entità radice > Polo FVG > San Vito >
CDLM | Associazione La Nostra Famiglia - Sede di San Vito al Tagliamento -
Centro don Luigi Monza | 4 | {"3":"3"} |
["0","1","2"] | NULL | NULL | NULL
| NULL | NULL | NULL | NULL | NULL
| NULL | NULL | NULL | NULL | NULL
| NULL | NULL | NULL | 0 | NULL
| NULL | NULL | -2 |
-2 | -2 | -2 |
-2 | -2 | -2 |
-2 | -2 | -2 |
-2 | -2 | -2 | -2 | NULL |
-2 | 0 | -10 | NULL | -2 |
-2 | -2 | -2 | -2
| -2 | -2 | -2 |
-2 | -2 |
-2 | -2 | -2 | 0 |
| 4 | Pasian | 1 | Entità radice > Polo FVG > Pasian
| Associazione La Nostra Famiglia - Sede di Pasian di Prato (UD)
| 3 | {"4":"4"} | ["0","1"] |
NULL | NULL | NULL | NULL |
NULL | http://www.pp.lnf.it/ | NULL | NULL |
[email protected] | [email protected] | NULL | NULL | NULL
| NULL | NULL | NULL | 0 | NULL
| NULL | NULL | 0 |
0 | 1 | -2 |
1 | -2 | 1 |
-2 | 1 | 28 |
28 | -2 | -10 | -2 | NULL |
-2 | -1 | -1 | NULL | -2 | -2
| -2 | -2 | -2
| -2 | -2 | 12 |
4 | -10 |
-10 | -2 | -2 | 0 |
+----+----------------+-------------+---------------------------------------------+--------------------------------------------------------------------------------------------+-------+-----------------------------------+-----------------+---------------------+----------+------------------------------+-----------+---------+-----------------------+-----------------+-----------------+-------------------+---------------+------------------+-------------+------------------+--------------------------+---------+------+--------------+-------------+-------------------+-------------------+-------------------------+--------------------------+--------------------+----------------------------------+---------------------+-----------------------------------+--------------------+----------------------------------+------------------------+-----------------+-----------------+--------------+------------------+------------+---------------+----------------+--------------+---------------+-------------+------------------------+-------------------+-------------------+------------------------+---------------------+--------------------+----------------------+------------------------+-----------------------+------------------------------------+-------------------------------------+-------------------+-------------------------+------------------+
5 rows in set (0.00 sec)
currently the only way to manage to move my entity is to do something
like:
update glpi_users set entities_id=0 where name='gaio';
logoff and then logon.
Please, help me. Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user