Skip to content

requirejs-config.js generated in wrong folder #7680

Closed
@steros

Description

@steros

Preconditions

  1. Magento 2.1.2
  2. PHP 7.0

Steps to reproduce

  1. activate all security measures during setup
  2. Delete pub/static folder
  3. run bin/magento setup:static-content:deploy

Expected result

  1. requirejs-config.js is requested for "https://www.testing.com/shop/pub/static/_requirejs/adminhtml/Magento/backend/en_US/secure/requirejs-config.js"

Actual result

  1. it is generated one folder above that secure folder and thus not found and thus the backend is not working as expected
    (copying the generated requirejs-config.js to the subfolder /secure/ fixes the backend)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions