? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
12 Jun 2016

Summary of Changes

Adds the database query that is being executed as a property to the new JDatabaseExceptionExecuting exception object which makes the query available when catching this type of exception.

Testing Instructions

On a database error that throws a JDatabaseExceptionExecuting object (so a SQL error), the query should be available via $e->getQuery().

B/C Concerns

This changes the constructor arguments of JDatabaseExceptionExecuting so that the query is a required argument and the first argument of the constructor. This is a new class to 3.6 so it has not been present in a stable release yet, however it is a breaking API change during the beta phase.

avatar mbabker mbabker - open - 12 Jun 2016
avatar mbabker mbabker - change - 12 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 13 Jun 2016
Category Libraries
avatar wilsonge wilsonge - change - 13 Jun 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-13 19:12:54
Closed_By wilsonge
avatar wilsonge wilsonge - close - 13 Jun 2016
avatar wilsonge wilsonge - merge - 13 Jun 2016
avatar wilsonge wilsonge - reference | 760559d - 13 Jun 16
avatar wilsonge wilsonge - merge - 13 Jun 2016
avatar wilsonge wilsonge - close - 13 Jun 2016
avatar mbabker mbabker - head_ref_deleted - 13 Jun 2016
avatar zero-24
zero-24 - comment - 13 Jun 2016

@wilsonge @brianteeman please add a milestone. ;)

avatar brianteeman brianteeman - change - 13 Jun 2016
Milestone Added:

Add a Comment

Login with GitHub to post a comment