Results 1 to 4 of 4

Thread: Problem with email template showing change in assigned user

  1. #1
    kwoitena is offline Member
    Join Date
    Dec 2008
    Location
    San Antonio, TX
    Posts
    16

    Default Problem with email template showing change in assigned user

    In the email template, at least in version 4.5.1, when we wanted an email sent out to report that an account had changed between one user and another, we would use this string:
    Code:
    Account {::future::Accounts::name::} was changed from {::past::Accounts::Users::full_name::} to {::future::Accounts::Users::full_name::}
    What we're seeing now in 5.0.0i when the email is sent out is:
    Code:
    The account Indoff was changed from {::past::Accounts::Users::full_name::} to Tara
    What is taking place is, Tara is modifying the account assigning it to another user, Vanessa and the code for
    Code:
    {::past::Accounts::Users::full_name::}
    is not displaying any information.

    These changes were made to the template because the old templates from 4.5.1 were displaying the long string of characters found in the database key and were unintelligible to all of our users.

    I guess the question I'm trying to answer is: what is the proper string to display the full name (or even user name) of who accounts were assigned to previously and who they are assigned to presently when that change happens?

    We are running:
    • CentOS 5.2
    • Sugar 5.0.0i Pro
    • Apache 2.2.3
    • PHP 5.2.6
    • MySQL 5.0.58

  2. #2
    kwoitena is offline Member
    Join Date
    Dec 2008
    Location
    San Antonio, TX
    Posts
    16

    Default Re: Problem with email template showing change in assigned user

    This bug appears to be fixed in the 5.2.0a release. We're currently testing to verify.

  3. #3
    kwoitena is offline Member
    Join Date
    Dec 2008
    Location
    San Antonio, TX
    Posts
    16

    Default Re: Problem with email template showing change in assigned user

    I tested it in the 5.2.0a release and the problem still exists. There are some updates to this problem. Now, if I have more than 2 triggers (i.e. if the assigned to field is changed, and is changed by a specific user) then the workflow does not execute. The email sent out in the Alerts Template is still either showing the code {:ast::Accounts::assigned_user_name::} or nothing at all.

  4. #4
    kwoitena is offline Member
    Join Date
    Dec 2008
    Location
    San Antonio, TX
    Posts
    16

    Default Re: Problem with email template showing change in assigned user

    I've narrowed down a sort-of fix to this. In 5.2.0a, I can set
    Code:
    {::future::Accounts::assigned_user_name::}
    and get the current user the account is assigned to. The string
    Code:
    {::past::Accounts::assigned_user_name::}
    displays nothing. I'd like to take a look in the code to see where these queries to the DB are defined. Does anyone know where to find these?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2008-10-14, 06:23 PM
  2. Email not sent when task assigned to a user
    By shankarsonic in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-07-29, 08:51 PM
  3. Automatic email to assigned user
    By visucr in forum General Discussion
    Replies: 0
    Last Post: 2008-07-16, 02:30 PM
  4. Automatic email to assigned user
    By visucr in forum Help
    Replies: 0
    Last Post: 2008-07-16, 02:27 PM
  5. All Email Search by Assigned User
    By diegofliess in forum Developer Help
    Replies: 1
    Last Post: 2006-03-29, 03:56 PM

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
  •