Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.5
-
Fix Version/s: 4.6
-
Component/s: CiviContribute
-
Labels:None
-
Documentation Required?:None
Description
Can't be replicated on demo, but I replicated on HEAD just now. To replicate:
- Create a user without "View All Contacts" or "Edit All Contacts" permission.
- (Try to) run the Contribution summary Report.
You'll get:
DB Error: no such field
Database Error Code: Unknown column 'aclContactCache.user_id' in 'where clause', 1054
Reason being, $this->_aclFrom isn't being added to the "from" clause.
I'm pretty surprised this hasn't been caught sooner!
Anyway, I've got a fix in a local repo, I'll push a PR in a few minutes.