Skip to content

Fix entities where problem and change are created from asset form - #25070

Merged
trasher merged 4 commits into
glpi-project:11.0/bugfixesfrom
Lainow:fix-creation-entity-from-problem-change-since-asset
Aug 4, 2026
Merged

Fix entities where problem and change are created from asset form#25070
trasher merged 4 commits into
glpi-project:11.0/bugfixesfrom
Lainow:fix-creation-entity-from-problem-change-since-asset

Conversation

@Lainow

@Lainow Lainow commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

  • It fixes !45632
  • Here is a brief description of what this PR does
    When a problem or change was created from an asset's page, it was not created within the asset's entity; this was the case for tickets, but not for other ITIL objects.

Screenshots (if appropriate):

@Lainow Lainow self-assigned this Aug 3, 2026

@trasher trasher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix lint.

@Rom1-B Rom1-B left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix lint.

@Lainow
Lainow requested review from Rom1-B and trasher August 3, 2026 13:20
Comment thread src/CommonITILObject.php Outdated
Comment thread src/Ticket.php Outdated
Comment thread tests/functional/ChangeTest.php
Comment thread tests/functional/ProblemTest.php
@Lainow
Lainow requested a review from Rom1-B August 4, 2026 09:59
@trasher
trasher merged commit 52bf42f into glpi-project:11.0/bugfixes Aug 4, 2026
12 checks passed
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.

3 participants