Skip to content

Conversation

Rom1-B
Copy link
Contributor

@Rom1-B Rom1-B commented Aug 19, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

Since the genericobject plugin has been replaced natively by Assets in glpi11, this PR migrates the fields for assets.

Replace: #992

TODO

  • Check that the plugin is up to date (latest version).
  • Check the existence and integrity of the glpi_plugin_genericobject_types table.
  • Fix the escape bug with itemtypes. For example, the itemtype Glpi\CustomAsset\telephoneAsset becomes Glpi\CustomAsset\ elephoneAsset because the \t sequence is not correctly escaped and is interpreted as a tab.
  • Test with large tables.

@Rom1-B Rom1-B force-pushed the migration_genericobject_fields_to_core branch 3 times, most recently from 281bce6 to a290373 Compare August 20, 2025 14:18
@Rom1-B Rom1-B force-pushed the migration_genericobject_fields_to_core branch from 76e0c06 to 15952c2 Compare August 21, 2025 09:21
@Rom1-B Rom1-B requested a review from stonebuzz August 26, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants