mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #61] "Semantical error" exception when accessing certain pages as admin #50
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Mar 1, 2014).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/61
When accessing the Archives or Mailboxes view with a normal Admin account (NOT Super Admin), you will get an exception:
Looking at the referenced code usually reveals code like this:
When comparing with views that do work with normal admin accounts, the only difference is the where clause, which is 'd2a = ?1' in views that do work, and 'd2a.Admin = ?1' in views that do throw the error. Removing the ".Admin" will fix the error. Though I am not experienced enough with the used frameworks to figure out whether or not that's safe.
@barryo commented on GitHub (Mar 3, 2014):
It would indeed.