Skip to content

[bug] Prevent editing of model-type for data import - #12809

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:import-fix
Sep 7, 2026
Merged

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

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Prevent re-targeting of imported data type by editing model type after initiating import session

@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 api Relates to the API security Relates to a security issue 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 ready!

Name Link
🔨 Latest commit 32a8671
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a9e6c612f2d890008f839f8
😎 Deploy Preview https://deploy-preview-12809--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 92 (no change from production)
Accessibility: 82 (no change from production)
Best Practices: 92 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@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.21%. Comparing base (c959ca4) to head (32a8671).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12809      +/-   ##
==========================================
+ Coverage   87.19%   87.21%   +0.01%     
==========================================
  Files        1487     1486       -1     
  Lines      101366   101322      -44     
  Branches    11639    11611      -28     
==========================================
- Hits        88386    88366      -20     
+ Misses      12917    12894      -23     
+ Partials       63       62       -1     
Flag Coverage Δ
backend 91.20% <100.00%> (+0.01%) ⬆️

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

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

@SchrodingersGat
SchrodingersGat merged commit 5a73087 into inventree:master Sep 7, 2026
45 checks passed
@SchrodingersGat
SchrodingersGat deleted the import-fix branch September 7, 2026 11:08
@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API 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 security Relates to a security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant