Skip to content

[bug] Plugin fix - #12805

Merged
SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:plugin-fix
Sep 7, 2026
Merged

SchrodingersGat merged 3 commits into
inventree:masterfrom
SchrodingersGat:plugin-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Handle case where plugin is missing a plugin config on load

@SchrodingersGat SchrodingersGat added this to the 1.6.0 milestone Sep 7, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed plugin Plugin ecosystem backport Apply this label to a PR to enable auto-backport action backport-to-1.5.x labels Sep 7, 2026
@netlify

netlify Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit ad51be9
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a9e2c74843e7500083540f8

@codecov

codecov Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.18%. Comparing base (9bc5054) to head (ad51be9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12805   +/-   ##
=======================================
  Coverage   87.17%   87.18%           
=======================================
  Files        1486     1486           
  Lines      101206   101227   +21     
  Branches    11524    11524           
=======================================
+ Hits        88228    88252   +24     
+ Misses      12916    12913    -3     
  Partials       62       62           
Flag Coverage Δ
backend 91.19% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 92.49% <100.00%> (+<0.01%) ⬆️
Backend General 94.71% <ø> (ø)
Frontend 79.76% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 2566d33 into inventree:master Sep 7, 2026
59 of 60 checks passed
@SchrodingersGat
SchrodingersGat deleted the plugin-fix branch September 7, 2026 04:45
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.5.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Sep 7, 2026
* [bug] Handle null plugin instance

* Add regression test

* Fix secondary instances of same bug

(cherry picked from commit 2566d33)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action backport-to-1.5.x bug Identifies a bug which needs to be addressed plugin Plugin ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant