CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Enabling Logging - viewing changes CiviCRM 3.4.7 bug and Patch
Pages: [1]

Author Topic: Enabling Logging - viewing changes CiviCRM 3.4.7 bug and Patch  (Read 933 times)

Parvez

  • I post occasionally
  • **
  • Posts: 91
  • Karma: 7
Enabling Logging - viewing changes CiviCRM 3.4.7 bug and Patch
January 29, 2012, 08:56:06 am
Hi Guys

After enabling logging in CiviCRM 3.4.7 we were not able to see the details of the changes made. Digging into the code a little the problem was due to a fault in the CRM/Logging/Differ.php class.

It was trying to build a option group list for all string field types. Simple fix was to check if an option group existed for the custom field prior to trying to build the option list.

Patch is attached, couldn't get into http://issues.civicrm.org

Thanks

Parvez
www.vedaconsulting.co.uk

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Enabling Logging - viewing changes CiviCRM 3.4.7 bug and Patch
January 29, 2012, 10:38:57 am
Issue tracker should be working now..

Kurund
Found this reply helpful? Support CiviCRM

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Enabling Logging - viewing changes CiviCRM 3.4.7 bug and Patch
February 01, 2012, 03:44:26 pm
Issue filed w/ patch attached : http://issues.civicrm.org/jira/browse/CRM-9588

Parvez - Please edit this issue to provide steps to replicate this bug. Once you've posted that, you can move to QA and assign to me. I'll commit the patch after verifying before and after behavior.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Enabling Logging - viewing changes CiviCRM 3.4.7 bug and Patch

This forum was archived on 2017-11-26.