Hello team,
Broadleaf throws an exception when I attempt to alter/add a product to those displayed on the home page.
After logging in as admin, I click on...
Catalog>> Categories>>Home>>Products>>Add
But when selecting a product from the pop up list, I get the following exception.
An error occurred×
Problem adding new entity : org.hibernate.exception.ConstraintViolationException: Duplicate entry '12' for key 1 org.broadleafcommerce.common.exception.ServiceException: Problem adding new entity : org.hibernate.exception.ConstraintViolationException: Duplicate entry '12' for key 1 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Duplicate entry '12' for key 1 org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1387) org.hibernate.exception.ConstraintViolationException: Duplicate entry '12' for key 1 org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:74) com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '12' for key 1 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Is this perhaps a bug?
Thanks & regards,
Chris.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.