Skip to content

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

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

glpi-project[bot] wants to merge 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

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

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.

1 participant