Project

General

Profile

Actions

Bug #3081

closed

Date fields report false positive updates

Added by nant over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08 December 2011
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

When you update a profile and it havs null date fields the fields are reported as being updated mainly because the 0000-00-00 value is populated in the database.

As reported here:
https://www.joomlapolis.com/forum/153-professional-member-support/184739-profile-update-logger-a-empty-date-fields

I am not sure there is anything that can be done, but opening ticket to investigate.

Actions #1

Updated by nant over 12 years ago

  • Status changed from New to Assigned
  • Assignee set to nant
  • Target version set to 1.3

Looks like for (empty) dates:

old value = "0000-00-00" but new value is null

Will have to figure out an exception.

Actions #2

Updated by nant over 12 years ago

  • Estimated time set to 1:00 h

Testing a simple filter fix:

default:
if (($oB->$sKey != "0000-00-00") AND ( $oA->$sKey != null )) { // empty date exception
$retArr[] = array($sKey, $oB->$sKey, $oA->$sKey);
}
Actions #3

Updated by nant about 12 years ago

The fix should go around line 589 of the cb.pulog.php file

Actions #4

Updated by nant about 12 years ago

  • Status changed from Assigned to Resolved

fixed r761

Actions #5

Updated by nant about 12 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by nant almost 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF