Developer forum

Forum » Ecommerce - Standard features » Error in making an copy of a product

Error in making an copy of a product

Cecilia Sørensen Vejle
Cecilia Sørensen Vejle
Reply

Hi,

I have tried to copy a product on this solution: http://swift-blomberg.espresso4.dk, and get this error:

Can you help?

The solution is an SWIFT 1.6.1


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

I've checked my Swift solution has regular database and based on DW9.12.10 (like in your solution mentioned above) and up admin version and was not able to reproduce it. I've had a look at your solution quickly and saw the exception occurs even if new product is created, other issue I see  - language selector in ecom form does not allow to change ecom language. The database looks like as broken. Ecom structure seems to have fully been created via integration tasks. Please, confirm.

BR, Oleg QA  

 
Cecilia Sørensen Vejle
Cecilia Sørensen Vejle
Reply

Hi Oleg.

Ok. Thanks. I have a look at that.

It is correct, that the data is importet.

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Cecilia

I think this issue is due to an import that you have created from another Dynamicweb instance, as Oleg also suggests.

When you import product data from another Dynamicweb instance, all products will have the ID looking like this: PROD949 - this is Dynamicweb generated IDs

When you try to make a copy of a product on these imported products, Dynamicweb tries to make a new product ID for the new copy - but this database does contain information about your current ids and ends up creating an ID that already exists.

I know it is a little difficult to understand - but your integration team will, I guess:

They need to change this record in the table "EcomNumbers"

157 needs to be set to a number higher than the current productids.

BR Nicolai

Votes for this answer: 1
 
Cecilia Sørensen Vejle
Cecilia Sørensen Vejle
Reply

Hi Nicolai,

Agree. That needs to be adjusted.

Thanks :)

 

 

You must be logged in to post in the forum