Skip to content

TypeError when no resize service defaults specified in config file #23

@AndyPyeSC

Description

@AndyPyeSC

If ENV in config/environment.js does not contain a resizeServiceDefaults entry, the line

var injectionFactories = resizeServiceDefaults.injectionFactories;

in initializers/resize.js throws a TypeError since resizeServiceDefaults is undefined. I would expect that defaults would be provided if no resizeServiceDefaults were specified.

A TypeError is also thrown if injectionFactories is not specified in resizeServiceDefaults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions