SD-269 : error when setting image metadata