Skip to content

[main] fix(core): Fix mandatory fields error when creating an item with an assigned technician - #1359

Draft
glpi-project[bot] wants to merge 1 commit into
mainfrom
forward-port/1332-to-main
Draft

glpi-project[bot] wants to merge 1 commit into
mainfrom
forward-port/1332-to-main

Conversation

@glpi-project

@glpi-project glpi-project Bot commented Nov 17, 2026

Copy link
Copy Markdown

Forward-port of #1332 to main.

  • 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

  • It fixes !46829 & !47460 & !46413
  • Here is a brief description of what this PR does

When an item with a filled mandatory field is created with an assigned technician, the Some mandatory fields are empty error is displayed although the value is saved, and the ticket stays in the New status instead of Processing (assigned).

Steps to reproduce

  1. Go to Setup > Additional fields and create a block:
    • Type: Insertion in the form
    • Associated item type: Ticket
  2. In this block, add a Text field named Tel and check Mandatory field.
  3. Go to Assistance > Tickets > Create ticket.
  4. Fill the title, the description and the Tel field.
  5. In the Actors section, add a technician in Assigned to.
  6. Click Add.

@glpi-project

glpi-project Bot commented Nov 17, 2026

Copy link
Copy Markdown
Author

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin forward-port/1332-to-main
git worktree add --checkout .worktree/forward-port/1332-to-main forward-port/1332-to-main
cd .worktree/forward-port/1332-to-main
git reset --hard HEAD^
git cherry-pick -x 1ce0087c1d513e150c9a3dc0a4aad42f686d32c4

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.

1 participant