Results 1 to 8 of 8

Thread: How do I audit Email Address Changes

  1. #1
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default How do I audit Email Address Changes

    I edited vardefs.php for the Accounts and Contacts modules and have auditing working well, but email addresses have their own module and are always in a sub-panel, so I can't figure out how to enable Email Address Change Log Auditing.

    I followed the include files in vardefs.php in the EmailAddresses module and editted metadata/email_addressesMetaData.php to turn on auditing there. I also turned on auditing in the Accounts module under the field definition for 'email_addresses' (which is a link).

    All this resulted in Accounts Change Log listing Email Address(es) as an audited field in the Change Log Window, but no changes to Email Addresses show up in the change log. It also resulted in the table email_addresses_audit being created in MySQL.

    Per clint here http://www.sugarcrm.com/forums/showthread.php?t=4664 Email Addresses were supposed to be one of the original fields that was audited under Accounts, but I couldn't find any other reference to auditing emails in my Forum searches.

    What else do I have to do to turn this on.

    Thanks

    Phil

  2. #2
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: How do I audit Email Address Changes

    Does anyone have any info on this?

    Tx, Phil

  3. #3
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: How do I audit Email Address Changes

    First of all, make backup copies of any file you make changes to BEFORE you make changes to it.

    Do not make any changes to the Email Addresses module. Under the contacts module, edit the vardefs.php add the following line in the primary_email_address section;

    'audited' => true

    I assume the same would apply to the relevant column in the accounts module.

  4. #4
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: How do I audit Email Address Changes

    Thanks for the response.

    I always keep backup copies and the system isn't live yet. (I actually replace the data every night with an automated back end script from our old CRM until I get all my tools working.)

    Anyway, I had already added 'audited'=>true under email_address, but tried it under primary just to be sure it didn't behave differently.

    Change Log shows Email Address(es) as an audited field, but no changes to email addresses show up in the change log. This is true for both Accounts and Contacts.

    Other changes (such as address changes) are logged perfectly for both modules based on similar edits to vardefs.

    I'm assuming the issue is with the field definitions being for links to other modules. Any other ideas?

    Thanks

    Phil

  5. #5
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: How do I audit Email Address Changes

    Anyone have an answer on this?

    Any suggestions what to look for or try in order to debug it?

    Thanks

    Phil

  6. #6
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: How do I audit Email Address Changes

    Upgrading to 5.0.0c seems to have removed this ability for me as well. Is this a bug?

  7. #7
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: How do I audit Email Address Changes

    I just created bug number 21116 for this.

    http://www.sugarcrm.com/crm/?option=...6-47fe8fcc5195

  8. #8
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: How do I audit Email Address Changes

    Sugar responded on this thread http://www.sugarcrm.com/forums/showthread.php?t=31765

    They said this was no longer supported on 5.0 and didn't respond to my question about a timeframe to support it.

    I agree it is really a bug since it was possible in prior versions, so let me know if you get any response.

    Phil

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Replies: 4
    Last Post: 2011-02-15, 05:46 PM
  3. email marketing feature requests
    By maxsutter in forum Feature Requests
    Replies: 1
    Last Post: 2008-10-11, 10:19 AM
  4. Replies: 1
    Last Post: 2008-05-14, 08:29 AM
  5. Second email address for contact bug
    By dcharman in forum General Discussion
    Replies: 0
    Last Post: 2005-12-28, 03:53 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
  •