Active
Project:
Feeds
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Nov 2023 at 22:52 UTC
Updated:
26 Apr 2026 at 19:38 UTC
Jump to comment: Most recent
When importing a dual language nodes, with main language set to PT, I can't map a node author:
Authored by (uid): Authored by: this field cannot hold more than 1 values
Create a new feed on a multilang node type.
Set a default lang and author as feed owner (running with ID:1 user)
Map an "Authored by" field and set a fixed value distinct from ID:1, of an existing user
The message appears when importing
If we map an "Authored by" to other language, than it works fine.
it look like feeds is concatenating the mapping uid with the feeds config of having a Feed:owner user and the node owner.
By looking at these threads, I was expecting mapping to override the feeds config.
Comments
Comment #2
davidiio commentedHello,
We have the same issue here and this patch from a somehow similar issue didn't fix the porblem:
similar issue: https://www.drupal.org/project/feeds/issues/3189557
We have a multilingual site we have imported users and then we tried to import articles and set the uid as the feeds_item.guid of the previously imported user and faced the same issue
Authored by (uid): Authored by: this field cannot hold more than 1 valuesThe Article content type is translatable but the author field is not translatable. In the feeds mappings the language for the authored by mapping is set as default.
Maybe there is something wrong between the author set in the feed general configuration and the author from the mapping?
We have created a simple environnement on simplytest.me and the issue is the same
You can try it here https://master-hfr0tovoioejutcmmgxmlqbhohe8jk8x.tugboatqa.com with login/pass = admin/admin
Update:
If we run a first import of the articles without the mapping to uid and then add the mapping and re-run the import we don't have this issue and the uid is set. But when we need to re-import, then we have to remove the mapping to uid, run an import then re-create the mapping and re-run the import...
Comment #3
megachrizI know that multilingual support in Feeds is not perfect yet, but since I don't have clients with multilingual sites currently, I prioritize other Feeds issues as of now. Unfortunately, I don't know a good workaround for this issue. Perhaps making 'Authored by' translatable or using a separate feed type for this field? I would need to dive in deeper into this topic in order to think of better workarounds.
Note: the provided link results into "Preview Not Found". Was it only available for a very short amount of time?
Tagging issue with "multilanguage", so I can find this issue back as soon as I plan to focus on Feeds multilingual issues again.
Comment #4
davidiio commentedThanks for your answer Megachriz. It is not blocking for us anyway. I will investigate if I have time.
Comment #5
cimo75 commentedHallo this issue seems to be mitigated, at least, if you map the same UID in origin to each "authored by" mapping for each language, I am not sure why I have a language selector in that mapping as the field is not marked as translatable, the content type is and some of its fields.