Skip to content

[Storage config Bug] Project.prototype.getActiveStorageConnection #361

Open
@NelsonPereira1991

Description

@NelsonPereira1991

Dendro Version if known (or site URL)

master

Please describe the expected behaviour

In the function Project.prototype.getActiveStorageConnection at the project model, there should be a check related to the config object that is fetched from the graph after the callback of :

  • self.getActiveStorageConfig(function (err, config)

Please describe the actual behaviour

If the config is null, all the features related to the storage(uploads/etc) do not work.
The fact that the project does not have a storage config associated is in itself a bug.

Possible ways to fix the problem (programmers)

add a isNull(config) check and handle this specific case -> maybe default to a local storage config ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions