c# - Sitecore throwing exception for unique index when we try to publish -
we getting exception when trying make change in existing sitecore item , publish web db.
following exception- message: cannot insert duplicate key row in object 'dbo.versionedfields' unique index 'ndxunique'. duplicate key value (48338b8b-7bfb-44e4-9715-3bafc826abfe, en, 1, b05b85e8-20a6-4f1c-9a04-1645d9a262b4).
the statement has been terminated. source: sitecore.kernel @ sitecore.data.dataproviders.sql.dataprovidercommand.executenonquery() @ sitecore.data.dataproviders.sql.sqldataapi.<>c__displayclass15.b__14() @ sitecore.data.dataproviders.nullretryer.execute[t](func1 action, action recover) @ sitecore.data.dataproviders.sql.sqldataprovider.writeversionedfield(id itemid, fieldchange change, datetime now, boolean fieldsareempty) @ sitecore.data.dataproviders.sql.sqldataprovider.updateitemfields(id itemid, itemchanges changes) @ sitecore.data.dataproviders.sql.sqldataprovider.<>c__displayclass1d.<saveitem>b__1b() @ sitecore.data.dataproviders.nullretryer.executenoresult(action action, action recover) @ sitecore.data.dataproviders.sql.sqldataprovider.saveitem(itemdefinition itemdefinition, itemchanges changes, callcontext context) @ sitecore.data.dataproviders.dataprovider.saveitem(itemdefinition item, itemchanges changes, callcontext context, dataprovidercollection providers) @ sitecore.data.datasource.saveitem(id itemid, itemchanges changes) @ sitecore.data.engines.enginecommand
2.execute() @ sitecore.data.engines.dataengine.saveitem(item item) @ sitecore.data.managers.itemprovider.saveitem(item item) @ sitecore.data.items.itemediting.acceptchanges(boolean updatestatistics, boolean silent) @ sitecore.data.items.editcontext.dispose() @ sitecore.publishing.publishhelper.copytotarget(item sourceversion) @ sitecore.publishing.publishhelper.publishversiontotarget(item sourceversion, item targetitem, boolean targetcreated) @ sitecore.publishing.pipelines.publishitem.performaction.executeaction(publishitemcontext context) @ sitecore.publishing.pipelines.publishitem.performaction.process(publishitemcontext context) @ (object , object[] ) @ sitecore.pipelines.corepipeline.run(pipelineargs args) @ sitecore.publishing.pipelines.publishitem.publishitempipeline.run(publishitemcontext context) @ sitecore.publishing.pipelines.publish.processqueue.processentries(ienumerable1 entries, publishcontext context) @ sitecore.publishing.pipelines.publish.processqueue.processentries(ienumerable
1 entries, publishcontext context) @ sitecore.publishing.pipelines.publish.processqueue.processentries(ienumerable1 entries, publishcontext context) @ sitecore.publishing.pipelines.publish.processqueue.processentries(ienumerable
1 entries, publishcontext context) @ sitecore.publishing.pipelines.publish.processqueue.processentries(ienumerable`1 entries, publishcontext context) @ sitecore.publishing.pipelines.publish.processqueue.process(publishcontext context)
do 1 have idea it?
Comments
Post a Comment