<div dir="ltr">Hi Konrad,<br><br>My recent PR was successfully merged to master branch, but the changes were not reflected in the Demo site.<br><br><a href="https://github.com/almighty/almighty-core/pull/625">https://github.com/almighty/almighty-core/pull/625</a><br><br>This is the error from the server:<br><span style="font-family:arial,sans-serif;font-size:small;background-color:rgb(255,255,255)">------------------x<---------------------x<-----------------x<-----------------</span><br>2016/12/26 11:08:05 Failed to get current user: user: unknown userid 1000140000<br>2016/12/26 11:08:05 Opening DB connection attempt 1 of 50<br>2016/12/26 11:08:05 Current version 15. Nothing to update.<br>2016/12/26 11:08:05 loading work item type system.planneritem<br>2016/12/26 11:08:05 Work item type system.planneritem exists, will update/overwrite the fields only and parentPath<br><br>(pq: duplicate key value violates unique constraint "work_item_links_unique_idx")<br>[2016-12-26 11:08:05]<br>panic: pq: duplicate key value violates unique constraint "work_item_links_unique_idx"<br><br>goroutine 1 [running]:<br>panic(0xb2e0c0, 0xc820519980)<br>/usr/lib/golang/src/runtime/panic.go:481 +0x3e6<br>main.main()<br>/tmp/go/src/<a href="http://github.com/almighty/almighty-core/main.go:122">github.com/almighty/almighty-core/main.go:122</a> +0x9f1<br>------------------x<---------------------x<-----------------x<-----------------<div><br></div><div>When I tried to run a similar query this is the error I am getting.</div><div><br></div><div><div><span style="background-color:rgb(245,246,245)">------------------x<---------------------x<-----------------x<-----------------</span></div><div>UPDATE "work_item_types" SET "created_at" = '2016-11-18T12:43:04Z', "updated_at" = '2017-01-03T11:12:21+05:30', "deleted_at" = null, "version" = '0', "path" = '/system.planneritem' WHERE "work_item_types".deleted_at IS NULL AND "work_item_types"."name" = 'system.planneritem';</div><div>ERROR:  duplicate key value violates unique constraint "work_item_links_unique_idx"</div><div>DETAIL:  Key (source_id, target_id, link_type_id)=(442, 443, 4db307d9-adf6-4b6c-8779-da8bb2b92534) already exists.</div><div>CONTEXT:  SQL statement "UPDATE work_item_links SET deleted_at = NEW.deleted_at WHERE link_type_id = NEW.id"</div><div>PL/pgSQL function update_wil_after_wilt() line 3 at SQL statement</div><div>SQL statement "UPDATE work_item_link_types SET deleted_at = NEW.deleted_at WHERE NEW.name IN (source_type_name, target_type_name)"</div><div>PL/pgSQL function update_wilt_after_wit() line 3 at SQL statement</div></div><div><span style="background-color:rgb(245,246,245)">------------------x<---------------------x<-----------------x<-----------------</span><br></div><div><span style="background-color:rgb(245,246,245)"><br></span></div><div><span style="background-color:rgb(245,246,245)">Any idea how to fix this?</span></div><div><span style="background-color:rgb(245,246,245)"><br></span></div><div><span style="background-color:rgb(245,246,245)">Regards,</span></div><div><span style="background-color:rgb(245,246,245)">Baiju M</span></div><div><span style="background-color:rgb(245,246,245)"><br></span></div></div>