Repository navigation
docs: Correct administration error handling examples - #2650
Merged
Su (sushmangupta) merged 2 commits intoOct 23, 2026
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Developer Docs healthcheckStatus: Completed with |
Developer Docs healthcheckStatus: Running. |
1 similar comment
Developer Docs healthcheckStatus: Running. |
Contributor
📢 Developer Announcement RecommendationRecommendation: ❌ No Announcement Recommended No developer announcement signals were detected.
|
Jannis Leifeld (jleifeld)
approved these changes
Oct 23, 2026
Su (sushmangupta)
approved these changes
Oct 23, 2026
Su (sushmangupta)
deleted the
docs/correct-administration-error-handling-examples
branch
October 23, 2026 07:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
errorstore with separateapiandsystemproperties. The overview and tree now show that structure.getApiErrorandgetApiErrorFromPathon the error store. The examples now useShopware.Store.get('error')and show matching dot and array paths.sw-fieldfor text inputs; the renderer maps text fields tomt-text-field. Both input examples now usemt-text-field.hasErrortosw-tabs; the product detail source setshas-erroronsw-tabs-item. The page example now follows that pattern.Related links
add-error-handling.mdL12add-error-handling.mdL54-L57add-error-handling.mdL66add-error-handling.mdL104add-error-handling.mdL151-L153v6.7.15.1):error.store.tsL87-L92: These lines register theerrorstore and show itssystemstate.error.store.tsL92-L97: These lines define the separatesystemandapiproperties.index.tsL85-L88: These lines usedefineStoreand identify the store type as Pinia.error.store.tsL141-L146: These lines show thatgetApiErrorFromPathaccepts an entity name, ID, and string-array path.error.store.tsL162-L167: These lines show thatgetApiErroraccepts an entity and dot-notation field, then splits the field into a path.map-errors.service.tsL20-L29: These lines show the helper callinggetApiErrorthroughShopware.Store.get('error').index.jsL157-L159: These lines treatsw-fieldas a legacy config value and resolve it to another component.index.jsL330-L331: These lines map text fields tomt-text-field.sw-product-detail.html.twigL168-L172: These lines bindhas-errorto thesw-tabs-itemcomponent.Checklist
PageRefreferences where relevant. (Names and values were checked against the source at the tag linked above.).gitbook.yamlif pages were moved, renamed, or deleted. (N/A, no page moved.).wordlist.txt(and sorted it) if spellcheck flags new legitimate terms. (No new prose words.)Notes
v6.7.15.1):src/Administration/Resources/app/administration/src/app/component/form/sw-form-field-renderer/index.jsL157-L159;src/Administration/Resources/app/administration/src/app/component/form/sw-form-field-renderer/index.jsL330-L331;src/Administration/Resources/app/administration/src/app/service/map-errors.service.tsL20-L29;src/Administration/Resources/app/administration/src/app/store/error.store.tsL141-L146;src/Administration/Resources/app/administration/src/app/store/error.store.tsL162-L167;src/Administration/Resources/app/administration/src/app/store/error.store.tsL87-L92;src/Administration/Resources/app/administration/src/app/store/error.store.tsL92-L97;src/Administration/Resources/app/administration/src/app/store/index.tsL85-L88;src/Administration/Resources/app/administration/src/module/sw-product/page/sw-product-detail/sw-product-detail.html.twigL168-L172.shopware/shopwareat tagv6.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.main(Shopware 6.7) only. Older docs branches are not touched.🤖 Generated with Claude Code