You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys
I'm not sure that it is a bug, but i unable to execute any migrations by CFWheels debug migrator interface.
I create a simple migration create_table_roles.cfc with only 1 field then i throw the migration with the debug interface, but then when i run the code i obtain this error:
................................................................................
Preview SQL
Note
This preview is what this migration file would have executed in the current context. So if you're trying to add a record to a table which doesn't yet exist (for instance), this will correctly throw an error.
Migration Version : 20230902000000
Up()
The key [CFC] does not exist, only the following keys are available: [CFCFILE, DETAILS, LOADERROR, NAME, STATUS, VERSION].
Down()
The key [CFC] does not exist, only the following keys are available: [CFCFILE, DETAILS, LOADERROR, NAME, STATUS, VERSION].
................................................................................
This is the migration:
................................................................................
The error happen in this function: /wheels/migrator/function.cfm and the offending code is: local.migration.cfc = $createObjectFromRoot( path = this.paths.migrateComponents, fileName = local.migration.cfcfile, method = "init" );
This code causes an exception, leading to the local.migration.cfc variable not being defined which show the above message.
Is it a bug or I'm doing something wrong?
CFWheels 2.4
Lucee 5.4.2.17
MariaDB 1:10.11.4+maria~ubu2204 (i try olso with MySql 5.7.43-1.el7 but obtain same errors).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys
I'm not sure that it is a bug, but i unable to execute any migrations by CFWheels debug migrator interface.
I create a simple migration create_table_roles.cfc with only 1 field then i throw the migration with the debug interface, but then when i run the code i obtain this error:
................................................................................
Preview SQL
Note
This preview is what this migration file would have executed in the current context. So if you're trying to add a record to a table which doesn't yet exist (for instance), this will correctly throw an error.
Migration Version : 20230902000000
Up()
The key [CFC] does not exist, only the following keys are available: [CFCFILE, DETAILS, LOADERROR, NAME, STATUS, VERSION].
Down()
The key [CFC] does not exist, only the following keys are available: [CFCFILE, DETAILS, LOADERROR, NAME, STATUS, VERSION].
................................................................................
This is the migration:
................................................................................
................................................................................
The error happen in this function: /wheels/migrator/function.cfm and the offending code is:
local.migration.cfc = $createObjectFromRoot( path = this.paths.migrateComponents, fileName = local.migration.cfcfile, method = "init" );This code causes an exception, leading to the local.migration.cfc variable not being defined which show the above message.
Is it a bug or I'm doing something wrong?
CFWheels 2.4
Lucee 5.4.2.17
MariaDB 1:10.11.4+maria~ubu2204 (i try olso with MySql 5.7.43-1.el7 but obtain same errors).
Thank
Beta Was this translation helpful? Give feedback.
All reactions