Skip to content

Error importing generic object GLPI 10.0.19 to 11 RC5 #21080

@lucaslevi-consultor-glpi

Description

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

Version

GLPI 11 rc5

Bug description

Good afternoon everyone,

I updated GLPI here in the test version 0.19 to GLPI 11 rc5.

After updating, I was able to import the forms normally, but the generic objects created gave this error:

Image

🛈 Object type families were not imported, as they are not supported by GLPI.
🛈 Display preferences and saved searches related to a genericobject object type must be recreated manually.
x An unexpected error occurred
x The migration was aborted due to errors, all changes have been reverted.

In this case, I have a glpi 10.0.19 with about 16 generic objects created. There are also two families of objects created, but they are not associated with any of the 16 objects.

Relevant log output

glpi.ERROR:   *** MySQL query error: Table 'glpi_11provadefogo.glpi_plugin_genericobject_uauses' doesn't exist (1146) in SQL query "SELECT * FROM `glpi_plugin_genericobject_uauses`".
  Backtrace :
  ./src/DBmysql.php:381                              
  ./src/DBmysqlIterator.php:123                      DBmysql->doQuery()
  ./src/DBmysql.php:1050                             DBmysqlIterator->execute()
  .../Migration/GenericobjectPluginMigration.php:644 DBmysql->request()
  .../Migration/GenericobjectPluginMigration.php:258 Glpi\Migration\GenericobjectPluginMigration->importDropdowns()
  .../Glpi/Migration/AbstractPluginMigration.php:137 Glpi\Migration\GenericobjectPluginMigration->processMigration()
  ...Migration/AbstractPluginMigrationCommand.php:88 Glpi\Migration\AbstractPluginMigration->execute()
  ./vendor/symfony/console/Command/Command.php:326   Glpi\Console\Migration\AbstractPluginMigrationCommand->execute()
  ./vendor/symfony/console/Application.php:1096      Symfony\Component\Console\Command\Command->run()
  ./src/Glpi/Console/Application.php:320             Symfony\Component\Console\Application->doRunCommand()
  ./vendor/symfony/console/Application.php:324       Glpi\Console\Application->doRunCommand()
  ./vendor/symfony/console/Application.php:175       Symfony\Component\Console\Application->doRun()
  ./bin/console:144                                  Symfony\Component\Console\Application->run()

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions