[CommandBox 6.2.0+00826] coldbox create orm-crud does not make index.cfm

Hi Everyone,

The coldbox create orm-crud command creates all the views except the index. Below is the error. I’ve updated Commandbox and coldbox-cli.

Thanks for all you do!

  • Annette

ERROR (6.2.0+00826)

Page /C__Users_[me]__CommandBox/cfml/modules/coldbox-cli/commands/coldbox/create/C:/Users/[me]/.CommandBox/cfml/modules/coldbox-cli/templates/crud/table.cfm [C:\Users[me].CommandBox\cfml\modules\coldbox-cli\commands\coldbox\create\C:\Users[me].CommandBox\cfml\modules\coldbox-cli\templates\crud\table.cfm] not found
C:\Users[me].CommandBox\cfml\modules\coldbox-cli\commands\coldbox\create\orm-crud.cfc: line 135
133: // Build table output for index
134: savecontent variable=“local.tableData” {
135: include “#variables.settings.templatesPath#/crud/table.cfm”;
136: }
137: tableData = replaceNoCase(
called from C:\Users[me].CommandBox\cfml\system\services\CommandService.cfc: line 443
called from C:\Users[me].CommandBox\cfml\system\services\CommandService.cfc: line 225
called from C:\Users[me].CommandBox\cfml\system\Shell.cfc: line 865
called from C:\Users[me].CommandBox\cfml\system\Shell.cfc: line 680
called from C:\Users[me].CommandBox\cfml\system\Bootstrap.cfm: line 165

lucee.runtime.exp.MissingIncludeException: Page /C__Users_[me]__CommandBox/cfml/modules/coldbox-cli/commands/coldbox/create/C:/Users/[me]/.CommandBox/cfml/modules/coldbox-cli/templates/crud/table.cfm [C:\Users[me].CommandBox\cfml\modules\coldbox-cli\commands\coldbox\create\C:\Users[me].CommandBox\cfml\modules\coldbox-cli\templates\crud\table.cfm] not found

cc @lmajano can you take a look at this

I cannot replicate this @Annette . The weird thing I see is your path where it has blanks for your username. Not sure whats up with that. But I cannot replicate this on two different machines.

Thank you for checking. I’ll use a different machine.