Describe the bug
Running:
wheels validatereports an error for the default Model.cfc file:
Validation found 1 issue(s):
[ERROR] Model.cfc — Model.cfc does not extend Model
However, the default generated Model.cfc already correctly extends wheels.Model. Current Model.cfc
/**
* This is the parent model file that all your models should extend.
* You can add functions to this file to make them available in all your models.
* Do not delete this file.
*/
component extends="wheels.Model" {
}
To Reproduce
Steps to reproduce the behavior:
- Create a fresh Wheels application
- Run:
- Observe validation error for Model.cfc
Expected behavior
One of the following should happen:
Option 1 (preferred)
Model.cfc should be excluded from this validation entirely since it is the framework base model.
Option 2
If validated, the file should pass validation because:
component extends="wheels.Model"
is valid and intentional.
Actual behavior
The validator reports:
Model.cfc does not extend Model
even though it extends:
Desktop
Describe the bug
Running:
wheels validatereports an error for the defaultModel.cfcfile:However, the default generated Model.cfc already correctly extends
wheels.Model. CurrentModel.cfcTo Reproduce
Steps to reproduce the behavior:
Expected behavior
One of the following should happen:
Option 1 (preferred)
Model.cfcshould be excluded from this validation entirely since it is the framework base model.Option 2
If validated, the file should pass validation because:
is valid and intentional.
Actual behavior
The validator reports:
even though it extends:
Desktop