harvesting sometime doesn't work after empty mosaic creation

Description

An user reported that, sometime, creating an empty mosaic followed by granules harvest fails on harvesting via REST.
The problem is in imageMosaic code.

Environment

None

Assignee

Daniele Romagnoli

Reporter

Daniele Romagnoli

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure