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) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • JavaScript-driven edits to contacts not appearing in Change Log
Pages: [1]

Author Topic: JavaScript-driven edits to contacts not appearing in Change Log  (Read 368 times)

nickholden

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.32
  • PHP version: 5.4
JavaScript-driven edits to contacts not appearing in Change Log
November 22, 2013, 07:02:17 am
When edits are made to a contact record using the pop-up edit forms for the sections of the contact record ("Edit address", "Edit info", etc), those changes do not appear to make an entry into the Change Log. If this is correct, the Change Log is no longer an auditable record of all changes to contact records. Is this a bug?


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: JavaScript-driven edits to contacts not appearing in Change Log
November 22, 2013, 07:56:03 am

i just checked in 4.4.2 and it does seem to be adding a change record to the change log

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

nickholden

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.32
  • PHP version: 5.4
Re: JavaScript-driven edits to contacts not appearing in Change Log
November 22, 2013, 08:20:25 am
Sorry, lobo, on further testing, I needed to be more specific.

It's when editing the custom data that the event doesn't get added to the Change Log. I've checked on the demo site (drupal 7) and the same behaviour is evident. Editing custom data through the JavaScript pop-up does not write to the change log, editing custom data through the edit screen does.

Richard Bramley

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Drupal 7
  • MySQL version: 5.6.13
  • PHP version: 5.4.16
Re: JavaScript-driven edits to contacts not appearing in Change Log
December 02, 2013, 03:17:11 am
I have experienced a similar problem.  A hook_civicrm_pre method that is called when editing custom values through a normal form is not called when editing the same custom values through an inline AJAX form.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • JavaScript-driven edits to contacts not appearing in Change Log

This forum was archived on 2017-11-26.