Skip to content

[main] Fix: prevent order lockout from the status dropdown - #635

Merged
Rom1-B merged 1 commit into
mainfrom
forward-port/633-to-main
Nov 24, 2026
Merged

Rom1-B merged 1 commit into
mainfrom
forward-port/633-to-main

Conversation

@glpi-project

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

Copy link
Copy Markdown
Contributor

Forward-port of #633 to main.

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):

@glpi-project

glpi-project Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

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

git fetch origin forward-port/633-to-main
git worktree add --checkout .worktree/forward-port/633-to-main forward-port/633-to-main
cd .worktree/forward-port/633-to-main
git reset --hard HEAD^
git cherry-pick -x 6c8a4b15c08a33542313cf5f6c1c5b0f02d7f8f2

@Rom1-B
Rom1-B force-pushed the forward-port/633-to-main branch from 559a4cc to 392d1a3 Compare November 23, 2026 08:37
@Rom1-B
Rom1-B marked this pull request as ready for review November 23, 2026 08:38
@Rom1-B
Rom1-B requested review from a team, Herafia, Rom1-B and jdurand-teclib and removed request for a team November 23, 2026 08:40
@Rom1-B
Rom1-B merged commit 6418c1b into main Nov 24, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the forward-port/633-to-main branch November 24, 2026 09:00
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.

2 participants