Skip to content

Fix form submission error when 'Use technician group on ticket creation' is enabled - #512

Merged
Rom1-B merged 5 commits into
mainfrom
fix/assign-user-group-scalar-users-id-assign
Oct 22, 2026
Merged

Rom1-B merged 5 commits into
mainfrom
fix/assign-user-group-scalar-users-id-assign

Conversation

@Lainow

@Lainow Lainow commented Oct 7, 2026

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

  • It fixes !46738
  • Here is a brief description of what this PR does

When the core auto-assigns the technician (from the ITIL category or the item), _users_id_assign is a scalar ID, not an array. assignUserGroup() now handles both.

Screenshots (if appropriate):

@Lainow Lainow self-assigned this Oct 7, 2026
@Lainow
Lainow requested review from Herafia, MyvTsv and RomainLvr October 7, 2026 12:17
@Lainow
Lainow requested a review from Rom1-B October 12, 2026 08:07
Comment thread inc/ticket.class.php Outdated
Co-authored-by: Romain B. <8530352+Rom1-B@users.noreply.github.com>
@Lainow
Lainow requested a review from Rom1-B October 22, 2026 14:07
@Rom1-B
Rom1-B merged commit 94605c4 into main Oct 22, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the fix/assign-user-group-scalar-users-id-assign branch October 22, 2026 14:35
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