Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

self::$jobsTable Is Never Set When DJJob::setConnection() Is Called #32

Open
ojtibi opened this issue Feb 12, 2014 · 2 comments
Open

self::$jobsTable Is Never Set When DJJob::setConnection() Is Called #32

ojtibi opened this issue Feb 12, 2014 · 2 comments
Assignees

Comments

@ojtibi
Copy link

ojtibi commented Feb 12, 2014

Based on the default functionality of the CakeDjjob behavior, CakeDjjob will call for DJJob::setConnection() without setting self::$jobsTable. It might be useful if DJJob::setConnection() has an optional parameter named $jobsTable that defaults with the value 'jobs'. There should be a line inside DJJob::setConnection() that will set self::$jobsTable = $jobsTable. Right now, since self::$jobsTable is empty, I'm getting errors like the screenshot attached here.
screen shot 2014-02-12 at 5 37 17 pm

@josegonzalez
Copy link
Contributor

@ojtibi CakeDjjob never pegged itself to a released version of Djjob. I'll get both of the projects within composer today/tomorrow and fix the CakeDjjob integration. My bad.

@ojtibi
Copy link
Author

ojtibi commented Feb 17, 2014

Sounds good, thanks!

@josegonzalez josegonzalez self-assigned this Feb 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants