66
Views
2
Comments
[Mobile and React Translations] "An item with the same key has already been added."
Question
mobile-translations
Web icon
Forge asset by Hugo Lourenço

uploading the excel results in the "An item with the same key has already been added. " notification.

Seems like a bug to me, if a key has already been added, it should be updated instead of created.

2018-12-01 17-54-01
Sourav Pasari

Lode Desplancke wrote:

uploading the excel results in the "An item with the same key has already been added. " notification.

Seems like a bug to me, if a key has already been added, it should be updated instead of created.

 

 Hi,

It is the error for a unique key defined in the Entity. While uploading from excel, check if the the data with the Column is already present in Entity. If present then update otherwise insert. You have to add and "if" statement only.

You gave a very small description of your problem. Give some screenshot so that it become more clear.

2022-08-19 18-39-37
Lode Desplancke

That is indeed an error for a unique key problem. I know that, but I posted this here because this is not my component, and it might be helpfull for the creator of it to make his component better. 

And my description is what it is, it is litteraly the error given by the component. What more can I give... 

We just installed it, and use it, we did not develop in it ourselves.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.