Skip to content

Users can not see Forms #3556

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

Open
IT-META opened this issue Jan 2, 2025 · 13 comments
Open

Users can not see Forms #3556

IT-META opened this issue Jan 2, 2025 · 13 comments

Comments

@IT-META
Copy link

IT-META commented Jan 2, 2025

Describe the bug
Hello,
My self-service user can not see Forms however they exists.
They have access when they copy/paste the link on web browser but can not see directly on the GLPI webpage.
I test with internal database user and SAML account (I use this standard for SSO) and the problem is the same.
Thanks for your help.
Steve

To Reproduce
Steps to reproduce the behavior:

  1. Go to Forms
  2. No Item Found

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

image

GLPI / Plugins (please complete the following information):

  • GLPI version : 10.0.16
  • list of all plugins with their version: Additional fields 1.21.15 / Form Creator 2.13.9 / GLPISAML 1.1.10 / Objects Management 2.14.10

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser : Edge / Firefox
  • Version 131.0.2903.112 / 128.5.2esr

Additional context
Add any other context about the problem here.

@Chobbot
Copy link

Chobbot commented Apr 3, 2025

Same problem on GLPI 10.0.18. and formcreator 2.13.10

@SupportAnjou
Copy link

Same problem on GLPI 10.0.18. and formcreator 2.13.10. Any fix released?

@btry
Copy link
Collaborator

btry commented Apr 24, 2025

Hi,

Is this a regression compared to 2.13.8 or 2.13.9 ?

@SupportAnjou
Copy link

Yes, user cannot see forms in self-service portal, even if they exist an accessible with the url.
Same comportement with GLPI 10.0.18 and formcreator 2.13.9.

GLPI 10.0.15 with formcreator 2.13.9-10 everything is fine.

@btry
Copy link
Collaborator

btry commented Apr 24, 2025

Then it seems that a an upgrade of GLPI is responsible of the issue, am I right ?

@SupportAnjou
Copy link

Yes.

@btry
Copy link
Collaborator

btry commented Apr 24, 2025

Can you show the access restrictions of the impacted form ?

Image

@SupportAnjou
Copy link

Image

Image

@btry
Copy link
Collaborator

btry commented Apr 24, 2025

1 - the form is in private access mode. Is the impacted user using the helpdesk interface, the simplified interface or the service catalog ?

2 - About the display error, it should be solved with the following command line

php ./bin/console plugins:formcreator:scss

@SupportAnjou
Copy link

1- With the standard interface, the forms are showing up, but not in the simplified interface.

Image

Image

2- Command line completed successfully, but diplay error still persist.

@btry
Copy link
Collaborator

btry commented Apr 25, 2025

2 - refresh the web page with F5 or Ctrl+R. If this does not works, get the MD5 sum of formcreator/css_compiled/styles.min.css

@SupportAnjou
Copy link

a85745e3bfcefd2b7fbbddb3a93f7539 styles.min.css

@btry
Copy link
Collaborator

btry commented May 2, 2025

2 - The same file in the archive has a different checksum. you may want to overwrite the file with he version from the archive and try again to refresh the page. On my side I don't reproduce a display problem with it.

1 - in which entity is the form and in which entity is the user ?

Also it may be interesting to analyze the SQL queries in charge if finding forms to display. In debug mode, in both cases, find sql queries sImilar to these

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants