-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.90.1] Cannot find last element in entity tree if collapsed (closed) #347
Comments
Hello, |
Hello Tomolimo, Thanks for your feedback. I've attached a dump of my glpi_entities table which is way smaller than yours by the way. If you search for "N" then you get a match for
It doesn't match however NA which is a child of VN. If you first open the VN node and actually see the NA element, then you can also search for it and it gets found. |
Also, I just tested on curent 0.90/bugfixes without reproducing. What's your glpi version ? |
I'm using GLPI 0.90.1 with Firefox 43.0.3 (same issue with Google Chrome 35.0.1916.114 m and IE 11.0.9600.18124CO) Here's the detail: Operating system: Linux localhost 4.2.7-200.fc22.x86_64 #1 SMP Thu Dec 10 03:28:47 UTC 2015 x86_64 OK/var/www/html/glpi-0.90.1/config : OK |
i just tested with your data, and reproduce the issue. I'll keep you informed of my corrections |
found the problem in your data. I suggest you to send the next query in your mysql console (or phpmyadmin, etc) UPDATE glpi_entities SET ancestors_cache = ''; |
Perfect, that worked. Thanks. |
In the modal entity selection window, the initial state is closed for every child. If you are searching for the very last child in the last node, then it doesn't get found.
Workaround: if the node has been opened (expanded) manually, then the item gets found.
In order to avoid the users to have to manually expand the tree, I decided to open it completely when loaded. Here's the diff I use as a temporary workaround.
The text was updated successfully, but these errors were encountered: