Skip to content

Migration Generic Object - Personnal Fields #471

@EC2311

Description

@EC2311

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

11.0.5

Plugin version

3.0.2

Bug description

when migrating GenericObjet with custom fields (don't take care about the name of directory : it's well a v11 glpi)

Image

I do have a field defined in glpi\files_plugins\genericobject\xxxxx.constant.php like that

Image

Do you confirm when migrating we don't have to 'update' the plugin using the front screen, only using the console command ?

Relevant log output

[2026-03-04 08:51:54] glpi.CRITICAL:   *** Error thrown while running command "{command}". Message: "{message}"
  Backtrace :
  .\vendor\symfony\console\Application.php:745       
  .\vendor\symfony\console\Application.php:266       Symfony\Component\Console\Application->find()
  .\vendor\symfony\console\Application.php:175       Symfony\Component\Console\Application->doRun()
  .\bin\console:144                                  Symfony\Component\Console\Application->run()

[2026-03-04 09:25:09] glpi.ERROR:   *** Add operation failed.
  Backtrace :
  ...\Glpi\Migration\AbstractPluginMigration.php:369 
  ...\Migration\GenericobjectPluginMigration.php:483 Glpi\Migration\AbstractPluginMigration->importItem()
  ...\Migration\GenericobjectPluginMigration.php:258 Glpi\Migration\GenericobjectPluginMigration->importAssetsDefinitions()
  ...\Glpi\Migration\AbstractPluginMigration.php:139 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:1106      Symfony\Component\Console\Command\Command->run()
  .\src\Glpi\Console\Application.php:330             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

    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