You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2015/12/02 21:39:10 UTC
[jira] [Created] (VCL-921) changing owner of an image can cause a
duplicate key error on resourcegroupmembers
Josh Thompson created VCL-921:
---------------------------------
Summary: changing owner of an image can cause a duplicate key error on resourcegroupmembers
Key: VCL-921
URL: https://issues.apache.org/jira/browse/VCL-921
Project: VCL
Issue Type: Bug
Components: web gui (frontend)
Reporter: Josh Thompson
Fix For: 2.5
When changing the owner of an image, permissions are automatically set up so that the new owner will be able to make a reservation for the image in case it has not yet been assigned to any additional image groups. As part of this, a query that inserts a record into the resourcegroupmembers table can cause a duplicate primary key error if the permissions have already been set up for the new owner. Changing "INSERT" to "INSERT IGNORE" will fix the problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)