Skip to content

Fix - Asset_PeripheralAsset column names for GLPI 11#200

Open
RomainLvr wants to merge 3 commits intomainfrom
fix/peripheral-asset-column-names
Open

Fix - Asset_PeripheralAsset column names for GLPI 11#200
RomainLvr wants to merge 3 commits intomainfrom
fix/peripheral-asset-column-names

Conversation

@RomainLvr
Copy link
Copy Markdown
Contributor

@RomainLvr RomainLvr commented Apr 8, 2026

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

Resolves SQL errors when uninstalling or replacing peripheral assets (Monitor, Peripheral, etc.)
Update plugin to use correct column names for the glpi_assets_assets_peripheralassets table in GLPI 11.x.

Changes

  • Uninstall: Use itemtype_peripheral/items_id_peripheral instead of deprecated itemtype/items_id
  • Replace: Use items_id_asset instead of deprecated computers_id when updating peripheral asset connections

@RomainLvr RomainLvr requested a review from Rom1-B April 8, 2026 08:13
@RomainLvr RomainLvr self-assigned this Apr 8, 2026
@Rom1-B
Copy link
Copy Markdown
Contributor

Rom1-B commented Apr 8, 2026

Can you please have the customer validate the patch?

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