Skip to content

Data Injection can't work with Additional Fileds #696

Open

Description

@barte91

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

GLPI 12.0.1

Plugin version

2.16.0

Bug description

Goodmorning,

I've an error if I try to set a new model of Datainjection
If in mapping tab, try to set an additional items it fails with this error:
"Access not permitted"

Example:
Data of Type Import: Network Devices
Is Private: no
Chiled Entities: Yes

Relevant log output

Glpi\Exception\Http\AccessDeniedHttpException
In ./src/CommonGLPI.php(1368)
#0 /var/lib/glpi/plugins/datainjection/front/model.form.php(112): CommonGLPI->display()
#1 ./src/Glpi/Controller/LegacyFileLoadController.php(64): require('...')
#2 ./vendor/symfony/http-kernel/HttpKernel.php(185): Glpi\Controller\LegacyFileLoadController->__invoke()
#3 ./vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#4 ./vendor/symfony/http-kernel/Kernel.php(193): Symfony\Component\HttpKernel\HttpKernel->handle()
#5 ./src/Glpi/Kernel/Kernel.php(214): Symfony\Component\HttpKernel\Kernel->handle()
#6 ./public/index.php(78): Glpi\Kernel\Kernel->handle()
#7 {main}

Page URL

https://mysrv/glpi/plugins/datainjection/front/model.form.php?id=26

Steps To reproduce

Try to set a new Model
-Data of Type Import: Network Devices
-Is Private: no
-Chiled Entities: Yes
Mapping
Table: Network devices - INVE
Fields: Inve - MerakiCloudID
..... and other

it fail with permission denied

Your GLPI setup information

No response

Anything else?

No response

Activity

  1. barte91 commented on Nov 6, 2026

    @barte91
    Author

    I try with fix #698 and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions