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

[5.6.1]: Values copied from other site are not saved #16537

Closed
wsydney76 opened this issue Jan 27, 2025 · 2 comments
Closed

[5.6.1]: Values copied from other site are not saved #16537

wsydney76 opened this issue Jan 27, 2025 · 2 comments
Assignees
Labels

Comments

@wsydney76
Copy link

What happened?

Description

Using the new 'Copy value from site...', the value from the other site is actually copied into a plaintext field, however after pressing 'Save', the new value is not saved and the previous value is still there.

Worth noting that the copy action does not trigger the blue changed indicator.

Seems to work with the native title field, and - fun fact - when in live preview.

Steps to reproduce

  1. Have two sites with different languages
  2. Have a section with custom plaintext field, set to translate by language or translate by site
  3. Have an entry with different values for both sites
  4. 'Copy value form site...' -> the text field shows the copied value
  5. CTRL+S -> the text field shows the old value

Expected behavior

The copied value is saved.

Actual behavior

It is not.

PS.
This shows up when the little modal is opened:

Image

No more JS errors when 'Copy' is pressed

Craft CMS version

Craft Solo 5.6.1

PHP version

8.3.16

Operating system and version

Linux 5.15.167.4-microsoft-standard-WSL2

Database type and version

MySQL 8.0.40

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

  • none
@i-just
Copy link
Contributor

i-just commented Jan 27, 2025

Hi, thanks for reporting! I raised a PR for this.

@brandonkelly
Copy link
Member

Craft 5.6.2 is out with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants