Category assets not copied to new languages
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
Add two sites same domain, two languages for spanish and french. Oriiginal english category image asset field is not copied to new category image asset. But they appear to be for entries.
Steps to reproduce
[assumes categories have no urls]
- Add image asset field to category.
- Add icon to category image field
- Add two new sites french and spanish for same domain
- OPen category and edit in french - no original english asset is present or copied acorss
- There appears to be no way to trigger this
Additional info
- Craft version: Craft Pro 3.1.29
- PHP version:7.1.26
- Database driver & version: MySQL 5.7.23
- Plugins & versions:
Element API 2.5.4
Feed Me 4.1.0
Form builder 2.5.24
Freeform Pro 2.5.24
Guest Entries 2.2.3
Iconpicker 1.0.5
Imager v2.1.10
MobileDetect 1.0.2
pdfthumbnailer 1.0
Position Fieldtype 1.0.14
Readability 1.0.4
Redactor 2.3.3.2
Redactor Font Awesome 2.1.0
Retour 3.1.15
Section Field 1.1.0
SEOmatic 3.2.7
Splashing Images 1.2.0
Super Table 2.1.20
Template Select 2.0.2
Typogrify 1.1.18
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported setup by adding an image asset field to a category, assigning an icon in English, and creating French and Spanish sites for the same domain. Investigate the category-language creation and asset-copy flow, then verify that the localized categories contain the original asset and that the behavior is covered by a reproducible test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100