Skip to content

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

Merged
Rom1-B merged 3 commits into
mainfrom
forward-port/1332-to-main
Nov 20, 2026
Merged

Rom1-B merged 3 commits into
mainfrom
forward-port/1332-to-main

Conversation

@glpi-project

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

Copy link
Copy Markdown
Contributor

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
Contributor 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

@MyvTsv
MyvTsv requested review from a team, Mary-Clb, MyvTsv and Rom1-B and removed request for a team November 19, 2026 11:15
@MyvTsv
MyvTsv marked this pull request as ready for review November 19, 2026 11:16
@MyvTsv
MyvTsv requested review from Lainow and removed request for MyvTsv November 19, 2026 11:17
Comment thread CHANGELOG.md Resolved
@MyvTsv
MyvTsv requested a review from Rom1-B November 20, 2026 08:52
@Rom1-B
Rom1-B merged commit 103adc2 into main Nov 20, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the forward-port/1332-to-main branch November 20, 2026 11:55
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