Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category assets not copied to new languages #4391

Open
joomkit opened this issue Jun 11, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@joomkit
Copy link

commented Jun 11, 2019

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]

  1. Add image asset field to category.
  2. Add icon to category image field
  3. Add two new sites french and spanish for same domain
  4. OPen category and edit in french - no original english asset is present or copied acorss
  5. 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

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

After creating a new site, there will be a few “Resaving elements” background jobs that begin working. Did you ensure that those were completed first?

In your Assets field settings, under “Advanced”, do you have the “Manage relations on a per-site basis” checkbox ticked? If so this would be expected behavior.

@joomkit

This comment has been minimized.

Copy link
Author

commented Jun 12, 2019

They didn't seem to trigger properly. I added a new italian site and can see that some propagation of assets and category elements takes place. "manage relations" is not ticked. Checking category language assets still shows them not copied across. Is this because they might have been edited which would stop them from copying across?

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Jun 12, 2019

If a category was edited that should have just pushed its propagation to the front of the list.

If you send in your composer.json and composer.lock files, and a database backup, over to support@craftcms.com, plus steps to reproduce the issue, we can look into it from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.