? Success

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
22 Oct 2016

Pull Request for Issue #11969 and other fringe cases

Summary of Changes

This PR is the result of debugging on two live sites with deadly fatal exceptions as per #11969

On code review it was clear this code was low quality, running two loops when one would have done, and also causes issues where there were no items to update, but yet we still tried to execute a query when there were no items to increment impmade to.. this causes a deadly JDatabaseExceptionExecuting, rearranging the code block to only run if needed fixes the exception issue.

Testing Instructions

Find a site where you get the deadly issue reported - apply patch - see its fixed - check that banners impressions are still logged

avatar PhilETaylor PhilETaylor - open - 22 Oct 2016
avatar PhilETaylor PhilETaylor - change - 22 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2016
Category Front End Components
avatar PhilETaylor
PhilETaylor - comment - 22 Oct 2016

@andrepereiradasilva fine, I'll do it the other way, it just doesnt make sense, but with a million banners on one page it will be more performant - yes - however I dont think many people have more than a handful on a page...

avatar PhilETaylor PhilETaylor - change - 22 Oct 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-10-22 13:45:53
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 22 Oct 2016
avatar PhilETaylor PhilETaylor - close - 22 Oct 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Oct 2016

@PhilETaylor i'm just saying this because #11716 was made to solve #11701

avatar PhilETaylor PhilETaylor - head_ref_deleted - 22 Oct 2016
avatar PhilETaylor
PhilETaylor - comment - 25 Oct 2016

Out at the waffle shop with the kids - will re PR when I get home

Sent from my iPhone

On 22 Oct 2016, at 15:15, andrepereiradasilva notifications@github.com wrote:

@PhilETaylor i'm just saying this because #11716 was made to solve #11701


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Add a Comment

Login with GitHub to post a comment