Skip to content

Camel Case Directories Not Allowed in Module Package Names #79

Closed
@Prattski

Description

@Prattski

I have been working on porting over some of my modules to Magento 2 to get a head start on Magento 2 module development. I was having a really difficult time getting the adminhtml menu items to display. I was following the example in the Mage_Cms module. I was getting an error that stated, "Param resource doesn't pass validation".

I posted it on Twitter, and @mzeis sent an example of his attempt with admin menus and it worked fine for him.

The only difference that I could tell between our code was the our module package names. My module was named "LyonsCore_Core" and his was "Emzee_BackendTest".

So, I tried to rename my module to "Lyonscore_Core" (no camel case in the package name), and then it worked just fine.

So, this is either a bug, or something needs to specify that camel case directories are not allowed as module package names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions