Skip to content

It says "No OCSNG server is defined", even though one exists #400

Description

@zekuraz

Description

Since the last update, when I click on the ‘Import new computer’ button, I get the following error message: ‘No OCSNG server is defined’

Image

However, if I go to "Configuration", and click "OCSNG Servers", the server does appear

Image

Environment

  • GLPI version: 11.0.6
  • OCS Inventory NG plugin: 2.1.11
  • PHP: >= 8.2

Steps to reproduce

  1. Enable OCS Inventory NG plugin
  2. Go to glpi/plugins/ocsinventoryng/front/ocsng.import.php

Expected behavior

Must display the import page


Actual behavior

Error message:

"Unexpected error occurred"


Logs

No bugs in the logs

Activity

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