Closed (cannot reproduce)
Project:
Scheduler
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 03:05 UTC
Updated:
8 Jul 2013 at 11:10 UTC
This is more of an annoyance than anything if you display schema on status report, mismatches cause it to display non-green status.
scheduler
column nid - difference on: default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)
Comments
Comment #1
eric-alexander schaefer commentedI cannot reproduce this. The schema definition for D6 and D7 versions of scheduler are identical. The should be no mismatch. Can you try to repoduce the behavior and post the steps?
Comment #2
Starminder commentedThis was on a fairly large 6.2 site upgraded to 7.0. This may have been a pre-existing condition from who knows when. Am using schema module "compare" function. It gets reported there as a mismatch.
On a new D7 site the mismatch does not occur, but I am getting:
Notice: Undefined offset: 0 in scheduler_list() (line 444 of /home/hoslot5/public_html/sites/all/modules/scheduler/scheduler.module) when trying to view scheduled nodes.
Unfortunately I don't have another upgrade site to compare to (yet) but will see if it is isolated to just this site.
Comment #3
jonathan1055 commentedHi,
The problem with scheduler_list() is unrelated, and discussed in #1124276: Undefined offset: 0 in scheduler_list_access_callback().
Jonathan
Comment #4
jaydub commentedCannot reproduce either. I took a d6 install and upgraded to d7 and schema shows up as consistent.
Comment #5
jonathan1055 commentedHi jaydub,
Couple of questions:
1. What D6 version did you start with? (not sure that makes a difference though)
2. When you had consistent schemas, does it show which of the two in the original post yours matches with, ie with or without 'default => 0'
Jonathan
Comment #6
jonathan1055 commentedJust checked scheduler.install for D6 and D7. Neither of them have default 0 for nid in the scheduler table, and there are no updates which alter this. Hence I suspect that the 'actual' default value 0 in the table above was due to a manual change, or some other external db work.
Two years after the initial posting, and one year eight months since last update, marking this as 'closed cannot reproduce'.
Jonathan