Skip to content

Renderer cannot render file without versions #283

@cvuorinen

Description

@cvuorinen

We have quite a lot of files so I disabled the OriginalVersionPlugin because we don't want to store each file twice since it requires double the disk space. But then the renderer cannot render them anymore because it requires a version. This is probably by design, but what would be the preferred solution to overcome this?

I was thinking either modify the renderer so it can also render a file without a version (call storage->retrieve instead of storage->retrieveVersion if version is empty), and I also thought about creating a version plugin that only symlinks instead of copies but since the version storing is handled by the Storage class it's not possible to change it from within the plugin.

I can make a PR of the modified renderer if you think it's reasonable solution. Or are there any other ways around this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions