Results 1 to 2 of 2

Thread: Error when regular user creates Email Marketing record

  1. #1
    robertbmirth is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Irvine, CA
    Posts
    345

    Default Error when regular user creates Email Marketing record

    Hey all, I have a user trying to create and send an email campaign. When they go to create a new Email Marketing record, the following error happens:
    Error filling in user array: Query Failed: SELECT DISTINCT id, name as display from email_templates INNER JOIN team_sets_teams tst ON tst.team_set_id = email_templates.team_set_id INNER JOIN team_memberships team_memberships ON tst.team_id = team_memberships.team_id
    AND team_memberships.user_id = '{current_user_id}'
    AND team_memberships.deleted=0 where deleted=0 order by name: MySQL error 1052: Column 'id' in field list is ambiguous
    This doesn't happen when Ian admin user tries to create the record. Any ideas?

    *edit*

    I'm running Sugar Pro 6.2.1 on an OnDemand environment
    Last edited by robertbmirth; 2011-10-21 at 06:42 PM. Reason: adding information for my system
    Robert Beckman
    Software Engineer
    Mirth Corporation

  2. #2
    robertbmirth is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Irvine, CA
    Posts
    345

    Default Re: Error when regular user creates Email Marketing record

    I'm still having this issue, but as a temporary resolution, on SugarPro you can use the roles module to give users admin access to specific modules, so unless you have any reason to limit access to your Email Templates, you can just give the users sending email campaigns admin access to the Email Templates module via a role and it will resolve the issue.
    Robert Beckman
    Software Engineer
    Mirth Corporation

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mass Email Marketing, Drip Marketing, Social Marketing
    By bkahlert in forum General Discussion
    Replies: 0
    Last Post: 2011-09-15, 06:23 PM
  2. Replies: 6
    Last Post: 2011-06-27, 06:15 PM
  3. New regular user - smtp error
    By refuge in forum Help
    Replies: 1
    Last Post: 2011-01-07, 04:15 AM
  4. Regular User Problem
    By jbravo8212 in forum Developer Help
    Replies: 3
    Last Post: 2010-04-01, 02:52 PM
  5. Replies: 0
    Last Post: 2009-05-06, 06:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •