redmine issue #5686