Closed bwlng closed 8 years ago
Creating a Service with a blank name on v1.1.18 causes an error (Cannot read property 'toLowerCase' of undefined) due to this bit on line 33 of /app/templates/api_version_2_5/services/_Service.php
Cannot read property 'toLowerCase' of undefined
/app/templates/api_version_2_5/services/_Service.php
<%= "_" + serviceName[index][1].toLowerCase() + serviceName[index].slice(2) %>
I worked around it by temporarily removing that portion of the code, but don't know what the proper fix is to contribute.
Ooopsie, I'll fix it, thanks.
This is fixed in 1.1.19, and I pushed it to pluginfactory.io
https://github.com/nystudio107/generator-craftplugin
Thank you, works like a charm :)
Creating a Service with a blank name on v1.1.18 causes an error (
Cannot read property 'toLowerCase' of undefined
) due to this bit on line 33 of/app/templates/api_version_2_5/services/_Service.php
I worked around it by temporarily removing that portion of the code, but don't know what the proper fix is to contribute.