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 2023-12-07 12:16:40

mertbeyaz
Member
Registered: 2022-11-24
Posts: 10

entities are created but are not visible

I create an entity via API but it is no longer displayed in GLPI. Until 2 weeks ago this worked without any problems
Entity is created in the DB and is also visible in the DB but not in the application. A "GET" request on the entity just created returns the following "You don't have to perform this action"

Already tried:
- Deactivate all plugins
- API user super-admin rights granted
- restart
- Analyzed db and compared other entities with the problem entity

Do you have any idea what this could be due to?

Offline

#2 2023-12-07 12:19:03

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

Re: entities are created but are not visible

do you have a valid profile on this entity ?  does this entity have a valid parent ?


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 2023-12-07 14:10:28

mertbeyaz
Member
Registered: 2022-11-24
Posts: 10

Re: entities are created but are not visible

Aren't profiles intended for users?
Yes, there is a parent entity that is valid.

root entity > %organization% > %department% > %entity_name%

I can create entity with parent entity %department% but I can't see this in GLPI application.
On API I do a "GET" to get the Parent ID and then a post with following json payload:

{
    "input":  {
                  "entities_id":  "parentID",
                  "name":  "name"
              }
}

$glpi.RestCall($itemtype, 'POST', $data)

Offline

#4 2024-04-30 10:05:30

mertbeyaz
Member
Registered: 2022-11-24
Posts: 10

Re: entities are created but are not visible

it was a bug that was solved with glpi 10.0.11

Offline

Board footer

Powered by FluxBB