flancer32 / mage2_ext_csp

Magento 2 module to collect CSP violations reports and to eliminate JS console warnings
GNU General Public License v3.0
54 stars 18 forks source link

Bug from 2.3.5-p1 #7

Closed netwolf103 closed 4 years ago

netwolf103 commented 4 years ago

Exception #0 (Exception): Notice: Undefined index: id in app\code\Magento\Config\Model\Config\Structure\Element\Iterator.php on line 63 Cause: mage2_ext_csp\etc\adminhtml\system.xml miss: <tab id="security" translate="label" sortOrder="200"><label>Security</label</tab>

flancer64 commented 4 years ago

Thanks for the report, @netwolf103 . I'm sorry for the late answer.

As I see, there are 2 modules where tab "security" is defined:

Probably, these modules are disabled in your case and this exception is arised.

Yes, you are right. I need add this line in system.xml.

Thanks!

flancer64 commented 4 years ago

Fixed in master branch. Thanks again.