Skip to content

'Include category folder' does not create folders #9

@Finetuned

Description

@Finetuned

After enabling staticsaver.include_category in the system settings, folders are not automatically created on disk. If I prefix the generated filename with "foldername/", the folder is created.

Replicated on v2.2.15 and 2.3.1

It seems that the following lines in staticsaver.js are the issue as if the condition is true only the chunk name is used:

if (staticFile.getValue() == '') {
            setValue(staticFile, nameInput.getAttribute('value'));
        } else {
            getRequest();
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions