You are not logged in.
Pages: 1
Dear All,
I found that the error occur when i enable the custom fields plugin. anyone similar case? Please help. thank you.
GLPI Version: 0.84.5
Customfields version: customfields-1.6.0, Date:04/16/2014 09:00 PM
download from: https://forge.indepnet.net/projects/customfields/files
Background:
new user and several existing user can not display all items in "Computers" which are super-admin profile(granted all permission)
Actions:
Inventory - Computers
Result:
Display a page without any items, however, when disable the plugin it can working normally.
Errors:
Unknown column 'glpi_plugin_customfields_computers_oem_information.oem_information' in 'field list'
Last edited by fai1633 (2014-05-02 11:58:59)
Offline
Hi
Can you identify some preference shared by the users having the issue ?
Last edited by dethegeek (2014-05-02 07:44:08)
Offline
Hi dethegeek,
There is a test account, which both is under super admin group.
Super-admin profile
Last edited by fai1633 (2014-05-02 08:13:00)
Offline
User Profile setting
Offline
Debug Mode Errors
Offline
Hi
Your issue looks like the one I fixed yesterday, but is not exactly the same. CAn you try the latest revision in 1.6-bugfixes ?
Did you create a field for computers objects, then deleted it ?
Did the users having the issue set their preferences to show a field that does not longer exist ?
Last edited by dethegeek (2014-05-02 09:44:38)
Offline
hi dethegeek,
thank you for your reply. i had download the Revision 79(hook.php) and Revision 76(field.class.php)
1 . replace to GLPI plugin folder the original location.
2 . Reboot the CentOS Server
the problem still exist. same error as before.
------------------------------------------
Did you create a field for computers objects, then deleted it ?
Answer: Yes. i had created custom fields in "Computer" and then deleted it.
-------------------------------------------
Did the users having the issue set their preferences to show a field that does not longer exist ?
Answer: even create a new user with "super-admin" profile and first time log on, the items still can not display.
----------------------------------------------
Offline
I think the issue is due to the deletion of a field which is still used in the computer list. The view has probably been customized with this field and set globally.
A workaround which *may* work (I cannot test it right now) : try to re-create the deleted field, and check if the computer list works again. If it works again, you may remove the field from the global preference of the computer list, and finally delete the field.
I'll open a ticket to fix this.
Offline
Thanks dethegeek. But I had deleted many fields, very hard to trace the deleted fields. Is that any way to reset the global preference of the computer list instead of re-create the deleted fields?
Offline
Hi Dethegeek,
i had try below link and works for me. anyway thank you for help!
try with this query:
delete from glpi_displaypreferences
where num between 5200 and 7699
Offline
Thank you for your feedback,
this will help me to find out how to fix the issue.
EDIT : created ticket : https://forge.indepnet.net/issues/4905
Last edited by dethegeek (2014-05-02 20:52:10)
Offline
Pages: 1