Skip to content

[bug] Settings fix - #13156

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:settings-fix
Nov 2, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:settings-fix

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Bug fix for bulk create of missing user settings. Concurrent web requests can cause multiple bulk-create actions which result in DB conflict

bug reported via sentry.io

- Prevent database error on conflicting rows
- Can be caused by concurrent user requests
@SchrodingersGat SchrodingersGat added this to the 1.7.0 milestone Nov 1, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action backport-to-1.6.x labels Nov 1, 2026
@netlify

netlify Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

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

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

@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.95%. Comparing base (61a2c2a) to head (a77c722).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #13156   +/-   ##
=======================================
  Coverage   86.94%   86.95%           
=======================================
  Files        1563     1563           
  Lines      110670   110692   +22     
  Branches    12042    12042           
=======================================
+ Hits        96227    96252   +25     
+ Misses      14376    14373    -3     
  Partials       67       67           
Flag Coverage Δ
backend 91.22% <100.00%> (+<0.01%) ⬆️

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

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

@SchrodingersGat
SchrodingersGat merged commit 4fb0226 into inventree:master Nov 2, 2026
51 checks passed
@SchrodingersGat
SchrodingersGat deleted the settings-fix branch November 2, 2026 01:09
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.6.x

Questions ?

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

@github-actions github-actions Bot mentioned this pull request Nov 2, 2026
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 bug Identifies a bug which needs to be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants