glpi icon indicating copy to clipboard operation
glpi copied to clipboard

GLPI 11 - error migrate generic objects

Open ciberfred opened this issue 9 months ago • 3 comments

Code of Conduct

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

Is there an existing issue for this?

  • [x] I have searched the existing issues

Version

main branch

Bug description

php bin/console migration:genericobject_plugin_to_core lead to :

[=======>--------------------] 27% Importing "lecteurcartevitalebifente" objects...

13 "bistourielectriquecryode modèle" dropdown entries successfully imported. 1 "bornedevidange modèle" dropdown entries successfully imported. 1 "detecteurduganglionsentinelle modèle" dropdown entries successfully imported. 7 "eclairageoperatoire modèle" dropdown entries successfully imported. 5 "garrot modèle" dropdown entries successfully imported. 5 "generateur modèle" dropdown entries successfully imported. 19 "laser modèle" dropdown entries successfully imported. 5 "microscope modèle" dropdown entries successfully imported. 17 "moteur modèle" dropdown entries successfully imported. 2 "neurostimulateur modèle" dropdown entries successfully imported. 2 "phacoemulsificateurpiecesamain modèle" dropdown entries successfully imported. 3 "pompedirrigation modèle" dropdown entries successfully imported. 3 "rechauffeurdefluide modèle" dropdown entries successfully imported. 1 "rechauffeurpatient modèle" dropdown entries successfully imported. 3 "scieaplatreaspiration modèle" dropdown entries successfully imported. 11 "tableoperatoire modèle" dropdown entries successfully imported. 12 "autresdiver modèle" dropdown entries successfully imported. 1 "doppleroesophagienpieceamain modèle" dropdown entries successfully imported. 2 "oxymetredepoul modèle" dropdown entries successfully imported. 3 "oxymetriecerebraleplethysmo modèle" dropdown entries successfully imported. 1 "secheurdendoscope modèle" dropdown entries successfully imported. 4 "chariotsdecolonne modèle" dropdown entries successfully imported. 17 "lithospitalier modèle" dropdown entries successfully imported. 4 "ecrandereport modèle" dropdown entries successfully imported. 1 "test modèle" dropdown entries successfully imported. The migration failed. 🛈 The object types families have not been imported as they are not handled by GLPI. 🛈 The display preferences and saved searches related to a genericobject object type must be recreated manually. x Unable to copy Informations financières et administratives "N/A". ✓ 882 items created. ✓ 255 items reused.

Relevant log output


Page URL

No response

Steps To reproduce

database from 10.0.18 install glpi11 main branch launch setup => ok then try to import generic objects to glpi11 with console command => failed

Your GLPI setup information

No response

Anything else?

No response

ciberfred avatar May 07 '25 12:05 ciberfred

Is the Enable the financial and administrative information by default configuration set to Yes in the Setup > General > Assets page ?

Could you try to set it to no and test again ?

cedric-anne avatar May 07 '25 13:05 cedric-anne

Is the Enable the financial and administrative information by default configuration set to Yes in the Setup > General > Assets page ?

Could you try to set it to no and test again ?

seems ok without error with this turned off (does this script should turnoff automaticaly to import and revert back to original value ?) ...

  • dashboard widgets of theses objects are completly wipe out...
  • no families groups imported ??? (it was better on side menu instead of 50+ objects not ordered list in 'parc')

ciberfred avatar May 07 '25 13:05 ciberfred

seems ok without error with this turned off (does this script should turnoff automaticaly to import and revert back to original value ?)

It has to be fixed, I just wanted a confirmation about the root cause of your issue.

dashboard widgets of theses objects are completly wipe out.

There is probably something to do here.

no families groups imported ???

This feature has not been integrated in GLPI. I am not sure it will be available in GLPI 11.0.

cedric-anne avatar May 07 '25 13:05 cedric-anne

  • dashboard widgets of theses objects are completly wipe out...

Could you open an issue for this, with all the requested information and some more details about the expected behaviour?

cedric-anne avatar Aug 12 '25 12:08 cedric-anne