Skip to content

docs: Correct administration error handling examples - #2650

Merged
Su (sushmangupta) merged 2 commits into
mainfrom
docs/correct-administration-error-handling-examples
Oct 23, 2026
Merged

Su (sushmangupta) merged 2 commits into
mainfrom
docs/correct-administration-error-handling-examples

Conversation

@d-kirkland

Copy link
Copy Markdown
Contributor

Summary

  • The page described a flat Vuex store; v6.7.15.1 registers an error store with separate api and system properties. The overview and tree now show that structure.
  • The page showed Vuex-style getter signatures and calls; the platform exposes getApiError and getApiErrorFromPath on the error store. The examples now use Shopware.Store.get('error') and show matching dot and array paths.
  • The page used sw-field for text inputs; the renderer maps text fields to mt-text-field. Both input examples now use mt-text-field.
  • The page bound hasError to sw-tabs; the product detail source sets has-error on sw-tabs-item. The page example now follows that pattern.

Related links

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant. (Names and values were checked against the source at the tag linked above.)
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted. (N/A, no page moved.)
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms. (No new prose words.)
  • Any required dependent changes in downstream modules have already been merged and published. (N/A)
  • This pull request is ready for review.

Notes

  • This PR was fully AI generated and requires human review. The text was drafted by an OpenAI model (gpt-6-luna) and checked by a second OpenAI model (gpt-6.1-sol), run from a Claude Code session. It has not been merged, approved or reviewed by a person. Please verify the claims and the changed text against the source before merging.
  • Defect type: Breaks (3 of 4 changes). A reader who follows the page as written ends up with code, markup or a command that fails or does not do what the page says.
  • Defect type: Wrong fact (1 of 4 changes). The page states a name, value or behavior that the 6.7 source contradicts. The example may still run, but readers are told something untrue.
  • Codebase files this change was checked against (tag v6.7.15.1): src/Administration/Resources/app/administration/src/app/component/form/sw-form-field-renderer/index.js L157-L159; src/Administration/Resources/app/administration/src/app/component/form/sw-form-field-renderer/index.js L330-L331; src/Administration/Resources/app/administration/src/app/service/map-errors.service.ts L20-L29; src/Administration/Resources/app/administration/src/app/store/error.store.ts L141-L146; src/Administration/Resources/app/administration/src/app/store/error.store.ts L162-L167; src/Administration/Resources/app/administration/src/app/store/error.store.ts L87-L92; src/Administration/Resources/app/administration/src/app/store/error.store.ts L92-L97; src/Administration/Resources/app/administration/src/app/store/index.ts L85-L88; src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-detail/sw-product-detail.html.twig L168-L172.
  • How it was found: a read-through of this page against shopware/shopware at tag v6.7.15.1, then an independent re-check by a second AI model that re-read the page and the cited source files. Please check the cited lines yourself before merging.
  • Scope: main (Shopware 6.7) only. Older docs branches are not touched.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@d-kirkland Daniel Kirkland (d-kirkland) added Improvement PR created to append/modify info in the existing article Info Missed To Document Info Missed To Document labels Oct 22, 2026
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 557f543
Preview: https://developer-documentation-4y1g0dexy-shopware-frontends.vercel.app
Workflow run: #5821

@shopware-dev-docs-connector

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Running.
Repository: shopware/docs
Commit: 169fde8
Preview: Waiting for workflow logs.

1 similar comment
@shopware-dev-docs-connector

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Running.
Repository: shopware/docs
Commit: 169fde8
Preview: Waiting for workflow logs.

@github-actions

Copy link
Copy Markdown
Contributor

📢 Developer Announcement Recommendation

Recommendation: ❌ No Announcement Recommended

No developer announcement signals were detected.

This PR does not appear to introduce developer-facing changes that require a community announcement.

@sushmangupta
Su (sushmangupta) merged commit c3a3ebf into main Oct 23, 2026
10 checks passed
@sushmangupta
Su (sushmangupta) deleted the docs/correct-administration-error-handling-examples branch October 23, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement PR created to append/modify info in the existing article Info Missed To Document Info Missed To Document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants