Skip to content

Fix email follow up by actor (GLPI 11.0.x) - #97

Merged
Rom1-B merged 1 commit into
11.0/bugfixesfrom
fix/email-followup-by-actor-11
Nov 27, 2026
Merged

Rom1-B merged 1 commit into
11.0/bugfixesfrom
fix/email-followup-by-actor-11

Conversation

@Lainow

@Lainow Lainow commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

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

ticket : !46820

Description

Backport of #81 to GLPI 11.0.x.

Brings back the Formcreator "email followup" per actor, lost by the forms migration.

  • New "Email followup" destination field: one toggle per actor source (requesters, observers, assignees). A person found only by disabled sources gets no followup.
  • New plugins:advancedforms:import-formcreator-actors-notification command to import the Formcreator settings (--dry-run, --force). Imported destinations are skipped by the next runs, so manual changes are kept.

GLPI 11 change: AbstractCommand::getDb() only exists in GLPI 12, so the command defines its own (running the main version on GLPI 11 fails with Attempted to call an undefined method named "getDb").

Brings back the Formcreator "email followup" per actor on GLPI 11:
"Email followup" destination field and the
plugins:advancedforms:import-formcreator-actors-notification command.

GLPI 11 has no AbstractCommand::getDb(), the command defines its own.

(cherry picked from commit 385ac51)
@Lainow
Lainow requested review from a team, Rom1-B, RomainLvr and jdurand-teclib and removed request for a team November 26, 2026 09:25
@Lainow Lainow self-assigned this Nov 26, 2026
@Rom1-B
Rom1-B merged commit 6c51cde into 11.0/bugfixes Nov 27, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the fix/email-followup-by-actor-11 branch November 27, 2026 08:59
@glpi-project

glpi-project Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

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

Target Status
main ⚠️ Drafted with conflicts #98

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.

3 participants