Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: only require min value of quantity range with major version 6.8 (backport: 6.7.9.x)#16421

Merged
Phung Nguyen (rittou) merged 1 commit into
6.7.9.xfrom
fix/major-check-min-value-of-quantity-range-backport-6.7.9.x
Apr 24, 2026
Merged

fix: only require min value of quantity range with major version 6.8 (backport: 6.7.9.x)#16421
Phung Nguyen (rittou) merged 1 commit into
6.7.9.xfrom
fix/major-check-min-value-of-quantity-range-backport-6.7.9.x

Conversation

@shopware-octo-sts-app
Copy link
Copy Markdown
Contributor

Backport: #16412


1. Why is this change necessary?

Shopware 6.7.9 started rejecting product price payloads with quantityStart below 1. This breaks existing 6.7 integrations such as the reported JTL Connector product sync case.

2. What does this change do, exactly?

Keeps the stricter quantityStart/quantityEnd minimum value validation for 6.8 and restores the previous 6.7 entity definition behavior.

3. Describe each step to reproduce the issue or behaviour.

Use the JTL Connector with Shopware 6.7.9 and push a product payload containing price records with quantityStart: 0. The sync fails with This value should be 1 or more on /prices/*/quantityStart.

4. Please link to the relevant issues (if any).

5. Checklist

  • I have written tests and verified that they fail without my change
  • I have updated developer-facing release notes if this change is relevant for external developers:
    • Add a short entry to RELEASE_INFO-6.<major>.md under “Upcoming” for informational changes, including the consequences of the change and how it affects external developers.
    • Add an UPGRADE section in UPGRADE-6.<next-major>.md for breaking changes (what/why/impact/how to adapt).
    • See the Documenting a Release Process for details.
  • I have written or adjusted the documentation according to my changes
  • This change has comments for package types, values, functions, and non-obvious lines of code
  • I have read the contribution requirements and fulfilled them

@shopware-octo-sts-app shopware-octo-sts-app Bot added the domain/inventory Responsible for managing products and everything product-related label Apr 24, 2026
@github-actions github-actions Bot added external-contribution A PR contributed by a community member. milestone/6.7.9.1 labels Apr 24, 2026
@explore-openapi
Copy link
Copy Markdown

explore-openapi Bot commented Apr 24, 2026

OpenAPI Snapshot

⚠️ shopware/store-api — base 6.7.9.x — 14 changes (4 removals · 10 modifications)

Diff: https://explore-openapi.dev/diff#...

⚠️ shopware/admin-api — base 6.7.9.x — 43 changes (20 removals · 23 modifications)

Diff: https://explore-openapi.dev/diff#...

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (6.7.9.x@12abef5). Learn more about missing BASE report.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             6.7.9.x   #16421   +/-   ##
==========================================
  Coverage           ?   58.19%           
==========================================
  Files              ?     3054           
  Lines              ?    95629           
  Branches           ?        0           
==========================================
  Hits               ?    55649           
  Misses             ?    39980           
  Partials           ?        0           
Flag Coverage Δ
phpunit-migration 92.44% <ø> (?)
phpunit-unit 55.08% <ø> (?)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rittou Phung Nguyen (rittou) merged commit d4e4523 into 6.7.9.x Apr 24, 2026
82 checks passed
@rittou Phung Nguyen (rittou) deleted the fix/major-check-min-value-of-quantity-range-backport-6.7.9.x branch April 24, 2026 08:27
@github-actions github-actions Bot added this to the 6.7.9.1 milestone Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/inventory Responsible for managing products and everything product-related external-contribution A PR contributed by a community member. milestone/6.7.9.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants