When you have a different path per language, the value of the path field gets overwritten each time you save the node in a particular language.
When you make this field translatable, the attached path fixes this problem. It works, but I'm not sure if this is the correct implementation.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | edit_support_path_for-2883457-1.patch | 681 bytes | harrrrrrr |
Comments
Comment #2
harrrrrrr commentedComment #3
spleshkaHi Simon, thanks for raising this issue. Could you please add the use case which you tested with this patch? The module has several general use cases:
1. Save node/entity from the edit form
2. Save node/entity programmatically
3. Create/update path from pathauto UI
I wonder which cases are covered by your patch. Potentially the entity should be translated a bit earlier than it's done in the patch, but it needs a bit deeper research and testing.
Comment #5
spleshkaWas able to reproduce the issue locally - fixed the problem. Thanks once again for your patch - it was a good inspiration for the fix.