Skip to content

Fix: prevent order lockout from the status dropdown - #633

Merged
Herafia merged 2 commits into
11.0/bugfixesfrom
issue_623
Nov 20, 2026
Merged

Herafia merged 2 commits into
11.0/bugfixesfrom
issue_623

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Nov 17, 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 Locking Fields When Using a Custom Status. #623
  • Picking a custom or post-validation status (or the empty choice) in the order form locked the order permanently, since only draft and waiting for approval orders are editable.
  • The status dropdown now only offers these two states; the other ones are reached through the validation workflow.
  • Default status labels were also stored HTML-escaped at install (e.g. En cours d'édition); they are now stored raw and existing ones are decoded on update.

Screenshots (if appropriate):

@Rom1-B Rom1-B mentioned this pull request Nov 17, 2026
2 tasks done
@Rom1-B Rom1-B linked an issue Nov 17, 2026 that may be closed by this pull request
2 tasks done
@Rom1-B
Rom1-B requested review from a team, Herafia, Mary-Clb and jdurand-teclib and removed request for a team November 17, 2026 14:43
@Herafia
Herafia merged commit 6c8a4b1 into 11.0/bugfixes Nov 20, 2026
7 checks passed
@Herafia
Herafia deleted the issue_623 branch November 20, 2026 13:20
@glpi-project

glpi-project Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Backport-action backported this pull request in workflow run 44743427695.

Target Status
main ⚠️ Drafted with conflicts #635

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.

Locking Fields When Using a Custom Status.

3 participants