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

Adminhtml / Menu #109

Closed
vfranz opened this issue Oct 26, 2012 · 1 comment
Closed

Adminhtml / Menu #109

vfranz opened this issue Oct 26, 2012 · 1 comment

Comments

@vfranz
Copy link

vfranz commented Oct 26, 2012

<config>
    <menu>
        <add id="MyCompany_MyModule::module" title="Modul" module="MyCompany_MyModule" resource="MyCompany_MyModule::foo"/>
    </menu>
</config>

Param resource doesn't pass validation: 'MyCompany_MyModule::foo' does not match against pattern '/^[A-Z]+[a-z0-9]{1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}$/'

0 app\code\core\Mage\Backend\Model\Menu\Item.php(175): Mage_Backend_Model_Menu_Item_Validator->validate(Array)
1 app\code\core\Mage\Core\Model\Config.php(1322): Mage_Backend_Model_Menu_Item->__construct(Array)
2 app\code\core\Mage\Backend\Model\Menu\Item\Factory.php(148): Mage_Core_Model_Config->getModelInstance('Mage_Backend_Mo...', Array)
3 ...

'/^[A-Z]+[a-z0-9]{1,}[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}$/' -> '/^[A-Z]+[A-Z0-9a-z]{1,}[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}$/'

??

@magento-team
Copy link
Contributor

@vfranz
The issue duplicates #79, which has been fixed already. Underlying code changes will become available on the GitHub upon one of the next merges from the internal repository.

Closing as duplicate

magento-team pushed a commit that referenced this issue Feb 27, 2015
okorshenko pushed a commit that referenced this issue Nov 12, 2015
MAGETWO-44700: Docblock issues blocks testing tools to work
magento-engcom-team pushed a commit that referenced this issue Apr 13, 2018
Update zendframework/zend-code

The build failure immediately prior to this was a red herring because of a timeout in Travis, other builds jobs are green
magento-engcom-team added a commit that referenced this issue Jul 19, 2018
…with Export Type UI #109

 - Merge Pull Request magento-engcom/import-export-improvements#109 from dmanners/import-export-improvements:export-ui-fix
 - Merged commits:
   1. 64d0927
magento-engcom-team pushed a commit that referenced this issue Sep 11, 2018
magento-engcom-team pushed a commit to okorshenko/magento2 that referenced this issue May 9, 2019
slavvka pushed a commit that referenced this issue May 4, 2020
[WIP]Log admin actions with Login as Customer.
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

2 participants