formcreator
formcreator copied to clipboard
undefined offset in entities config
Describe the bug An error is displayed when debug mode is enabled
To Reproduce Steps to reproduce the behavior:
- access entity configuration
- Click on the forms tab
- turn on debug mode
- an error will be displayed on the service catalog home page option
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
GLPI / Plugins (please complete the following information):
- GLPI version - 10.0.6
- list of all plugins with their version (available in GLPI > Setup > General > tab System > bottom of the page)
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Hi
You're probably editing the root entity. The value -2 is used internally to set inheritance from the parent entity. This is not possible with the root entity.
Solution : set a value for this dropdown, then save the form. After the refresh of the page, the error should disappear.
Hi
Is your problem solved ?