Hi all,
I have a big problem.
Why this bug appears when the user is in 2 security groups? even if both security groups do not have any role?
I'm using SugarCRM 5.0.0f, it could be the version?
Query Failed:insert into securitygroups_records(id,securitygroup_id,record_ id,module,date_modified,deleted) select distinct '5a792fb2-760a-aec3-9987-4e3b17a3a434',u.securitygroup_id,'58e978c8-22c5-0735-7f81-4e3b17f4d905','Tasks',CURDATE(),0 from securitygroups_users u left join securitygroups_records d on d.securitygroup_id = u.securitygroup_id and d.record_id = '58e978c8-22c5-0735-7f81-4e3b17f4d905' and d.module = 'Tasks' and d.deleted = 0 where d.id is null and u.user_id = '9b212381-3bb7-87a3-eeaa-4e382e90d45c' and u.deleted = 0 ::MySQL error 1062: Duplicate entry '5a792fb2-760a-aec3-9987-4e3b17a3a434' for key 1
It's only this message because the record (query) it's done.
Please help!


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks