Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component name missing from message for COMPONENT_INVALID_NAME #248

Closed
mpaluchowski opened this issue Mar 7, 2017 · 1 comment
Closed

Comments

@mpaluchowski
Copy link
Contributor

Create the following file, name it with a lowercase letter, ie. foo.cfc:

component {
}

The issue COMPONENT_INVALID_NAME is correctly reported, however the message attribute contains:

Component name ${component} is not a valid name. Please use CamelCase and start with a capital letter.

with the missing substitution of the component's name for ${component}. Adding name="foo" to the component shows the same problem.

@mpaluchowski
Copy link
Contributor Author

mpaluchowski commented Mar 7, 2017

Same problem with COMPONENT_TOO_LONG, also shows a message missing the actual name:

Component name ${component} should be shorter than 15 characters.

and with other messages referencing ${component}.

ryaneberly added a commit that referenced this issue Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant