EDOC-1023
reproduced testcase