Skip to content

Fix: prevent crash and warnings on items export for Problems and Changes#64

Closed
Rom1-B wants to merge 1 commit into
10.0/bugfixesfrom
support_43284
Closed

Fix: prevent crash and warnings on items export for Problems and Changes#64
Rom1-B wants to merge 1 commit into
10.0/bugfixesfrom
support_43284

Conversation

@Rom1-B
Copy link
Copy Markdown

@Rom1-B Rom1-B commented May 19, 2026

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.

Description

  • It fixes !43955
  • Items linked to a Problem or Change may not have serial/otherserial columns (e.g. Software, User, Budget). Accessing these missing array keys caused a fatal TypeError in item_problem (crashing PDF generation) and a PHP warning flood in change_item. Use null-coalescing to default to an empty string.

Also to be done in 11

@Rom1-B Rom1-B closed this May 19, 2026
@Rom1-B Rom1-B deleted the support_43284 branch May 19, 2026 09:08
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.

1 participant