Skip to content

Theme with no static files won't get deployed #7569

Closed
@davidverholen

Description

@davidverholen

see #4725

Preconditions

  1. Magento 2.1.2

Steps to reproduce

  1. Create a new Theme with any parent
  2. Do not add any static files

Expected result

  1. Theme will get deployed with static files from parent theme

Actual result

  1. theme does not get deployed
  2. setup:static-content:deply --theme=Any/theme results in error

In the deploy command, the installed themes are determined by collecting all themes from all static files. If a theme does not have static files it will not get deployed

adding any static file to the theme can be used as a workaround

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendFixed in 2.1.xThe issue has been fixed in 2.1 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions