You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-11-09 15:46:47

tinaut1986
Member
Registered: 2015-11-09
Posts: 4

GLPI 0.90 - Some "list form" show nothing

When I updated from 0.85 to 0.90, "location.php" began to show nothing. I can modify locations by setting the url manually (location.form.php/?id=XXX) but I can't see the list of locations in glpi.

Today, after add some translations to some task categories, itilcategory.php has started to show nothing too (neither the header list with the wrench nor the other form options).

VUeUP7O.png?1

I have GLPI 0.90 installed in an Ubuntu 14.04.3 LTS.

Thank you very much.

Offline

#2 2015-11-09 15:56:18

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: GLPI 0.90 - Some "list form" show nothing

Hi,
do you use entities ?
are location in root  or sub-entities ?


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#3 2015-11-09 17:37:01

tinaut1986
Member
Registered: 2015-11-09
Posts: 4

Re: GLPI 0.90 - Some "list form" show nothing

Hi LaDenrée,

I started using only the root entity (and remember that location.php shows no locations already).

Then I created entities and when I saw that I didn't need it, I moved everything to the root entity again and deleted all the others.

Today (I was able to view categories in itilcategories.php) i had everything in one entity, and adding translations, it stopped showing any results.

If I go to mysql, entities_id in glpi_itilcategories is 0 in every records (root entity), so I asume is not a matter of entities.

Is there any way to see if the php query of itilcategories.php (or locations.php) return any error? I have modified some DB data from outside glpi, but i would swear nothing relative to locations nor itilcategory.

Thank you very much in advance.

Edit:
I have found that there must be some problem with translations. If I change language to english, everything works OK. If I choose spanish or catalan (the two languages with translations), list does not appear in those two .php, so I will continue looking for the error.
Thanks in advance.

Last edited by tinaut1986 (2015-11-09 19:23:03)

Offline

#4 2015-11-10 01:15:34

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: GLPI 0.90 - Some "list form" show nothing

if i select language Español (España),  i can see my locations and tickets categories.
in french also but i did not add any translations.


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#5 2015-11-10 11:41:38

tinaut1986
Member
Registered: 2015-11-09
Posts: 4

Re: GLPI 0.90 - Some "list form" show nothing

I have been doing test and have discovered that (at least at my glpi installation):

- If I set a translation of a comment in a location in spanish for example, locations list does not show anything if I have set language as spanish for my user, but If I have set language as catalan, the locations list shows everything.
Results are the same when I put a translation of a comment in catalan and I have language as catalan for my user.
- If I deleted every translations of the comments of the locations, the locations list shows everything again (after close and reopen GLPI).

All that is for location.php. I have not been able to test yet problems of Itilcategories.php.

EDIT:
With ItilCategories.php happens the same.

Last edited by tinaut1986 (2015-11-10 11:50:27)

Offline

#6 2015-11-10 11:48:13

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,287

Re: GLPI 0.90 - Some "list form" show nothing

it look like this bug :
https://github.com/glpi-project/glpi/issues/232

glpi team is working on it.


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#7 2015-11-10 11:55:38

tinaut1986
Member
Registered: 2015-11-09
Posts: 4

Re: GLPI 0.90 - Some "list form" show nothing

LaDenrée wrote:

it look like this bug :
https://github.com/glpi-project/glpi/issues/232

glpi team is working on it.

Perfect! I had been searching for any bug similar than mine but i had been unable to find anything.
Now I know what is the reason and I can work without comments normally.

Thanks a lot!

Offline

Board footer

Powered by FluxBB