Closed
Description
Preconditions
- Magento 2.3.3
- Swagger module installed
The following console error shows up when navigating to the swagger page on a blank Magento2.3.3: require.config is not a function
This is because requirejs-config block got removed from the layout file for the swagger index page.
An easy fix would be to also add the following line to the layout file, but I don't know whether that is the best solution.
<referenceBlock name="theme.active.editor" remove="true" />
This block is coming Ui module, and is defined in the default.xml
file which results to be loaded on every page.
Steps to reproduce
- Go to /swagger endpoint on Magento 2.3.3
Expected result
- No console errors
Actual result
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates that Pull Request has been created to fix issueThe issue has been reproduced on latest 2.3 release