[NPMCLI-24] Cannot create a component with dash in name Created: 14/Jul/16  Updated: 22/Aug/16  Resolved: 18/Jul/16

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: None
Fix Version/s: 0.0.1

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

create-component fails if the name of the new component contains a dash

ok. test$ mgnl create-component flickr-component
INFO: No path option provided, component will be created in the current folder.
Error: flickr-component doesn't match definitionId pattern


 Comments   
Comment by Christoph Meier [ 15/Jul/16 ]

czimmermann,
this issue is actually already captured by NPMCLI-23.
All the problems related to - in the template name are "summarized" in NPMCLI*23 (according to tgregovsky, however, its ticket name should better reflect - but it would lead to a very long ticket name ),

Comment by Christopher Zimmermann [ 18/Jul/16 ]

Duplicates NPMCLI-23

Generated at Mon Feb 12 04:45:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.