Skip to content

GLPI 11 compatibility#969

Merged
Rom1-B merged 22 commits into
mainfrom
feature/glpi-11.0
Sep 30, 2025
Merged

GLPI 11 compatibility#969
Rom1-B merged 22 commits into
mainfrom
feature/glpi-11.0

Conversation

@RomainLvr
Copy link
Copy Markdown
Contributor

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

  • Here is a brief description of what this PR does

GLPI 11 compatibility

@RomainLvr RomainLvr requested review from Rom1-B and stonebuzz June 30, 2025 15:22
@RomainLvr RomainLvr self-assigned this Jun 30, 2025
@RomainLvr RomainLvr mentioned this pull request Jun 30, 2025
4 tasks
@RomainLvr RomainLvr changed the title Feature/glpi 11.0 GLPI 11 compatibility Jun 30, 2025
@stonebuzz
Copy link
Copy Markdown
Contributor

Massive action to update additionals fields are broken

image

@stonebuzz stonebuzz force-pushed the feature/glpi-11.0 branch from 0377a5e to 2090d9e Compare July 1, 2025 13:18
@flegastelois
Copy link
Copy Markdown
Contributor

When we delete a block you get this error:

Executing direct queries is not allowed!
In ./src/DBmysql.php(343)
#0 ./files/_plugins/fields/inc/computertest.class.php(166): DBmysql->query()
#1 ./marketplace/fields/inc/container.class.php(742): PluginFieldsComputertest::uninstall()
#2 ./src/CommonDBTM.php(2169): PluginFieldsContainer->pre_deleteItem()
#3 ./marketplace/fields/front/container.form.php(52): CommonDBTM->delete()
#4 ./src/Glpi/Controller/LegacyFileLoadController.php(59): require('...')
#5 ./vendor/symfony/http-kernel/HttpKernel.php(181): Glpi\Controller\LegacyFileLoadController->__invoke()
#6 ./vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#7 ./vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()
#8 ./public/index.php(70): Symfony\Component\HttpKernel\Kernel->handle()
#9 {main}
``

@RomainLvr RomainLvr force-pushed the feature/glpi-11.0 branch from d1d2db7 to d283fde Compare July 7, 2025 09:40
@stonebuzz stonebuzz force-pushed the feature/glpi-11.0 branch from 8c3e9e9 to 2f13d14 Compare July 8, 2025 13:41
@stonebuzz
Copy link
Copy Markdown
Contributor

Executing direct queries is not allowed!

This is fixed, but now, i can read au container

itemtype_link is disable

image

Comment thread ajax/container.php Outdated
Comment thread ajax/container.php Outdated
Comment thread ajax/container.php Outdated
Comment thread ajax/container.php Outdated
Comment thread front/container.form.php Outdated
Comment thread front/container.form.php Outdated
Comment thread inc/containerdisplaycondition.class.php Outdated
@stonebuzz
Copy link
Copy Markdown
Contributor

@RomainLvr

can you check !39231

RomainLvr and others added 13 commits September 29, 2025 15:03
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
Rom1-B and others added 6 commits September 29, 2025 15:07
* genericobject compatibility

* review

* glpi_plugin_genericobject_types

* Check GenericObject version

* Check glpi_plugin_genericobject_types table

* fix escape

* fix check version

* fix(customasset): handle escaped backslashes in json decode itemtypes

* Apply suggestion from @Rom1-B

---------

Co-authored-by: MyuTsu <gaetan.langlois31@gmail.com>
@Rom1-B Rom1-B merged commit 711842b into main Sep 30, 2025
3 checks passed
@Rom1-B Rom1-B deleted the feature/glpi-11.0 branch September 30, 2025 13:52
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.

5 participants