ticgal / gapp

Bug reporting for Gapp
https://tic.gal/gapp/
4 stars 2 forks source link

Error of connection -> [ListProfileParser] type ‘Null’ is not a subtype of type ‘String’ in type cast #38

Closed SwingJudge closed 2 years ago

SwingJudge commented 2 years ago

https://github.com/ticgal/gapp/issues/38

Hi,

i can't connect to my profile, i have this error :

Screenshot_20220916-164848

I try with GLPI user by default, and it's fonctionnal.

Can you help me please?

GLPI 9.5.5 GAPP 2.2.0 (0000289)


Created by SwingJudge

GLPI ticket number: 11188
Created with GitSync in GLPI by Óscar Beiro
PedroTicGal commented 2 years ago

Hi @SwingJudge ,

First of all, thank you for using Gapp and providing us feedback :)

We have added a new feature to Gapp to help any user having issues with the server connection.

This feature enables a new screen to help diagnose server connections.

To open this screen you have to:

Screenshot_20220627-124532

Remember that you must set the server address before using this function.

Could you send us this report to see where is the issue?

Cheers!

SwingJudge commented 2 years ago

Thanks Pedro for your help, i send you the report by mail ;)

gitsyncuser commented 2 years ago

Ok, it seems we have found the issue.

As far as we can see with the information provided, in your \"Super-Admin\" profile, there is an entity assigned with no name, so the API returns a null instead.

Try to rename the entity with ID: 9 to a no-empty name (or remove this entity from this profile permissions) and let us know if it worked.

Cheers.

Created with GitSync in GLPI by Pedro Muñoz
SwingJudge commented 2 years ago

Perfect, it's all good.

Thanks and nice work for this application

PedroTicGal commented 2 years ago

Thank you for using Gapp!

See you around =)