hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Link Entry is not translated when Multiple Links is enabled

Open stepbert opened this issue 1 year ago • 6 comments

Describe the bug

When multiple links are enabled, the Entry link does not change to the corresponding Entry when switching to another language.

Steps to reproduce

  1. Create a Link field with multiple links enabled.
  2. Add a link to an Entry type.
  3. Create a link with an Entry in one language and save it.
  4. Switch to another language.
  5. Observe that the linked Entry is not translated.

Craft CMS version

5.5.0.1

Plugin version

2.1.2

Multi-site?

Yes

Additional context

No response

stepbert avatar Nov 15 '24 15:11 stepbert

I got the same problem with Craft 5.4.10.1 and Hyper 2.1.2. @engram-design mentioned, it was fixed in #196. However, this was for Craft 4.11.x It would be nice if there will be a fix soon (:

remoflury avatar Nov 18 '24 06:11 remoflury

I got the same problem with Craft 5.5.5 and Hyper 2.2.1. Would it be possible to fix it please. Thanks.

smcyr avatar Dec 09 '24 16:12 smcyr

Things seem to be working correctly for me in either Craft 4 or Craft 5. Links are only propagated if the owner entry is considered fresh, which is the same behaviour as standalone element fields.

For example, if you're adding links to an existing entry, it's not going to propagate those links to each other site and match against the chosen element for that site. It'll only display this behaviour if you're creating a new entry.

engram-design avatar Dec 09 '24 23:12 engram-design

Here is a video of the bug.

https://github.com/user-attachments/assets/52f5e72f-8187-4473-b9e3-4ee0965f7546

stepbert avatar Dec 10 '24 14:12 stepbert

Thanks for confirming what you're seeing with that video, very helpful. I'll do my best to replicate that!

engram-design avatar Dec 11 '24 00:12 engram-design

Hi! Have you had time to look into this? We just found this bug in one of our Craft sites too.

mikesnoeren avatar Aug 06 '25 12:08 mikesnoeren