formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

undefined offset in entities config

Open verdanatech-marcela opened this issue 1 year ago • 2 comments

Describe the bug An error is displayed when debug mode is enabled

To Reproduce Steps to reproduce the behavior:

  1. access entity configuration
  2. Click on the forms tab
  3. turn on debug mode
  4. 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

image

verdanatech-marcela avatar Mar 27 '23 17:03 verdanatech-marcela

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.

btry avatar Mar 27 '23 17:03 btry

Hi

Is your problem solved ?

btry avatar Apr 03 '23 07:04 btry