shopware
shopware copied to clipboard
fix: media name and description usage
1. Why is this change necessary?
Media name and description are not correctly mapped.
2. What does this change do, exactly?
- Fix the hydration and conversion of media name and description.
- Add media name fallbacks if no description is available.
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist
- [x] I have written tests and verified that they fail without my change
- [x] I have squashed any insignificant commits
- [ ] This change has comments for package types, values, functions, and non-obvious lines of code
- [x] I have read the contribution requirements and fulfil them.